jeroenterheerdt / ring-hassio

A Home Assistant add-on for live streaming from Ring devices.
MIT License
132 stars 93 forks source link

Issue with HTTP #41

Open sankarnair123 opened 3 years ago

sankarnair123 commented 3 years ago

This add on seems to use http. my HA is secured with HTTPS inside and outside. Does this interfere with the way livestream works as its an HTTP URL ? any ways to update the stream URL to https ? I see in the logs the following error

Error opening stream http://:3000/public/stream.m3u8

Logger: libav.tcp Source: components/stream/worker.py:79 First occurred: 10:50:24 AM (10 occurrences) Last logged: 11:41:57 AM

Connection to tcp://:3000 failed: Connection refused

Do i have to go back to using NGINX to use Reverse proxy and have secure access only from outside home and leave LAN on HTTP ?

How do HA users using this plugin, securely access the live stream ?

sankarnair123 commented 3 years ago

update on what i have tried, moved this to Nginx , so that in the lan, now i am able to access the HTTP page of HA. from outside home, i can reach via HTTPS. that said browsing to port 3000 still doesnt work

Logs:

Error getting new camera image from Front Door: Cannot connect to host :3000 ssl:default [Connect call failed ('', 3000)]

the name of camera matches what is in Ring app Error opening stream http://:3000/public/stream.m3u8

Connection to tcp://:3000 failed: Connection refused

Any further thoughts on why this isnt working?

Config file:

ring: username: !secret ring_username password: !secret ring_password

camera: