Mjpeg still image gives no route to host while video works

Hi,

got a weird one :wink:

camera:
    - platform: mjpeg
      name: babymonitor
      mjpeg_url: !secret baby-mjpeg_url
      still_image_url: !secret baby-still_image_url

and secrets contains:

baby-mjpeg_url: http://<ip>/-wvhttp-01-/video.cgi
baby-still_image_url: http://<ip>/cgi/jpg/image.cgi

and is exactly the same (I checked it 5 times :wink:

with the setup above I get working video but the still image is not available.

looking in logsI see:

> " Error getting new camera image: Cannot connect to host 192.168.1.35:80 ssl:None [No route to host]
> 
> 11:22 components/camera/mjpeg.py (ERROR)"

if I take the urls and open in a browser all is good.

anyone with an idea on why hass canโ€™t connect on image but fine on video?

1 Like

โ€ฆstarting to think my network have issues - the started working again on its own ;/