skrashevich/double-take

[BUG] 502

Closed this issue · 11 comments

51:07] error: IpDeniedError: Access denied to IP address: ::ffff:192.168.188.129
at error (/double-take/api/node_modules/express-ipfilter/lib/ipfilter.js:156:17)
at /double-take/api/node_modules/express-ipfilter/lib/ipfilter.js:202:12
at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)
at Layer.handle [as handle_request] (/double-take/api/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/double-take/api/node_modules/express/lib/router/index.js:328:13)
at /double-take/api/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/double-take/api/node_modules/express/lib/router/index.js:346:12)
at next (/double-take/api/node_modules/express/lib/router/index.js:280:10)
at module.exports (/double-take/api/src/middlewares/respond.js:54:3)
at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)

#297 duplicate ?

24-01-31 19:33:43 error: (node:32) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ... to show where the warning was created)

#297 duplicate ?

No but might be related. This is the newest beta which you said I should make a new issue

you said I should make a new issue

You wrote that your rc2 is crashing. Describe how this happens, show the configuration and logs, describe your OS, architecture and installation method

But before that, try this build

Can I seperate this out to another server. Currently I have the home assistant yellow and have installed the add-on via the home assistant UI. The frigate is running on a raspberry Pi 5 and has enough capacity for more computing but how do I get it to communicate with home assistant?

Can I seperate this out to another server. Currently I have the home assistant yellow and have installed the add-on via the home assistant UI. The frigate is running on a raspberry Pi 5 and has enough capacity for more computing but how do I get it to communicate with home assistant?

in frigate config:

mqtt:
  #enabled: True
  host: 192.168.1.1 # change to your real IP of home assistant yellow 
  user: arne182 # Change the login with which you log into your home-assistant.
  password: punksnotdead # change to password of your HA login
  topic_prefix: frigate # don't touch :)

and similarly in the double-take configuration:

mqtt:
  host: 192.168.1.1 # Similarly to the description above.
  protocol: mqtt # don't touch :)
  username: arne182 # Similarly to the description above.
  password: punksnotdead # Similarly to the description above.
  port: 1883 # don't touch :)

Screenshot_20240201_141847_Home Assistant
I have created a sensor to track every 5 minutes if double take crashes and it seems to coincide with the automations being run
Screenshot_20240201_142245_Home Assistant

Screenshot_20240201_150629_ConnectBot
Am I doing something wrong?

Could could the problem be that it is getting the image from frigate and Mqtt simultaneously and then triggers the automation twice

Over the last 48 hours there has been no crash. Thank you