http-proxy-middleware icon indicating copy to clipboard operation
http-proxy-middleware copied to clipboard

Client disconnected with websockets & PVE

Open thetayloredman opened this issue 3 years ago • 0 comments
trafficstars

Checks

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

thetayloredman avatar Sep 11 '22 18:09 thetayloredman