-
Notifications
You must be signed in to change notification settings - Fork 12k
After upgrading from 12 to 13, the live reload websocket URL path /ws/
conflicts with the application when using the same path
#23260
New issue
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
Comments
In this case probably we can just rename the web socket path to something else. |
That would be greatly appreciated If you do this, is there any chance it would be released before july? |
…om `/ws` to `/ng-cli-ws` In some cases `/ws` caused conflicts with local websocket connections. Hence we change the dev-server web socket path to something more specific to the Angular CLI. Closes angular#23260
…om `/ws` to `/ng-cli-ws` In some cases `/ws` caused conflicts with local websocket connections. Hence we change the dev-server web socket path to something more specific to the Angular CLI. Closes angular#23260
@alan-agius4, thank you! |
…om `/ws` to `/ng-cli-ws` In some cases `/ws` caused conflicts with local websocket connections. Hence we change the dev-server web socket path to something more specific to the Angular CLI. Closes #23260
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command
Is this a regression?
yes, this worked before upgrading from 12.1.1
Description
For a couple years at work, we have used
/ws/
as the root path for websocket connections. After upgrading to angular 13 this is no longer compatible with the live re-loader because its url has been changed from/socket-nodejs/xxx/xxx/websocket
to/ws/
which conflicts with the http proxy in my case.This results in the client continuously attempting to establish a connection with
ERR_STREAM_WRITE_AFTER_END
displayed in the dev server console.I followed the upgrade guide for a complex app, but didn't see anything relevant to this change: https://update.angular.io/?l=3&v=12.0-13.0
🔬 Minimal Reproduction
localhost:8000
that establishes a websocket connections on/ws/
(the actual establishment might not be a necessary step)/ws/
requests to that server in yourproxy.config.json
:ng serve
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
It would be nice if the live reload path was made configurable
The text was updated successfully, but these errors were encountered: