Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

can`t read the property trim of 'undefind #42

Open
srinivas1918 opened this issue Sep 8, 2015 · 2 comments
Open

can`t read the property trim of 'undefind #42

srinivas1918 opened this issue Sep 8, 2015 · 2 comments

Comments

@srinivas1918
Copy link

D:\snalla\nodejsexp\mqExp\node_modules\stomp\lib\stomp.js:54
headers[header[0].trim()] = header[1].trim() ^
TypeError: Cannot read property 'trim' of undefined
at parse_headers (D:\snalla\nodejsexp\mqExp\node_modules\stomp\lib\stomp.js:
54:46)
at parse_frame (D:\snalla\nodejsexp\mqExp\node_modules\stomp\lib\stomp.js:76
:15)
at Socket. (D:\snalla\nodejsexp\mqExp\node_modules\stomp\lib\stom
p.js:160:28)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)

@QAnders
Copy link

QAnders commented Jan 31, 2018

+1

@QAnders
Copy link

QAnders commented Jan 31, 2018

Ok, I got rid of this... The server is requiring SSL (TLS) so when I added SSL it started working.
The error is not very describing though... :)

I would, thus, interpret this error as "connections failed"...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants