Uploaded image for project: 'Openfire'
  1. OF-2367

(TCP) clients are suddenly unable to log into the server

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects versions: 4.6.4
    • Fix versions: 4.7.0
    • Components: Core
    • Labels:
      None

      Description

      Various people have reported a similar problem: after some time of good operation, Openfire suddenly stops accepting new (TCP) client connections.

      This problem was not happening in 4.6.3, but is happening in every version since 4.6.4.

      A symptom seems to be that the "Sessions" admin console page shows "Invalid session/connection" for some sessions.

      The log files show messages like these (which also are logged in servers that are not suffering from this problem - unsure if this is relevant):

      org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001099: nio socket, server, null => 0.0.0.0/0.0.0.0:5222)
      javax.net.ssl.SSLHandshakeException: SSL handshake failed.

      So far, reproducing the problem is difficult. It happens occasionally (on some servers, only once or twice a day). No-one seems to be able to cause the problem at will.

      A work-around for the problem:

      1. in the admin console page, navigate to Server > Server Settings > Client Connections
      2. disable "Plain-text (with STARTTLS) connections" by removing the check mark from the input box
      3. press the "Save Settings" button
      4. re-enable "Plain-text (with STARTTLS) connections" by adding a check mark in the input box
      5. press the "Save Settings" button again

      This will effectively restart the connection listeners, which seems to work around the problem.

      Another way to work around this issue is by restarting Openfire.

        Attachments

          Activity

            People

            • Assignee:
              Guus der Kinderen
              Reporter:
              Guus der Kinderen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: