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

fix: retry TCP socket reconnection on startup #4492

Merged
merged 1 commit into from
Apr 21, 2022
Merged

Conversation

AlCalzone
Copy link
Member

Retrying the initial connection on TCP sockets is now handled the same way as for the serial port

fixes: #4174

@AlCalzone AlCalzone merged commit edff01b into master Apr 21, 2022
@AlCalzone AlCalzone deleted the fix-socket-retry branch April 21, 2022 11:31
AlCalzone added a commit that referenced this pull request Apr 22, 2022
### Bugfixes
* Route health checks now approach the minimum power level linearly from the normal power to avoid nodes with a suboptimal implementation getting stuck in test mode and causing a wrong test result (#4494)
* For `Door Lock CC` V3 and below, the lock/bolt/latch sensors are now created again, since support cannot be tested in these versions (#4490)
* The initial connection to a TCP socket is now retried if the connection cannot be established immediately (#4492)

### Changes under the hood
* Expose "safe" entrypoint in each package which can be used from non-Node.js contexts (#4469)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Does not reconnect when the TCP connection is broken
1 participant