stomp-js
stomp-js copied to clipboard
can`t read the property trim of 'undefind
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.
+1
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"...