We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I configured the proxy with an ws option, and send the WebSocket request to devServer, the devServer crashed:
ws
events.js:377 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) Emitted 'error' event on Socket instance at: at Socket.onerror (internal/streams/readable.js:750:14) at Socket.emit (events.js:400:28) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { errno: -54, code: 'ECONNRESET', syscall: 'read' }
https://github.com/ZenkieBear/umi-proxy-ws-crashing
npm i npm start
ws://localhost:8000/ws/api/v1/test
http://localhost:8000
The text was updated successfully, but these errors were encountered:
If you remove the /ws proxy, everything works right.
/ws
Sorry, something went wrong.
umi 3 不维护了,建议升级到 umi 4 。
No branches or pull requests
What happens?
When I configured the proxy with an
ws
option, and send the WebSocket request to devServer, the devServer crashed:Mini Showcase Repository(REQUIRED)
https://github.com/ZenkieBear/umi-proxy-ws-crashing
How To Reproduce
ws://localhost:8000/ws/api/v1/test
http://localhost:8000
, then you will see the crashing information in the terminal.Context
The text was updated successfully, but these errors were encountered: