Hello Morpheus team,
I added an external kubernetes cluster (Openshift) in infrastructure. Openshift is integrated successfully and lists all the workloads and nodes present.
The error i’m facing is in the morpheus-agent daemonset created in morpheus namespace in openshift cluster.
Error I’m getting is glassfish authentication failed.
Could you guys help me with this in how to resolve it.
Here im adding the error log lines I got in morpheus-agent pods.
agent startup: -jar agent.jar -j eyJhZ2VudCI6eyJ1cmwiOiJod..
10:56:11.313 [main] INFO com.morpheus.agent.ConfigHolder - loading json config
10:56:11.342 [main] INFO com.morpheus.agent.Agent - Initializing Agent With Key 8c96ed05-f131-4af6-b1e0-1b90b7ce22ea
Application: morpheus-agent 2.3.2
Configuration:
API Url: https://morpheus-vm.example.com/10:56:11.888 [main] INFO com.bertramlabs.plugins.gstomp.sockjs.SockJsStompChannel - Getting SockJs Connection Info https://morpheus-vm.example.com/stomp/info
10:56:12.277 [main] INFO com.bertramlabs.plugins.gstomp.ws.WebSocketHandler - Opening WS Connection wss://morpheus-vm.vpslab.com/stomp/355/1o9ejc7l4ss68hb8omv1/websocket
10:56:13.036 [main] ERROR com.bertramlabs.plugins.gstomp.sockjs.SockJsStompChannel - Error fetching connection information from the socket. java.lang.RuntimeException: javax.websocket.DeploymentException: Handshake error.
java.lang.RuntimeException: javax.websocket.DeploymentException: Handshake error.
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruct
…
Caused by: javax.websocket.DeploymentException: Handshake error.
at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:674)
…
… 22 common frames omitted
Caused by: org.glassfish.tyrus.client.auth.AuthenticationException: Authentication failed.
…