James Muehlner created GUACAMOLE-1634:
-----------------------------------------

             Summary: Bad error handling in Kubernetes protocol
                 Key: GUACAMOLE-1634
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1634
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-server, Kubernetes
            Reporter: James Muehlner
         Attachments: Screenshot 2022-07-11 134132.png

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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to