Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1733

Undertow websocket ping/pong no longer maintains a valid session

    XMLWordPrintable

Details

    • Bug
    • Resolution: Can't Do
    • Critical
    • None
    • 2.0.29.Final
    • Core
    • None

    Description

      We were using undertow-core 2.0.0 before. We support a large number of websockets. We don't have any session timeout configured before. However, we have ping/pong every 2 minutes.

      Ever since we started to use 2.0.29, we found that all the sessions will time out after 30 minutes, which is the default of standard http session. Our ping/pong is no longer able to extend the session life time.

      Is this a known issue?

      We tried to give each session "infinite" life, but this is not good for our other non-websocket connections. But even for websocket connection, there appears to be some session cross-over. I.e., even we setMaxInactiveInactive(-1) for each websocket connection at onOpen(), sometimes, the session still times out after 30 min, as if wrong session object is passed into onOpen() and set as "-1" and the real session picks up the default.

      Appreciate if you can provide any help/guidance!

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            alany07 Alan Yu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: