-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
stompClientDidConnect not called with Spring boot #35
Comments
The solution is to downgrade Spring boot from 2.1.2.RELEASE to 2.0.8.RELEASE. Spent more than half a day for this :( |
Hello guys, today I had the same problem and I've found a way to fix it without downgrading (it wasn't an option for me). Basically we need to send the accept-versions header with the CONNECT command:
Check this commit for more info on where to put it: (the real change is just one line, all the rest is just spacing caused by the formatter) @WrathChaos can you please integrate it in the next release? @DavidTomic you can use my fork in the meantime Thanks, |
Please @DavidTomic or @WrathChaos can you also reopen this issue? Thanks, |
Hello @demetrio812, |
i got same problem.. i can help if u did resovle it.. |
Hello @demetrio812 , @abbasqamar and @DavidTomic, Version 1.3.0 |
I tried Version 1.3.0 but it's still not working. I also tested with @DavidTomic repo and it worked well. |
Hello @duannl, |
@WrathChaos I'm sorry, because of company's policy, I cannot provide the code. I also tested with the commit in the below link and it worked: |
I'm also experiencing the same issue. on SpringBoot 2.1.6 |
@mleatherb It should work on the latest release. Which version are you working on? |
Hi,
I know this is more Spring boot question but hopefully, someone can help me here.
I am trying to establish a connection using this lib and Spring boot.
I have a Spring boot project with only one file added:
I published above code here:
ws://35.159.46.108:8080/hello/websocket
When I start StompClientLib-Example with above ws url I only get
"WebSocket is connected"
and never get
"stompClientDidConnect"
Please help me, thank you.
The text was updated successfully, but these errors were encountered: