GithubHelp home page GithubHelp logo

netio.rb:47:in `block (2 levels) in _receive': Connected, header read is nil, is this really a Stomp Server? (Stomp::Error::StompServerError) about stomp HOT 4 CLOSED

exactor avatar exactor commented on July 24, 2024
netio.rb:47:in `block (2 levels) in _receive': Connected, header read is nil, is this really a Stomp Server? (Stomp::Error::StompServerError)

from stomp.

Comments (4)

gmallard avatar gmallard commented on July 24, 2024

Thanks for this report. At a very minimum removal of the Stomp::Error::StompServerError is a regression.

However that does nothing to help with your exact problem.

Questions:

  1. What broker?
  2. Do you have access to broker logs, and have you reviewed them? Can you post them? Broker logs can be very valuable for this kind of difficulty.
  3. Very odd behaviors can occur if the server and client have mismatched SSL configurations. Are you trying to connect to an SSL port on the broker?
  4. In the _receive method are you in a position where you can change to this:
drdbg = true

that might give us some more information.
5) Can you post your connect parameters?

I do urge you to stick with 1.4.4 for this debugging effort. Right now, I am thinking this must be an environmental setting.

from stomp.

exactor avatar exactor commented on July 24, 2024

Hi , Thanks for your promted response , sorry i was not giving too much information.
This is an internal service but i can share some of the specs.
Attempting to connect to an ssl (port 61617) domain, with username and password (both checked already)
i have tried different SSL versions without success TLSv1 , TLSv1_1, TLSv1_2...
i don't have direct access to the broker logs but i guess i will have to find out about this...

`drdgb = true

["nilcheck", false]
["wiredatain_01A", "\x00\x00\x00\xF0\x01ActiveMQ\x00\x00\x00\n", 2018-06-19 09:32:10 -0700]
["wiredatain_01B", "\x00\x00\x00\xF0\x01ActiveMQ\x00\x00\x00\n", 2018-06-19 09:32:10 -0700]
["wiredatain_02A", "\x00\x00\x00\xF0\x01ActiveMQ\x00\x00\x00\n", 2018-06-19 09:32:10 -0700]
["wiredatain_02B", "\x00\x00\x00\xF0\x01ActiveMQ\x00\x00\x00\n", 2018-06-19 09:32:10 -0700]
["wiredatain_02C", "\x01\x00\x00\x00\xDE\x00\x00\x00\t\x00\x11TcpNoDelayEnabled\x01\x01\x00\x12SizePrefixDisabled\x01\x00\x00\tCacheSize\x05\x00\x00\x04\x00\x00\x11StackTraceEnabled\x01\x01\x00\fCacheEnabled\x01\x01\x00\x14TightEncodingEnabled\x01\x01\x00\fMaxFrameSize\x06\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x15MaxInactivityDuration\x06\x00\x00\x00\x00\x00\x00u0\x00 MaxInactivityDurationInitalDelay\x06\x00\x00\x00\x00\x00\x00'\x10"]
["wiredatain_02D", "\x01\x00\x00\x00\xDE\x00\x00\x00\t\x00\x11TcpNoDelayEnabled\x01\x01\x00\x12SizePrefixDisabled\x01\x00\x00\tCacheSize\x05\x00\x00\x04\x00\x00\x11StackTraceEnabled\x01\x01\x00\fCacheEnabled\x01\x01\x00\x14TightEncodingEnabled\x01\x01\x00\fMaxFrameSize\x06\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x15MaxInactivityDuration\x06\x00\x00\x00\x00\x00\x00u0\x00 MaxInactivityDurationInitalDelay\x06\x00\x00\x00\x00\x00\x00'\x10"]
["wiredatain_02A", "\x01\x00\x00\x00\xDE\x00\x00\x00\t\x00\x11TcpNoDelayEnabled\x01\x01\x00\x12SizePrefixDisabled\x01\x00\x00\tCacheSize\x05\x00\x00\x04\x00\x00\x11StackTraceEnabled\x01\x01\x00\fCacheEnabled\x01\x01\x00\x14TightEncodingEnabled\x01\x01\x00\fMaxFrameSize\x06\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x15MaxInactivityDuration\x06\x00\x00\x00\x00\x00\x00u0\x00 MaxInactivityDurationInitalDelay\x06\x00\x00\x00\x00\x00\x00'\x10", 2018-06-19 09:32:10 -0700]
["wiredatain_02B", "\x01\x00\x00\x00\xDE\x00\x00\x00\t\x00\x11TcpNoDelayEnabled\x01\x01\x00\x12SizePrefixDisabled\x01\x00\x00\tCacheSize\x05\x00\x00\x04\x00\x00\x11StackTraceEnabled\x01\x01\x00\fCacheEnabled\x01\x01\x00\x14TightEncodingEnabled\x01\x01\x00\fMaxFrameSize\x06\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x15MaxInactivityDuration\x06\x00\x00\x00\x00\x00\x00u0\x00 MaxInactivityDurationInitalDelay\x06\x00\x00\x00\x00\x00\x00'\x10", 2018-06-19 09:32:10 -0700]
["wiredatain_02C", nil]`

from stomp.

exactor avatar exactor commented on July 24, 2024

Hey sorry to have wasted you time , it looks like the broker had turn off Stomp protocol. i can only use OpenWire. :(

from stomp.

gmallard avatar gmallard commented on July 24, 2024

Thanks for that information.

Given that I can actually recreate your failure here.

Your broker, however is going to require a stomp transport in order to use this gem. Hope you can make that happen.

Given all the above, I am closing this issue.

from stomp.

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.