GithubHelp home page GithubHelp logo

Comments (11)

demetrio812 avatar demetrio812 commented on July 17, 2024 1

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:

demetrio812@6c924ee

(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.

WrathChaos avatar WrathChaos commented on July 17, 2024 1

Hello @demetrio812,
I'm going to integrate and test it next week. Awesome work! Thank you :)

from stompclientlib.

DavidTomic avatar DavidTomic commented on July 17, 2024

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.

demetrio812 avatar demetrio812 commented on July 17, 2024

Please @DavidTomic or @WrathChaos can you also reopen this issue?

Thanks,
Dem

from stompclientlib.

abbasqamar avatar abbasqamar commented on July 17, 2024

i got same problem.. i can help if u did resovle it..

from stompclientlib.

WrathChaos avatar WrathChaos commented on July 17, 2024

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.

duannl avatar duannl commented on July 17, 2024

I tried Version 1.3.0 but it's still not working. I also tested with @DavidTomic repo and it worked well.

from stompclientlib.

WrathChaos avatar WrathChaos commented on July 17, 2024

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.

duannl avatar duannl commented on July 17, 2024

@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.

mleatherb avatar mleatherb commented on July 17, 2024

I'm also experiencing the same issue. on SpringBoot 2.1.6

from stompclientlib.

WrathChaos avatar WrathChaos commented on July 17, 2024

@mleatherb It should work on the latest release. Which version are you working on?

from stompclientlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.