Quickstart-js Socket Hang Up


While following the quickstart for guide for JavaScript, upon running yarn server I receive an error:
An error has occurred while connecting: { Error: socket hang up at createHangUpError (_http_client.js:323:15) at Socket.socketOnEnd (_http_client.js:426:23) at Socket.emit (events.js:194:15) at endReadableNT (_stream_readable.js:1125:12) at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET' }

Yarn start works as expected other than receiving a connection closed error response.
I am running node v10.15.3, CentOS 7.3.1810. Also I have successfully implemented Java services using the same Proteus. Lastly if at all related I am behind a proxy.


Hi nmarble,
I’ve seen this error crop up before when the broker was running with SSL enabled - the JS quickstart assumes no SSL. Can you confirm that your broker was started with the flag
-Dnetifi.broker.ssl.disabled=true ? Thanks!


Looks like that fixed the issue. Thank you.