After upgrade spectrum from 10.4.1 to 21.2.8, the Oneclick webapp page from Oneclick browser it again redirects back to oneclick browser page.
The Oneclick webapp page does open.
We go to the OneClick administration web page. Select the OneClick WebApp link and a new tab opens. Instead of the expected OneClick webapp page we are brought back to the OneClick administration web page.
We also see the following error in the $SPECROOT/webtomcat/bin/logs/webswing.log file.
2023-06-27 11:46:43,393 INFO [Webswing Process Handler] (SwingProcessImpl.java:219) [oneclickwebapp_anonym_aab85754bf9d_1687884397521] INFO: Starting websocket connection to server [ws://<OC_HostName>:8443/spectrum/oneclickwebapp/async/app-bin].
2023-06-27 11:46:43,817 INFO [Webswing Process Handler] (SwingProcessImpl.java:219) [oneclickwebapp_anonym_aab85754bf9d_1687884397521] ERROR: Failed to connect websocket to server [ws://<OC_HostName>:8443/spectrum/oneclickwebapp/async/app-bin]! -> Handshake error. |
2023-06-27 11:46:43,817 INFO [Webswing Process Handler] (SwingProcessImpl.java:219) [oneclickwebapp_anonym_aab85754bf9d_1687884397521] ERROR: Exiting application because it could not connect to server -> jakarta.websocket.DeploymentException: Handshake error.
...
2023-06-27 11:46:43,821 INFO [Webswing Process Handler] (SwingProcessImpl.java:219) [oneclickwebapp_anonym_aab85754bf9d_1687884397521] Caused by: org.glassfish.tyrus.core.HandshakeException: Response code was not 101: 404.
...
2023-06-27 11:46:43,824 INFO [Webswing Process Handler] (AbstractSwingProcess.java:190) [oneclickwebapp_anonym_aab85754bf9d_1687884397521] app process destroying finished.
2023-06-27 11:46:43,847 INFO [Process close listener thread [oneclickwebapp_anonym_aab85754bf9d_1687884397521]] (SwingProcessServiceImpl.java:536) Transfer dir for session [oneclickwebapp_anonym_aab85754bf9d_1687884397521] cleared. [D:\win32app\Spectrum\webtomcat\bin\anonym\upload]
2023-06-27 11:46:43,873 INFO [http-nio-9443-exec-10] (BrowserWebSocketConnectionEndpoint.java:156) Websocket to browser closed, session [1], close code [1000], reason [Disconnecting instance.]!
All supported DX NetOps Spectrum OneClick releases
Incorrect port configured in webswing.properties and webswing-admin.properties files.
Confirm the following files are configured properly.
If any changes are made to the webtomcat files ensure the correct restart cycle is performed. It's dependent on tomcat. Both must be restarted in the correct order.