Comments (11)
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:
connectionHeaders = [StompCommands.commandHeaderAcceptVersion:"1.1,1.2"]
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,
Dem
from stompclientlib.
Hello @demetrio812,
I'm going to integrate and test it next week. Awesome work! Thank you :)
from stompclientlib.
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 :(
from stompclientlib.
Please @DavidTomic or @WrathChaos can you also reopen this issue?
Thanks,
Dem
from stompclientlib.
i got same problem.. i can help if u did resovle it..
from stompclientlib.
Hello @demetrio812 , @abbasqamar and @DavidTomic,
First of all, I'm so sorry about postponing the support of Spring boot 2.1.x.
Finally I've spent time and integrated the support of Spring boot 2.1.x also I made the compatibility Swift Version 5.
Please test it out and give me a feedback :) If there is a problem about the new 1.3.0 version, please write the issue or open a new one :)
Thank you so much!
Version 1.3.0
from stompclientlib.
I tried Version 1.3.0 but it's still not working. I also tested with @DavidTomic repo and it worked well.
from stompclientlib.
Hello @duannl,
Can you provide me with an example to work on it? I'm able to work with version 1.3.0.
from stompclientlib.
@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:
https://github.com/WrathChaos/StompClientLib/issues/43
from stompclientlib.
I'm also experiencing the same issue. on SpringBoot 2.1.6
from stompclientlib.
@mleatherb It should work on the latest release. Which version are you working on?
from stompclientlib.
Related Issues (20)
- Subscribe response HOT 3
- How can I access http response header (handshakeResponseHeaders) about handshaking? HOT 1
- Disconnecting after using autoReconnect HOT 15
- Add openSocketWithURLRequest connectionheader to websocket urlRequest's HTTPHeaderField and request additional connect function. HOT 4
- Cannot connect to socket HOT 3
- Error Domain=SRWebSocketErrorDomain Code=2132 "received bad response code from server 403" HOT 4
- Add method/flag to stop logging HOT 6
- Subscribe Issue HOT 3
- Version 2.0 HOT 12
- Received bad response code from server 403 HOT 4
- Error Domain=SRWebSocketErrorDomain Code=2132 "received bad response code from server 403" HOT 3
- Socket Disconnect after 30 min HOT 5
- misprint in code HOT 3
- Support for WatchOS HOT 2
- Swift Package Manager support? HOT 2
- Connection variable is not set to false when WebSocket receives DISCONNECT HOT 1
- Auto disconnection with error code 4500 HOT 2
- Facing Issue while sending the message HOT 1
- Privacy Manifest HOT 6
- Adding response after sent to server or not HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stompclientlib.