3.0.0-rc.3
http://localhost:8080
npm run serve
no error
when i run dev serve, brower console print socket error.


You seem to be messing with the proxy with this proxyfile? But you don't share it.
We can't investigate you report without a proper, run able reproduction (as a guy repository)
Please provide one or we have to close this issue.

proxyFile content.
That's not a run able reproduction. I won't type the code from your screenshot to run it.
I am running into this issue too. Basically, when the / path exist, HMR websocket requests are not ignored and will be somehow proxied. This can be disabled by adding ws: false to the options, however, this will disable all websocket requests.
I am running into this issue too
+1
proxytable key 'ws' set false, this will disable all websocket requests.
In my case, I use the following configuration to proxy websocket for my site:
proxys: {
'/websocket': {
target: my_ws_server,
ws: true,
changeOrigin: true
}
}
It will cause the same problem like the issue said.
All what I do to resolve is to add a '^' :
proxys: {
'^/websocket': {
target: my_ws_server,
ws: true,
changeOrigin: true
}
}
@ChrisShen93 Cool, in which package does the ^ actually took effect?
@rayax86
Sorry for late reply.
That's for the http-proxy-middleware.
ws鏀逛负false
Why set it to ws: false, it works?
Most helpful comment
In my case, I use the following configuration to proxy websocket for my site:
It will cause the same problem like the issue said.
All what I do to resolve is to add a '^' :