When utilizing fetch-proxy for an application that uses WebSockets, the following error appears in console:
WebSocket connection to 'ws://[redacted]/sockjs-node/223/rqzkemou/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400
When accessing the same application by IP address (so outside of fetch-proxy), the error no longer happens and WebSockets behave properly.
Best guess is some changes are required here but I haven't looked closely yet: https://github.com/kcmerrill/fetch-proxy/blob/master/proxy.go#L20