When clicking on a camera image to view camera stream, Home Assistant alerts with “login attempt or request with invalid authentication from xxx.xxx.xxx.xxx”. The HTTP request is getting sent as “https://hassio.domainname.com/api/camera_proxy_stream/camera.livingroom?token=undefined” with the parameter “token” being “undefined”. This had been working previously with no change to config, etc.
Home Assistant 0.92.1 (hassio) on Ubuntu 18.04.2 LTS
I currently get the same experience. I’m at work now, but it seems like my camera (an esphome driven esp32 camera) is down. I can not reach it. Maybe check if there’s a connection to the camera.
Various cameras, generic IP and WyzeCam using RTSP mostly. All through the ZoneMinder component. I can view the streams through ZoneMinder without issue and this worked through HomeAssistant until just recently.
Yes I am experiencing this with only one camera out of six. I am currently working through it. Everything in zoneminder works fine.
Looking at the states attribute under development tools for the camera that is playing up; I have no access_token: (number string) but the /api/camera_proxy/ access token does exist. I get the snapshot update in lovelace but no access to the live feed.
Each time I can manually add the access_token to line one of the State attributes then change the state to idle and set the state. It then works for a few seconds.
The only notification I get is Login attempt or request with invalid authentication from (this pc ip)
I have also revoked all tokens in the options of zoneminder, disabled and then re-enabled them.
I shall keep digging but that is just so far. If you have anything to add then feel free.
Did anyone ever get the ?token=undefined ” resolved? I’ve it on some of the cameras but not all. I recently moved to a new Zoneminder installation but issue remaind.