Restarting s2s may fail with Error starting: 5269 Address already in use (Bind failed)

Description

Openfire may sometimes attempt to restart its s2s port when certain config changes are made or perhaps updated SSL certs are configured.  This restart appears to be brittle and various latency / race conditions could cause this operation to fail like so:

 

 

 
Perhaps the restarting code should wait a bit on shutdown before attempting to start up the listener again.

Environment

None

Activity

Show:
Florian Schmaus
January 1, 2020, 11:10 PM

Sounds like you simply want to use SO_REUSEADDR.

Fixed

Assignee

Guus der Kinderen

Reporter

Daryl Herzmann

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure