20

I have created a new Springboot websocket app and booting it results in the following message being written to the console every two seconds.

Invalid SockJS path '/userToken/info' - required to have 3 path segments
Invalid SockJS path '/userToken/info' - required to have 3 path segments
Invalid SockJS path '/userToken/info' - required to have 3 path segments

I do not have any security dependencies in my POM, yet it appears to be a security issue? Has anyone seen this?

CootMoon
  • 522
  • 4
  • 22
stanlick
  • 1,442
  • 3
  • 16
  • 29

1 Answers1

2

This totally unclear message happens when you are connecting to the STOMP endpoint using a simple WebSocket client (without subscriptions and etc.).

Use a STOMP client, the most popular is Spring

belbix
  • 168
  • 2
  • 12