search cancel

webapp on https not working after reinstall

book

Article ID: 256369

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

21.2.12 was reinstalled and now Webtomcat doesn´t work, with the same certificate we had before the reinstallation:

2022-12-16 10:23:36,407 ERROR [Admin Websocket Service Timer] (AdminWebSocketServiceImpl.java:240) Failed to connect websocket to server [ws://XXXXXXXX:9443/spectrum]! Failed to connect to websocket

2022-12-16 10:23:36,407 INFO  [Admin Websocket Service Timer] (AdminWebSocketServiceImpl.java:288) Websocket closed to server id [null], url [ws://XXXXXX:9443/spectrum]. Reconnect in 5000ms.

2022-12-16 10:23:41,172 WARN  [Admin Websocket Service Timer] (AdminWebSocketConnectionImpl.java:158) Websocket connection to server [ws://XXXXXXXX:9443/spectrum] is not open! Ignoring send message.

2022-12-16 10:23:41,407 INFO  [Admin Websocket Service Timer] (AdminWebSocketConnectionImpl.java:129) Starting websocket connection to server [ws://XXXXXXXX:9443/spectrum].

2022-12-16 10:23:41,414 ERROR [Admin Websocket Service Timer] (AdminWebSocketServiceImpl.java:240) Failed to connect websocket to server [ws://XXXXXXXX:9443/spectrum]! Failed to connect to websocket

2022-12-16 10:23:41,415 INFO  [Admin Websocket Service Timer] (AdminWebSocketServiceImpl.java:288) Websocket closed to server id [null], url [ws://XXXXXXXX:9443/spectrum]. Reconnect in 5000ms.

server.xmls are correct and certs are in place

 

Environment

Release : 21.2

Resolution

/usr/Spectrum/webtomcat/webswing

webswing.config and webswing.properties were set to http

changing this to https resolved the problem.