×
How can I prevent WebSocket connection failures when accessing the Web Console through a load balancer?
Configure allowed-origin patterns for WebSocket STOMP endpoints to prevent 403 errors when the Web Console runs behind load balancers that omit the X-Forwarded-Port header, such as certain Google Cloud load balancers. This is optional and should only be applied if you encounter WebSocket connection failures.
Configuration options Copied
Add the pattern https://* in your Helm values to allow connections from any HTTPS origin. Adjust this pattern as needed to meet your security requirements.
There are two ways to configure this:
Using Helm values Copied
Add the following configuration to your Helm values override:
websocket:
allowedOriginPatterns:
- "https://*"
Using a ConfigMap override Copied
Alternatively, you can add the following configuration to your Helm values:
customConfig: |
obcerv:
webplatform:
websocket:
allowed-origin-patterns:
- "https://*"
Note
For KOTS deployments, apply this configuration through the Helm Chart Values Override section in the Admin Console.
["ITRS Analytics"]
["FAQ"]