jakowenko / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/jakowenko/double-take
MIT License
1.24k stars 99 forks source link

Double take doesn't connect to Frigate when on same system as HA #276

Open verschup76 opened 1 year ago

verschup76 commented 1 year ago

Hi,

I have been running my frigate docker on a different server to avoid this issue, but that's not an option anymore in my new setup. In my new setup, I run everything in HA, so deepstack, frigate and double-take are all installed as addons.

mqtt: host: 192.168.1.214 port: 1883 username: xxxxx password: xxxxx

frigate: url: http://192.168.1.214:5000 update_sub_labels: false stop_on_match: true labels:

detectors: deepstack: url: http://192.168.1.214:5002 key: xxxx timeout: 20000

Unfortunately, I am getting an error as it just won't connect to Frigate.

Frigate is running perfectly on my HA environment, so that can't be it.

22-12-20 17:31:02 error: Error: connect ECONNREFUSED 192.168.1.214:5000 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)

Version of Double Take 1.13.1

Any help would be greatly appreciated.

Thx,

Pim

csw3190 commented 1 year ago

Seems like changing Frigate to another port (not 5000) allows connection.

NickM-27 commented 1 year ago

Odds are you had something else running in Port 5000, maybe docker wyze bridge. This isn't a bug

alexpatcas commented 1 year ago

Changed the port to all kinda of ports and it's still not working

NickM-27 commented 1 year ago

Did you change the port on the addon side and the doubletake config side?

woble commented 1 year ago

See frigate docs for correct URL