You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to connect to a proxied websocket, it crashes
The error:
TypeError: undefined is not an object (evaluating 'server.on')
at C:\projects\Nova\services\Nova.Backend\node_modules\http-proxy-middleware\dist\http-proxy-middleware.js:56:17
at C:\projects\Nova\services\Nova.Backend\node_modules\http-proxy-middleware\dist\http-proxy-middleware.js:50:22
Step-by-step reproduction instructions
1. Add a proxy middleware with ws set to true
2. Make a request to a websocket
3. Crash
Expected behavior (be clear and concise)
It should not crash upon a websocket request
How is http-proxy-middleware used in your project?
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
When I attempt to connect to a proxied websocket, it crashes
The error:
Step-by-step reproduction instructions
Expected behavior (be clear and concise)
It should not crash upon a websocket request
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
The text was updated successfully, but these errors were encountered: