You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export const connectOptions = { host: process.env.MQ_SERVER || 'localhost', port: parseInt(process.env.MQ_PORT || '61612', 10), timeout: 5000, ssl: true, rejectUnauthorized: false, checkServerIdentity: () => { }, connectHeaders: { 'heart-beat': '5000,5000' } };
Connections comes up and works as expected, however when a network error occurs it blows up the application with an unhandled error event
`
events.js:167
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
Emitted 'error' event at:
at Client.Socket.destroy (.\node_modules\stompit\lib\Socket.js:136:12)
at TLSSocket. (.\node_modules\stompit\lib\Socket.js:48:10)
at TLSSocket.emit (events.js:187:15)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
`
The text was updated successfully, but these errors were encountered:
export const connectOptions = { host: process.env.MQ_SERVER || 'localhost', port: parseInt(process.env.MQ_PORT || '61612', 10), timeout: 5000, ssl: true, rejectUnauthorized: false, checkServerIdentity: () => { }, connectHeaders: { 'heart-beat': '5000,5000' } };
Connections comes up and works as expected, however when a network error occurs it blows up the application with an unhandled error event
`
events.js:167
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
Emitted 'error' event at:
at Client.Socket.destroy (.\node_modules\stompit\lib\Socket.js:136:12)
at TLSSocket. (.\node_modules\stompit\lib\Socket.js:48:10)
at TLSSocket.emit (events.js:187:15)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
`
The text was updated successfully, but these errors were encountered: