Problem was in home controller
@RestController
public class HomeController {
@RequestMapping("/{path:[^\\.]*}")
public String redirectToReact() {
return "forward:/index.html";
}
}
that was blocking requests from websocket, so if you should check if u have the same thing if u got the same problem