This issue is with an Annke C800 IP camera. I am trying to access the still image using the HTTP URL. I tested this URL in Chrome, and also in Edge and it returns the still image: http://admin:password@192.168.1.210:80/ISAPI/Streaming/channels/1/picture
And when I do the same in NR, I get a 401 Unauthorized. (No I am not logged into the admin site in a different Chrome window.)
Still no change. How could I "debug" this further? What else can I try? I actually talked to Annke but they obviously say that since it works in a browser, the issue must be Node-Red.
I thought it might catch the login details, but it works from Edge as well that I never used to log into the admin site.
Onvif would be a good option, but for this particular camera the get image function crashes the entire Node-Red. I have a thread open on that, but I don't expect quick resolution of that issue.
Yes, I have seen this topic. The link with the httpPreview at the end if a streaming video link for the sub stream. And that is behaving the same, works from Chrome, but gives 401 Unauthorized from Node-Red.
Yes, I tried. Both with the u/p in the URL and also removed from the URL and added to the "Use authentication" section with "basic authentication".
If I put the plain URL into Chrome (without the user and password), I get the Chrome logon window, but after entering the u/p I get the image. So the user authentication works. There must be some stupid cookie or header issue, but I can't see what it can be.
In addtion I would recommend, logout the cam, clear the cache/details, login and without doing anything else, copy the request from the main index/html page: