What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Other relevant information:
webpack version: 4.43.0
Node.js version: 12.16.1
Operating System: win10
Additional tools: nginx, yarn
Please create reproducible test repo
Can't reproduce
Please create reproducible test repo
Wait a moment
Please create reproducible test repo
Use this project to test:
https://github.com/jiankafei/wds-test
@evilebottnawi https://github.com/jiankafei/wds-test
@jiankafei Thanks I will look in this in near future
@jiankafei @evilebottnawi I have the same issue and despite having devServer.sockPath: '/app/sockjs-node' I get in Chrome Inspector first...
sockjs.js:1606 GET http://mydevserver.com:8999/sockjs-node/info?t=1600683780379 404 (Not Found)
...then a few times...
WebSocket connection to 'ws://mydevserver.com:8999/app/sockjs-node/224/cidsxlef/websocket' failed: Invalid frame header
[WDS] Disconnected!
fwiw, I have devServer reverse-proxied via express and http-proxy-middleware.
I tried with both webpack 4.43 and 5.0.0-rc.0
Most helpful comment
@jiankafei @evilebottnawi I have the same issue and despite having
devServer.sockPath: '/app/sockjs-node'I get in Chrome Inspector first......then a few times...
fwiw, I have devServer reverse-proxied via express and http-proxy-middleware.
I tried with both webpack
4.43and5.0.0-rc.0