This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

User and password on ip cam
#1
hello everyone, 
I'm trying to view Hikvision IP cams with Mosaic (beta). But I can't pass username and password. Anyone have a solution?

The formula http://user: password@ip/aspi/....  is rejected by browsers.

thanks in advance to who want help me.

BR Cristian
Reply
#2
Browsers do not allow URLs in user:pass@host format anymore for security reasons. Some cameras support passing user/pass as a URL query string parameters. If it still does not work then the only option is to disable authentication completely.
See this for possible URL formats: https://forum.logicmachine.net/showthread.php?tid=1073 https://www.ispyconnect.com/camera/hikvision
Reply
#3
(03.05.2021, 06:53)admin Wrote: Browsers do not allow URLs in user:pass@host format anymore for security reasons. Some cameras support passing user/pass as a URL query string parameters. If it still does not work then the only option is to disable authentication completely.
See this for possible URL formats: https://forum.logicmachine.net/showthread.php?tid=1073 https://www.ispyconnect.com/camera/hikvision

Thanks I will see
Reply
#4
Hi, I had a similar problem with a Hikvision camera.
I was unable to have it show in a stable way, not in mosaic, not in homeassistant, etc...). Spend quite some time on it.
Didn't have that problem with Axis camera, so I assume it's a Hikvision thing.

I solved it by using ispy v7.2 which I had already running on my server.
ispy can also produce streaming url's.
Camera 1 url is for example: http://10.0.0.15:8081/mjpegfeed?oid=1&size=300x410
Camera 2 url is for example: http://10.0.0.15:8081/mjpegfeed?oid=2

This works perfect, seamless and without headaches.
Downside you have to run a server 24/7, but if you already have one running this is the easiest way.

Note: ispy is replaced by ispy agent, don't know if it's still possible with that but you can still download ispy
Reply


Forum Jump: