Can't get MJPEG IP camera working correctly

Hi all

I got an IP camera recently that I want to add to Hass. My problem is that I am unable to get it displayed correctly. The still image is working, however when clicking the camera I don’t get the real “moving” video and I get an error in chrome developer tools:

GET http://192.168.1.100:8123/api/camera_proxy_stream/camera.livingroom_camera?token=6d4b2f2661b1a354d5783978b1479f082d9eef97db48b45b484ce8f59a6c1335 502 (Bad Gateway)

When going to that URL, I also get the bad gateway.

Another Camera component I have to display a .Gif image is working fine however, also when clicking and going to the url.

Below is the config. Rain Radar is working, the Living room one isn’t…:
camera: