SKJM Forum

Support => iCam Support => Topic started by: kmpowell on January 05, 2017, 03:20:06 AM

Title: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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 (http://www.wansview.com/works/1080p/outdoor/74.html) (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

Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan 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.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan 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.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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?
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan 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
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan 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.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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...
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell on January 07, 2017, 05:20:43 AM
duplicate of above post, please delete.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan 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)
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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. :)
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan 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
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell 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.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan on January 08, 2017, 05:35:48 PM
Hmm. That is frustrating, as the core logic is essentially the same. :o

Would you be able to temporarily make your camera accessible from outside of your local network so that we might try and connect to it using a development version of the iCamSource to determine what the cause of this new issue is? Without actually being able to replicate the problem we would just be guessing as to what to fix. :(

Your camera should likely include instructions on what steps are necessary to connect to it from a different network, and should involve forwarding a port in your router.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: kmpowell on January 10, 2017, 03:33:49 AM
I had to restart my iMac this morning after a Sierra update. iCamsource fired back up, and weirdly the Wansview started working!  :o

I'm not sure what's changed, but whatever it is it did the trick. I'll keep monitoring it and let you know if anything changes.

Cheers
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan on January 10, 2017, 07:11:22 AM
I had to restart my iMac this morning after a Sierra update. iCamsource fired back up, and weirdly the Wansview started working!  :o

I'm not sure what's changed, but whatever it is it did the trick. I'll keep monitoring it and let you know if anything changes.

Cheers

Thanks for the update!  8)

I look forward to hearing how it goes.
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: rjgvt on January 10, 2017, 10:49:39 AM
So, do you think iCamsource 2.8.5.2 will work for this issue? See 13 and 14 posts down on the first page. Thanks.

http://skjm.com/forum/index.php?topic=6384.0

Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan on January 10, 2017, 10:08:21 PM
So, do you think iCamsource 2.8.5.2 will work for this issue? See 13 and 14 posts down on the first page. Thanks.

http://skjm.com/forum/index.php?topic=6384.0

Yes, it should work, in theory. :)
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Lilrascal on November 07, 2017, 08:20:17 PM
ok I know its been awhile but I'm trying to set up my wansview W3 and from what Ive gotten its the same as the W2 but only a 720p.  Ok i have been messing with this on and off for about a year.  I was on an older osx 10.7.9 and i just updated to 10.11 and at first I got it to work for a bit i set it up just kmpowell did but input my ip address  I really would like to fix this to be able to use this app it as been good to me for a very long time.  Thank you for any info
Title: Re: Wansview W2 - set-up authorization error - i'm stumped!?!
Post by: Stefan on November 08, 2017, 08:08:05 PM
Do any of these Wansview URLs work? - http://skjm.com/icam/mjpeg.php

If not, you can always try our URL probing page that can attempt to connect to your camera using all of the URLs in our database: http://skjm.com/icam/mjpeg_test.php