Local scanner is not parsing the central URL properly when using websocket secure (WSS) protocol
Issue
- Openshift router is behind AWS NLB
- Issue was observed after the customer installed the local scanner
-
The local scanner on the secured server is not able to connect to the central server and reports the following error message :
{"Event":"starting slim update","Level":"info","Location":"slim_updater.go:114","Time":"2022-10-17 23:10:57.193372"} {"Event":"slim update failed","Level":"error","Location":"slim_updater.go:95","Time":"2022-10-17 23:10:57.198099","error":"fetching update from URL: received response code 500 Internal Server Error, but expected 2xx; error message: {\"code\":13,\"message\":\"failed to create request: parse \\\"https://wss:%2F%2Fcentral-stackrox.apps.s0.ocp.svcs.education.nsw.gov.au:443/api/extensions/scannerdefinitions?file=rhelv2%2Frepository-to-cpe.json\u0026uuid=f81dbc6b-5899-433b-bc86-9127219a9d89\\\": invalid URL escape \\\"%2F\\\"\"
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.9.46
- Red Hat Advance Cluster Security (RHACS)
- 3.72
- Infrastructure
- AWS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.