Logic Machine Forum
User and password on ip cam - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: User and password on ip cam (/showthread.php?tid=3335)



User and password on ip cam - CristianAgata - 01.05.2021

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


RE: User and password on ip cam - admin - 03.05.2021

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


RE: User and password on ip cam - CristianAgata - 03.05.2021

(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


RE: User and password on ip cam - tigi - 03.05.2021

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