I am facing same issue with below dependencies - Spring Missing CORS headers defined in SockJS CORS configuration

Access to XMLHttpRequest at 'http://localhost:8888/chat/info?t=1706732717435' from origin 'http://localhost:8889' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Steps are similar to - https://github.com/spring-projects/spring-framework/issues/23843

Comment From: bclozel

I dont think it's similar. Please provide a minimal sample application that reproduces the issue. This means removing all dependencies that are not strictly required. I'm seeing a mix of mvc and WebFlux dependencies and it is not clear why. Thanks!

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Comment From: backsft

this is the samething happening with me . man gateway cors is not giving allow for handshaking