Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push notification registration failed #220

Closed
MrDrache333 opened this issue Feb 5, 2022 · 3 comments
Closed

Push notification registration failed #220

MrDrache333 opened this issue Feb 5, 2022 · 3 comments
Labels
invalid This doesn't seem right

Comments

@MrDrache333
Copy link

Adapter version

0.8.1

JS-Controller version

3.3.22

Node version

v12.22.10

Operating System type

Linux

Operating system version

Debian 10.11

Describe the bug

2022-02-05 21:09:08.653  - �[32minfo�[39m: eufy-security.0 (17747) starting. Version 0.8.1 in /opt/iobroker/node_modules/iobroker.eufy-security, node: v12.22.9, js-controller: 3.3.22
2022-02-05 21:09:08.909  - �[32minfo�[39m: web.0 (17754) Plugin sentry Sentry Plugin disabled for this process because data reporting is disabled on instance
2022-02-05 21:09:08.935  - �[32minfo�[39m: web.0 (17754) starting. Version 3.4.16 in /opt/iobroker/node_modules/iobroker.web, node: v12.22.9, js-controller: 3.3.22
2022-02-05 21:09:09.289  - �[32minfo�[39m: web.0 (17754) socket.io server listening on port 8082
2022-02-05 21:09:09.309  - �[32minfo�[39m: web.0 (17754) Connect extension "eufy-security/build/lib/web.js"
2022-02-05 21:09:09.317  - �[32minfo�[39m: web.0 (17754) http server listening on port 8082
2022-02-05 21:09:18.991  - �[31merror�[39m: eufy-security.0 (17747) MQTT Error [{"code":5}]
2022-02-05 21:09:19.049  - �[32minfo�[39m: eufy-security.0 (17747) MQTT connection closed
2022-02-05 21:09:22.056  - �[32minfo�[39m: eufy-security.0 (17747) Connected to station T8410P2020300517 on host 192.168.178.37 and port 24709
2022-02-05 21:09:22.104  - �[32minfo�[39m: eufy-security.0 (17747) Connected to station T8010N2320200986 on host 192.168.178.200 and port 15152
2022-02-05 21:09:28.376  - �[31merror�[39m: eufy-security.0 (17747) registerFid - Error: [{"name":"RequestError","code":"ECONNREFUSED","timings":{"start":1644091768368,"socket":1644091768369,"lookup":1644091768373,"error":1644091768374,"phases":{"wait":1,"dns":4,"total":6}}}]
2022-02-05 21:09:28.377  - �[31merror�[39m: eufy-security.0 (17747) registerFid - Status return code not 200 [{}]
2022-02-05 21:09:28.378  - �[31merror�[39m: eufy-security.0 (17747) registerFid - Generic Error: [{}]
2022-02-05 21:09:28.380  - �[31merror�[39m: eufy-security.0 (17747) Create push credentials Error: [{}]
2022-02-05 21:09:28.381  - �[32minfo�[39m: eufy-security.0 (17747) Push notification connection closed
2022-02-05 21:09:28.383  - �[31merror�[39m: eufy-security.0 (17747) Push notifications are disabled, because the registration failed!
2022-02-05 21:09:28.384  - �[32minfo�[39m: eufy-security.0 (17747) Retry to register/login for push notification in 5 seconds...
2022-02-05 21:09:33.385  - �[32minfo�[39m: eufy-security.0 (17747) Retry to register/login for push notification
2022-02-05 21:09:40.575  - �[31merror�[39m: eufy-security.0 (17747) registerFid - Error: [{"name":"RequestError","code":"ECONNREFUSED","timings":{"start":1644091780571,"socket":1644091780572,"lookup":1644091780574,"error":1644091780575,"phases":{"wait":1,"dns":2,"total":4}}}]
2022-02-05 21:09:40.576  - �[31merror�[39m: eufy-security.0 (17747) registerFid - Status return code not 200 [{}]
2022-02-05 21:09:40.577  - �[31merror�[39m: eufy-security.0 (17747) registerFid - Generic Error: [{}]
2022-02-05 21:09:40.577  - �[31merror�[39m: eufy-security.0 (17747) Create push credentials Error: [{}]
2022-02-05 21:09:40.578  - �[32minfo�[39m: eufy-security.0 (17747) Push notification connection closed
2022-02-05 21:09:40.578  - �[31merror�[39m: eufy-security.0 (17747) Push notifications are disabled, because the registration failed!
2022-02-05 21:09:40.579  - �[32minfo�[39m: eufy-security.0 (17747) Retry to register/login for push notification in 10 seconds...
2022-02-05 21:09:50.580  - �[32minfo�[39m: eufy-security.0 (17747) Retry to register/login for push notification

To reproduce

  1. Install the Adapter
  2. Add Credentails
  3. Use it for some months
  4. ...
  5. Errors appear.

Screenshots & Logfiles

No response

Additional context

I restarted the BaseStation2 and the ioBroker, Changed from only Local to prefer Local and Online but nothing changed.

@MrDrache333 MrDrache333 added the bug Something isn't working label Feb 5, 2022
@bropat
Copy link
Owner

bropat commented Feb 5, 2022

@MrDrache333

ECONNREFUSED is a faulty configuration on your side, such as a firewall that blocks or a software solution that blocks ads (pi-hole or ad-aware). In this case, the DNS resolution returns 0.0.0.0 instead of the correct IP address. This results in the error ECONNREFUSED.

@MrDrache333
Copy link
Author

@bropat I do use a PiHole, but no Domain from eufy got blocked so far. Do you know which domains are important for the Adapter to work?

@bropat
Copy link
Owner

bropat commented Feb 5, 2022

Check firebaseinstallations.googleapis.com

@bropat bropat added invalid This doesn't seem right and removed bug Something isn't working labels Feb 5, 2022
@bropat bropat pinned this issue Feb 6, 2022
@bropat bropat changed the title [Bug]: Push notification registration failed Push notification registration failed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants