[HPM] Upgrading to WebSocket
[HPM] Client disconnected
is displayed.
Connecting to the ws url I'm getting Error: Invalid WebSocket frame: RSV1 must be clear
Step-by-step reproduction instructions
1)Create simple Websocket server - https://gist.github.com/jira-zz/ebefc82d0f683a11695bcfa5415ff5ba
2) Create stock create-react-app
3) Add setupProxy.js to src - https://gist.github.com/jira-zz/ebefc82d0f683a11695bcfa5415ff5ba
4) start sever created in 1)
5) start react app using npm start
Expected behavior (be clear and concise)
It should proxy Websockets
How is http-proxy-middleware used in your project?
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
In console infinite line of
is displayed.
Connecting to the ws url I'm getting
Error: Invalid WebSocket frame: RSV1 must be clear
Step-by-step reproduction instructions
Expected behavior (be clear and concise)
It should proxy Websockets
How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
No response