Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1634

Bad error handling in Kubernetes protocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      When the connection parameters are set incorrectly for a Kubernetes connection, the server logs do not display any useful information, even if there is a human-readable error sent back from Kubernetes.

      For example: I tried to connect to a pod without specifying the namespace. The error I got in the guacd logs was: `Error connecting to Kubernetes server: HS: ws upgrade response not 101`.

      However, I've attached a screenshot of the wireshark logs showing that the namespace error was correctly sent by Kubernetes. This error should be properly handled and logged so the user can easily see what went wrong.

      Attachments

        1. Screenshot 2022-07-11 134132.png
          746 kB
          James Muehlner

        Activity

          People

            Unassigned Unassigned
            jmuehlner James Muehlner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: