Git Product home page Git Product logo

Comments (7)

sjmf avatar sjmf commented on August 25, 2024

Post your RabbitMQ config please, e.g /etc/rabbitmq/rabbitmq.config. It is very likely to be your server config.

from ng2-stompjs.

trannamit95 avatar trannamit95 commented on August 25, 2024

@sjmf I have 3 files in rabbitmq folder:

rabbitmq.config.bak

[
  {rabbit, [
    {tcp_listeners, [{"::",81}]}
  ]}
].

enabled_plugins

[rabbitmq_management,rabbitmq_stomp,rabbitmq_web_stomp].

rabbitmq-env.conf

RABBITMQ_NODE_PORT=5672

from ng2-stompjs.

sjmf avatar sjmf commented on August 25, 2024

rabbitmq.config.bak will not be read, as it is a backup. According to the documentation https://www.rabbitmq.com/web-stomp.html it looks like when no config is specified it will serve from the default of 15674– which your code is hitting, presumably.

The "no response was received" makes me think that your websocket connection is never getting as far as your Rabbit server though. Could you check the port on 15674 to see if it is open?

You could also enable rabbitmq_web_stomp_examples in RabbitMQ and see if that example can open a connection to your server.

from ng2-stompjs.

kum-deepak avatar kum-deepak commented on August 25, 2024

Any further information on this issue?

If none, this issue will be closed.

from ng2-stompjs.

vittal288 avatar vittal288 commented on August 25, 2024

I am facing the same issue, we are using STOMP websocketing library but getting following error in chrome
WebSocket connection to 'wss://URL' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in the request: stomp

It could be great help if you provide the solution....it could be server side change or client side change.

from ng2-stompjs.

kum-deepak avatar kum-deepak commented on August 25, 2024

Please send additional details:

  • Which server you are using, if RabbitMQ then your rabbitmq.config
  • Full console output
  • Actual URL that you are using

If you are using RabbitMQ please see commnet #23 (comment) above.

from ng2-stompjs.

kum-deepak avatar kum-deepak commented on August 25, 2024

Closing the issue for lack of interest.

from ng2-stompjs.

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.