When we try to open the oneclick webapp the URL has the wrong port:
https://<HOST>:8443/spectrum/webapp
And we get a popup:
Problem with starting the application. Please check the logs for more details.
Followed by a second popup:
SPC-OCC-10251: could not connect to web server at https://<HOST>:8443
But the webapp is configured to use port 9443.
In the config file:
<SPECROOT>/webtomcat/conf/server.xml
The https connector is defined as using 9443:
…
<Connector port="9443" enableLookups="true" disableUploadTimeout="true" tcpNoDelay="true" acceptCount="100" scheme="https" secure="true" SSLEnabled="true" clientAuth="false" sslProtocol="TLS" sslEnabledProtocols="TLSv1.2,TLSv1.3" ciphers="TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384" keystoreFile="/spectrum/custom/keystore/cacerts" keystorePass="changeit"></Connector>
Spectrum :: All Supported Versions
The upgrade overwrote the file:
<SPECROOT>/webtomcat/webswing/webswing-app.config
Under the "args" section we see this:
"args" : "-host <HOST-FQDN> -port 8443 -ssl true -splashImage images/console_splash.png -compress 9 ${customArgs}",
And this is overriding the server.xml
Edit the file
<SPECROOT>/webtomcat/webswing/webswing-app.config
And change
"args" : "-host <HOST-FQDN> -port 8443 -ssl true -splashImage images/console_splash.png -compress 9 ${customArgs}",
To
"args" : "-compress 9 ${customArgs}",
Restart webtomcat
<SPECROOT>/webtomcat/bin/stopWebTomcat.sh
<SPECROOT>/webtomcat/bin/startWebTomcat.sh
We see this message in the webtomcat catalina.out
<SPECROOT>/webtomcat/logs/catalina.out
026-02-25 13:03:52,623 INFO [Webswing Process Handler] (AbstractSwingProcess.java:144) Launching application instance [oneclickwebapp_anonym_74d5cd594fd4_1772042632013] with properties: webswing.initialUrl=https://<OC-HOST>:8443/spectrum/webapp, webswing.mainArgs=-host <OC-HOST> -port 8443 -ssl true -splashImage images/console_splash.png -compress 9 -host <OC-HOST> -port 8443 -ssl true -contextPort 43000 -model_bits 20 -isWebSwing yes -isSamlEnabled yes -jsessionid E2F0FF06274819EA12618E84A4E9BE2E4537130E8F12BAD56FD791E3161AA517C00EDF03D463BB3296D0D6A1C539CFF24AD271984CF8D61DF6 -user , webswing.mainClass=com.aprisma.spectrum.app.console.client.ConsoleApp, webswing.dataStoreConfig={"module":"FILESYSTEM","config":{}}, webswing.screenWidth=1770, webswing.userId=anonym, webswing.websocketUrl=wss://<OC-HOST>:9443/spectrum/oneclickwebapp/async/app-bin, webswing.screenHeight=944, webswing.recording.dir=/spectrum/webtomcat/bin/datastore/recordings, webswing.transfer.dir=/spectrum/webtomcat/bin/anonym/upload, webswing.accessibilityEnabled=false, webswing.connectId=6f3e17ee-5479-4415-9ad8-d26acad826, webswing.launch.systemProperties=null, webswing.fileViewers=[], webswing.touchMode=false, webswing.connectionUrl=https://<OC-HOST>:9443/spectrum/oneclickwebapp/, webswing.recording.ask.needed=false, webswing.dpr=1.875, webswing.upload.max.fileSize=5.0, webswing.recording=false, webswing.dockMode=ALL, webswing.mirroring.ask.needed=false, webswing.threadDump.dir=/spectrum/webtomcat/bin/datastore/dumps