http-proxy-middleware
http-proxy-middleware copied to clipboard
Client disconnected with websockets & PVE
trafficstars
Checks
- [X] I understand project setup issues should be asked on StackOverflow or in GitHub Discussions.
- [X] I updated to latest
http-proxy-middleware.
Describe the bug (be clear and concise)
I am running my PVE node through HPM. All of the terminal websockets close with proxmox erroring "undefined." The HPM log just looks like "upgrading to websocket - client disconnected."
Step-by-step reproduction instructions
[MRE](https://paste.0xlogn.dev/punodedehe.js)
Occurs with changeOrigin true or false. Also, anyone have a good, examples included, example of the http flow with changeOrigin true vs false?
Expected behavior (be clear and concise)
the websocket to work
How is http-proxy-middleware used in your project?
root dependency, used for all proxies
What http-proxy-middleware configuration are you using?
shown in mre
What OS/version and node/version are you seeing the problem?
Ubuntu 22.04. Node LTS.
Additional context (optional)
No response