Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOSCAM Controls return HTTP Error 401: Unauthorized #366

Open
dnalloheoj opened this issue Jun 4, 2014 · 4 comments
Open

FOSCAM Controls return HTTP Error 401: Unauthorized #366

dnalloheoj opened this issue Jun 4, 2014 · 4 comments

Comments

@dnalloheoj
Copy link

The feed from the IP camera seems to work fine, but none of the controls work at all.

Gives me a 401: Unauthorized every time. 100% certain it's not a credentials issue.

Jun-04 14:34:01 :: DEBUG :: IPCamera Error :: Error on control_base -> ir_on call :: HTTP Error 401: Unauthorized
Jun-04 14:33:56 :: DEBUG :: IPCamera Error :: Error on control_base -> center call :: HTTP Error 401: Unauthorized
Jun-04 14:33:53 :: DEBUG :: IPCamera Error :: Error on control_base -> right_stop call :: HTTP Error 401: Unauthorized
Jun-04 14:33:52 :: DEBUG :: IPCamera Error :: Error on control_base -> right call :: HTTP Error 401: Unauthorized
Jun-04 14:33:49 :: DEBUG :: IPCamera Error :: Error on control_base -> set_preset_2 call :: HTTP Error 401: Unauthorized
Jun-04 14:33:49 :: DEBUG :: IPCamera Error :: Error on control_base -> set_preset_1 call :: HTTP Error 401: Unauthorized

@Hellowlol
Copy link

Works fine here. Does it work if you login and call path to ipcamera /decoder_control.cgi?command=26 in your browser? The code is based on a foscam clone. What model do you have?

@dnalloheoj
Copy link
Author

Not sure exactly what is meant by the call path to ipcamera part, but I added the '/decoder_control.cgi?command=26' string to the end of the URL when controlling via the Foscam interface, and it returns a page that simply says "ok."

All the controls work fine via the Foscam's web interface, as well as in my Synology Surveillance Center, so I don't think it's an issue with the camera itself.

I'm using a FI8910W.

@Hellowlol
Copy link

Watch the camera feed at the same time. Does the camera move? You can't trust the response from the camera

Den 5. juni 2014 kl. 02:22 skrev dnalloheoj [email protected]:

Not sure exactly what is meant by the call path to ipcamera part, but I added the '/decoder_control.cgi?command=26' string to the end of the URL when controlling via the Foscam interface, and it returns a page that simply says "ok."

All the controls work fine via the Foscam's web interface, as well as in my Synology Surveillance Center, so I don't think it's an issue with the camera itself.

I'm using a FI8910W.


Reply to this email directly or view it on GitHub.

@dnalloheoj
Copy link
Author

I assume you're asking if despite the error messages, the camera still works?

It does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants