Author Topic: Wansview W2 - set-up authorization error - i'm stumped!?!  (Read 2572 times)

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Wansview W2 - set-up authorization error - i'm stumped!?!
« on: January 05, 2017, 03:20:06 AM »
As an iCamsource (and iCam) user for the past 4 years, I have had 4x FI8910W's all running smoothly without problem. iCamsource runs on my iMac and iCam on my iPhone, all over my home Wifi Network.

This week I decided to add a new external camera to the system, I ordered a Wansview W2 (specs at the bottom of the page), used the proper URL's and set it up just like the existing foscam's, but no matter what I do I just get a 401 webcam authorization error in iCamsource, telling me the u/n and p/w to the Wansview is wrong.

I can access the camera pictures through my browser and I've tested it on the Wansview app, and it works without problem. I've changed and changed back the camera u/n and p/w, reset them, reset the camera totally etc, but nothing seems to work.

I've tried to get a working picture form this page: http://skjm.com/icam/mjpeg_test.php but none of them gives me a response, all URL's error.

The wansview uses H.264/MJPEG so I assumed (perhaps incorrectly?) that it would work with iCamsource.

Any advice would be welcomed.

Many thanks


Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2212
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #1 on: January 05, 2017, 08:44:47 AM »
We do not have experience with that camera, unfortunately. Since it does state that it supports MJPEG, it should be compatible, theoretically.

Does your configuration support the camera being directly accessible from outside of your local network? If so, then if you send the connection information to support@skjm.com we could try connecting to it with our iCamSource to attempt to troubleshoot the issue.

Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2212
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #2 on: January 05, 2017, 08:54:31 AM »
Since you are getting a 401 error, one thing that you can also check is what type of authentication the camera is using.

If you connect to the camera using Google Chrome, you can use Chrome's Developer Tools to view the HTTP connection headers: http://stackoverflow.com/questions/4423061/view-http-headers-in-google-chrome

In looking through the headers, you should see an "Authorization" item. If you do, does it say "Basic" or "Digest" next to it?

If you are unsure, you can also copy and paste them in an email to support@skjm.com and we can review them.

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #3 on: January 05, 2017, 09:04:37 AM »
Hi Stefan

Thanks for your replies, the password authentication type did cross my mind because from a search on here I saw a post from somebody earlier in 2016 who had the same problem with a different brand camera. They changed their authentication type in the camera's interface which solved the problem, but sadly the Wansview doesn't have that option to change.

When I get home from work tonight I'll have a look at your suggestions and update/email you accordingly.

Thanks again
Kevin

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #4 on: January 05, 2017, 02:30:11 PM »
In looking through the headers, you should see an "Authorization" item. If you do, does it say "Basic" or "Digest" next to it?
Hi Stefan - it says Digest, which I am assuming is encrypted?

Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2212
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #5 on: January 05, 2017, 08:47:35 PM »
In looking through the headers, you should see an "Authorization" item. If you do, does it say "Basic" or "Digest" next to it?
Hi Stefan - it says Digest, which I am assuming is encrypted?

Ah, that is why you are seeing the 401 error. The iCamSource currently only supports Basic authentication. Digest authentication is more secure, but it is more complicated. We are currently working on bringing Digest authentication to the iCamSource Pro (for iCam Pro) and then after that we will add it to the iCamSource (for iCam).

Basic Authentication: https://en.wikipedia.org/wiki/Basic_access_authentication
Digest Authentication: https://en.wikipedia.org/wiki/Digest_access_authentication

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #6 on: January 06, 2017, 01:35:40 AM »
In looking through the headers, you should see an "Authorization" item. If you do, does it say "Basic" or "Digest" next to it?
Hi Stefan - it says Digest, which I am assuming is encrypted?

Ah, that is why you are seeing the 401 error. The iCamSource currently only supports Basic authentication. Digest authentication is more secure, but it is more complicated. We are currently working on bringing Digest authentication to the iCamSource Pro (for iCam Pro) and then after that we will add it to the iCamSource (for iCam).

Basic Authentication: https://en.wikipedia.org/wiki/Basic_access_authentication
Digest Authentication: https://en.wikipedia.org/wiki/Digest_access_authentication
Oh that's a shame :(

It looks like I'll have to find another bit of software to use.

Thanks anyway, and thanks to the guys for providing a great bit of software that I could use for the last few years.

Cheers

Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2212
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #7 on: January 06, 2017, 03:48:50 PM »
Here is a link to a test version of the iCamSource Pro (for iCam Pro) that supports Digest authentication: http://skjm.com/icampro/iCamSourcePro1.3.0.4.dmg

If you are able to connect to your webcam using it then we will likely be able to have a version of the iCamSource (for iCam) that supports Digest authentication ready relatively quickly.

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #8 on: January 07, 2017, 05:01:03 AM »
Thanks Stefan - using that download, when i try to connect it comes back with "400 - Error". The 400 error message clears after a few seconds and gets replaced by... "Cannot find JPEG data. Your network camera may not be supported. Please click the  "?" button to verify your camera's  Camera URL"

I am assuming the problem is probably the URL to access the mjpeg stream. I've tried several but to no avail, it simply hits back the 400 error message each time...
« Last Edit: January 07, 2017, 05:21:10 AM by kmpowell »

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #9 on: January 07, 2017, 05:20:43 AM »
duplicate of above post, please delete.

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #10 on: January 07, 2017, 05:53:12 AM »
Got it working in your beta iCamSource Pro!  8)

The MJPEG URL i used is http://xxx.xxx.x.xx/mjpeg/stream.cgi

That works for this Wansview W2 camera. Hope that info helps you moving forward with your supported camera list.

Thanks for all your help.

Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2212
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #11 on: January 07, 2017, 05:19:44 PM »
Got it working in your beta iCamSource Pro!  8)

The MJPEG URL i used is http://xxx.xxx.x.xx/mjpeg/stream.cgi

That works for this Wansview W2 camera. Hope that info helps you moving forward with your supported camera list.

Thanks for all your help.

Excellent news! We will probably have a version of the iCamSource for you to trying within the next day or so.  8)

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #12 on: January 08, 2017, 06:56:08 AM »
Got it working in your beta iCamSource Pro!  8)

The MJPEG URL i used is http://xxx.xxx.x.xx/mjpeg/stream.cgi

That works for this Wansview W2 camera. Hope that info helps you moving forward with your supported camera list.

Thanks for all your help.

Excellent news! We will probably have a version of the iCamSource for you to trying within the next day or so.  8)
Brilliant - I look forward to it. Happy to beta test anything you need. :)

Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2212
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #13 on: January 08, 2017, 12:49:10 PM »
Here is a link to a test version of the iCamSource that supports Digest authentication: http://skjm.com/icam/iCamSource2.8.5.2.dmg

Please let us know how it goes. Thanks!  ;D

kmpowell

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Wansview W2 - set-up authorization error - i'm stumped!?!
« Reply #14 on: January 08, 2017, 01:31:52 PM »
Here is a link to a test version of the iCamSource that supports Digest authentication: http://skjm.com/icam/iCamSource2.8.5.2.dmg

Please let us know how it goes. Thanks!  ;D
That was quick, thanks! 8)

Anyway, no 401 error, which is good. But... I get this after about 5 seconds...

"Cannot find JPEG data. Your network camera may not be supported. Please click the  "?" button to verify your camera's  Camera URL"

I'm using the same http://xxx.xxx.x.xx/mjpeg/stream.cgi MJPEG URL as I have entered into the Pro beta version you gave for me to download, which works.
« Last Edit: January 08, 2017, 01:39:42 PM by kmpowell »