D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-2630L => Topic started by: remoteCamsFarAway on June 05, 2016, 02:14:59 PM

Title: Video Clip ..... 417 - Expectation Failed
Post by: remoteCamsFarAway on June 05, 2016, 02:14:59 PM
I have a pair of 2630L cameras at a remote location.  I'm unable to set up the video clip option.  When remotely accessing advanced settings through myDlink.com I have the choices of Motion, Schedule, Always, and Sound.  I'm trying to have it send me video clips on a motion trigger.  If I leave the pulldown menu set to Always it will take my settings and will very frequently send me short video clips.  If I choose any other selection and click SAVE it will fail with "417 - Expectation Failed".  Similarly, if I try do uncheck the Video Clip checkbox I also get the error.  The only way I can stop the camera from continuously sending me video clips is to put a bad password in the email settings while selecting ALWAYS.

Pulling from a web site to explain this error:

417 Status Code Explained
The 417 status code means that the server was unable to properly complete the request. The server cannot meet the requirements of the Expect request-header field.

Why it occurs
The Expect request-header field is used to indicate that particular server behaviors are required by the client. The server could not execute these expectations. One of the headers sent to the server, the "Expect" header, indicated an expectation the server could not meet.

Fixing 417 Error Code
The problem can only be resolved by examining what the client is trying to do and then discussing with your ISP why the Web server fails the 'Expect' request sent by the client system. If you are monitor your website through 100pulse, we will intimate whenever you encounter 417 status code error through e-mail or Short message service.

Note that my DSL connection at the remote site is only a 1Mb/s connection though my connection here in the states is very fast.  I don't know if the slow connection has something to do with it but it sounds like it has something to do with communication/timing between my remote 2630L camera and the myDlink server.

If the problem is in the myDlink server then I might be able to work around it by adding port forwarding in my router to my cameras to resolve the issue.  Won't have the opportunity to try that for about a month.  In the mean time does anyone have any ideas?
Title: Re: Video Clip ..... 417 - Expectation Failed
Post by: Doctor Doom on June 06, 2016, 09:05:22 AM
My preliminary guess is that you will need to either do a port forwarding temporarily to set it up, log in locally or VPN in if that's an option with a VPN router. I find that some advanced features don't always behave well through the mydlink.com portal's advanced settings. There are some limitations on what can be done through that method.

I would try another browser anyway if you can. That might actually behave better through that method.
Title: Re: Video Clip ..... 417 - Expectation Failed
Post by: remoteCamsFarAway on June 06, 2016, 06:20:41 PM
Thanks for your response Doctor!  I suspect it will work locally though I didn't try it when I was on-site in March.  I suspect that using the port-forwarding approach will also fix the problem since it wouldn't go through myDlink.  Will let you know toward the end of this month.
Title: Re: Video Clip ..... 417 - Expectation Failed
Post by: FurryNutz on June 07, 2016, 06:41:34 AM
Passed this on to D-Link for review as well. Live view shouldn't be accessible from the Advanced Settings back end however we believe your configuration methods should be. There checking on it.
Title: Re: Video Clip ..... 417 - Expectation Failed
Post by: remoteCamsFarAway on June 07, 2016, 06:31:58 PM
Thanks! :)
Title: Re: Video Clip ..... 417 - Expectation Failed
Post by: remoteCamsFarAway on July 16, 2016, 09:10:29 AM
Set up port forwarding in my router to the cameras.  Can now directly access camera's web page without going through myDlink.  Problem solved.
Title: Re: Video Clip ..... 417 - Expectation Failed (RESOLVED)
Post by: FurryNutz on July 16, 2016, 12:26:52 PM
Awesome, glad you got it working. Enjoy.