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

Occasional ECONNRESET & Crash on Startup #31

Open
pickanothername opened this issue Jan 30, 2023 · 1 comment
Open

Occasional ECONNRESET & Crash on Startup #31

pickanothername opened this issue Jan 30, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pickanothername
Copy link

Bug Description
Sometimes when Homebridge restarts, the plugin is unable to connect to one of my board. This causes an instant Homebridge crash. Typically, this will occur once or twice in a row, each time homebridge will crash and restart, then startup will happen as normal.
I do believe one of my boards is actually having connection issues, but I feel this should not cause a complete HB crash.

Steps To Reproduce
Restart Homebridge. Unfortunately, it is inconsistent.

Expected Behavior
Homebridge starts normally, and Konnected connects to the boards.

Environment

  • Homebridge System:
    • Node.js Version: 18.13.0
    • NPM Version: 8.19.3
    • Homebridge/HOOBS Version: Homebridge 1.6.0
    • Operating System: Alpine Linux
    • Process Supervisor: Docker
  • Konnected Panel(s):
    • Panel Hardware Version: v1 (I believe)
    • Firmware Version: 3.0.0
    • Addon Panel(s): 6-Zone Alarm Panel (1)
    • Interface Panel(s): 6-Zone /w Siren Output (1)

Attach Files to Support Your Experience
Error log:

[1/30/2023, 2:45:45 AM] FetchError: request to http://192.168.4.38:12108/status failed, reason: read ECONNRESET
    at ClientRequest.<anonymous> (/homebridge/node_modules/homebridge-konnected/node_modules/node-fetch/lib/index.js:1491:11)
    at ClientRequest.emit (node:events:513:28)
    at Socket.socketErrorListener (node:_http_client:496:9)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
[1/30/2023, 2:45:45 AM] Got SIGTERM, shutting down Homebridge...
@pickanothername pickanothername added the bug Something isn't working label Jan 30, 2023
@pickanothername
Copy link
Author

pickanothername commented Jan 30, 2023

Update: This may be the same as issue #18.
Will see if the issue is still present with the latest software version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants