Hi,
I curently deploy a application on a K3s cluster.
But ! One of the script make fallowing error
error: unable to upgrade connection: <html><body><h1>502 Bad Gateway<h1>
The server returned an invalid or incomplete response
IT guy of the app company tell me that it's fault of reverse proxy.
In this case I am using HAProxy module for OPNsense.
HAProxy module is new to me.
I checked logs without result.
I checked all setting of Public server. No option related.
I tried to set advenced frontend/backend configuration.
frontend http-in
acl is_websocket hdr(Upgrade) -i WebSocket
acl is_websocket hdr_beg(Host) -i ws
use_backend websocket-backend if is_websocket
backend websocket-backend
server ws1 x.x.x.x check
It totaly screwed up my config.
I am running in version OPNsense 24.1.6-amd64.
Can you provide me advice about were I need to look at.
Regards.
Foreman21.