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
Thanks for the report and sorry for the inconvenience. I suspect that this regression is caused by the changes for #26813. Specifically, I think the lower-casing has corrupted the value of the sec-websocket-key header.
snicoll
changed the title
Spring boot dev tools live reload server is broken in 2.5.2
Could not connect to Live Reload server anymore using Devtools
Jul 7, 2021
Follow the steps here:
https://spring.io/quickstart
Add spring dev tools as a dependency during project configuration here https://start.spring.io/
Use 2.5.2 version
Install Live reload extension for Chrome: https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei/related
Run the app using
mvn spring-boot:run
.Open browser
http://localhost:8080/hello
.Click on the Live reload extension button.
There will be an error shown in the popup : see attached image.
The problem is : JS WebSocket class can't connect to the server.
If I write the code in the Chrome console
ws = new WebSocket("ws://localhost:35729");
then it fails with error.Everything works fine with
2.5.1
version.The text was updated successfully, but these errors were encountered: