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

Restart of server fails because of disabled reuseaddr socket option #6463

Closed
2 of 3 tasks
keba-estr opened this issue May 8, 2024 · 2 comments
Closed
2 of 3 tasks

Comments

@keba-estr
Copy link
Contributor

Description

As the socket option reuseaddr is disabled by default, a socket to the same address can only be opened after a system specific timeout (e.g. 1 minute in Linux, 2 minutes in Windows).
The server opens a listening connection when the event loop initialized. If this connection fails, there is no retry.
If the server is closed and restarted within the above timeout, opening the listing connection fails.

The event loop should retry opening the listing connection within the system specific socket timeout.

Checklist

Please provide the following information:

  • open62541 Version (release number or git tag): 1.4
  • Operating system: Linux
  • Critical issue
@jpfr
Copy link
Member

jpfr commented May 9, 2024

The fix is here: #6466

@jpfr jpfr closed this as completed May 14, 2024
@keba-estr
Copy link
Contributor Author

keba-estr commented May 23, 2024

Problem not resolved, error still happens. -> new issue #6493

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

No branches or pull requests

2 participants