Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-1391 Release 0.9.9
  3. GUAC-1427

Tracked connections may become stuck as active

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: guacamole-auth-jdbc
    • Labels:
    • Sprint:
      DEV 2015-12-18

      Description

      For both the WebSocket and HTTP tunnels, it seems to be possible for connections to be stuck marked as "active", even though they are not actually in progress, the underlying socket is closed, and the corresponding guacd process has terminated.

      The cause of this has not yet been determined, but it could be related to a lack of read operations on the underlying socket if the connection terminates at just the right time. If there are never any reads against the socket, then the closed state will never be discovered, and Guacamole will assume the connection is open.

      It may be necessary to implement some sort of timeout surrounding GuacamoleTunnel which does not depend on explicit reads/writes for failure. Such a system would need to explicitly invoke close() on the tunnel, to ensure that systems depending on that call (like the database auth) are properly updated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              james.muehlner James Muehlner
              Reporter:
              mike.jumper Michael Jumper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: