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

MQTT disconnected errors #326

Closed
cosmo84 opened this issue Dec 12, 2024 · 2 comments
Closed

MQTT disconnected errors #326

cosmo84 opened this issue Dec 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cosmo84
Copy link

cosmo84 commented Dec 12, 2024

Describe The Bug:
The plugin logs constantly issues in connecting to MQTT, but the next try is always successful. There are no issues in controling any device, I just have no explanation for these errors. Mostly there are approx. 5 minutes between the issues but it can also be good for an hour or so (see logs below).

Logs:
[12/12/2024, 7:04:33 AM] [homebridge-lg-thinq] MQTT disconnected, retrying in 60 seconds!
[12/12/2024, 7:04:34 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 7:05:34 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 7:38:50 AM] [homebridge-lg-thinq] mqtt err: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
[12/12/2024, 7:38:50 AM] [homebridge-lg-thinq] MQTT disconnected, retrying in 60 seconds!
[12/12/2024, 7:38:51 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 7:39:51 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 8:28:04 AM] [homebridge-lg-thinq] mqtt err: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
[12/12/2024, 8:28:04 AM] [homebridge-lg-thinq] MQTT disconnected, retrying in 60 seconds!
[12/12/2024, 8:28:05 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 8:29:05 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 8:32:42 AM] [homebridge-lg-thinq] mqtt err: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
[12/12/2024, 8:32:42 AM] [homebridge-lg-thinq] MQTT disconnected, retrying in 60 seconds!
[12/12/2024, 8:32:43 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 8:33:42 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 8:37:42 AM] [homebridge-lg-thinq] mqtt err: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
[12/12/2024, 8:37:42 AM] [homebridge-lg-thinq] MQTT disconnected, retrying in 60 seconds!
[12/12/2024, 8:37:43 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[12/12/2024, 8:38:42 AM] [homebridge-lg-thinq] Successfully connected to the MQTT server.

Plugin Config:

image
Environment:

  • Plugin Version:
  • Homebridge Version: 1.8.5
  • Node.js Version: 22.12.0
  • NPM Version: 10.9.0
  • Operating System: Docker
@cosmo84 cosmo84 added the bug Something isn't working label Dec 12, 2024
@cosmo84
Copy link
Author

cosmo84 commented Dec 20, 2024

Just updated to the latest beta v2.00-beta4 and the error is the same.

@cosmo84 cosmo84 closed this as completed Jan 9, 2025
@cosmo84
Copy link
Author

cosmo84 commented Jan 9, 2025

Seems it was a local issue, after router reboot no more issues

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

1 participant