Issue: Cannot read properties of undefined (reading 'idle_time_out').
We have a service running and randomly crashes (last time after a week it was running).
Error: Unhandled error. ({
_context: TypeError: Cannot read properties of undefined (reading 'idle_time_out')
at Connection.output (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:513:59)
at Connection.input (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:581:18)
at TLSSocket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at TLSSocket.Readable.push (node:internal/streams/readable:278:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
at TLSWrap.callbackTrampoline (node:internal/async_hooks:128:17),
connection: CoreAmqpConnection {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
actionInitiated: 0,
_connection: Connection {
options: [Object],
container: undefined,
registered: false,
state: [EndpointState],
local_channel_map: {},
remote_channel_map: {},
local: [Object],
remote: {},
session_policy: [Object],
amqp_transport: [Transport],
sasl_transport: [SaslClient],
transport: [SaslClient],
conn_established_counter: 2,
heartbeat_out: undefined,
heartbeat_in: undefined,
abort_idle: undefined,
socket_ready: false,
scheduled_reconnect: undefined,
default_sender: undefined,
closed_with_non_fatal_error: false,
_events: [Object: null prototype],
_eventsCount: 13,
_maxListeners: 1000,
is_server: false,
socket: [TLSSocket],
saved_error: TypeError: Cannot read properties of undefined (reading 'idle_time_out')
at Connection.output (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:513:59)
at Connection.input (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:581:18)
at TLSSocket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at TLSSocket.Readable.push (node:internal/streams/readable:278:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
at TLSWrap.callbackTrampoline (node:internal/async_hooks:128:17)
},
container: Container {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_container: [Container],
options: [Object],
[Symbol(kCapture)]: false
},
options: {
transport: 'tls',
host: 'XXXXXXXXXX',
hostname: 'XXXXXXXXXX',
username: 'XXXXXXXXXXXXXX',
port: 5671,
reconnect: false,
properties: [Object],
idle_time_out: 60000,
operationTimeoutInSeconds: 60,
servername: 'XXXXXXXXXXXX',
id: 'connection-20',
container_id: 'XXXXXXXXXXXXXXXXXX',
connection_details: [Function (anonymous)]
},
[Symbol(kCapture)]: false
},
container: Container {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_container: Container {
options: [Object],
id: 'XXXXXXXXXXXXXXXXXXXX',
sasl_server_mechanisms: {}
},
options: { id: 'XXXXXXXXXXXXXXXXXXXXXXX' },
[Symbol(kCapture)]: false
}
})
Issue: Cannot read properties of undefined (reading 'idle_time_out').
We have a service running and randomly crashes (last time after a week it was running).
stack trace:
Error: Unhandled error. ({ _context: TypeError: Cannot read properties of undefined (reading 'idle_time_out') at Connection.output (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:513:59) at Connection.input (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:581:18) at TLSSocket.emit (node:events:517:28) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at TLSSocket.Readable.push (node:internal/streams/readable:278:10) at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) at TLSWrap.callbackTrampoline (node:internal/async_hooks:128:17), connection: CoreAmqpConnection { _events: [Object: null prototype] {}, _eventsCount: 0, _maxListeners: undefined, actionInitiated: 0, _connection: Connection { options: [Object], container: undefined, registered: false, state: [EndpointState], local_channel_map: {}, remote_channel_map: {}, local: [Object], remote: {}, session_policy: [Object], amqp_transport: [Transport], sasl_transport: [SaslClient], transport: [SaslClient], conn_established_counter: 2, heartbeat_out: undefined, heartbeat_in: undefined, abort_idle: undefined, socket_ready: false, scheduled_reconnect: undefined, default_sender: undefined, closed_with_non_fatal_error: false, _events: [Object: null prototype], _eventsCount: 13, _maxListeners: 1000, is_server: false, socket: [TLSSocket], saved_error: TypeError: Cannot read properties of undefined (reading 'idle_time_out') at Connection.output (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:513:59) at Connection.input (/common/temp/node_modules/.pnpm/rhea@3.0.2/node_modules/rhea/lib/connection.js:581:18) at TLSSocket.emit (node:events:517:28) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at TLSSocket.Readable.push (node:internal/streams/readable:278:10) at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) at TLSWrap.callbackTrampoline (node:internal/async_hooks:128:17) }, container: Container { _events: [Object: null prototype] {}, _eventsCount: 0, _maxListeners: undefined, _container: [Container], options: [Object], [Symbol(kCapture)]: false }, options: { transport: 'tls', host: 'XXXXXXXXXX', hostname: 'XXXXXXXXXX', username: 'XXXXXXXXXXXXXX', port: 5671, reconnect: false, properties: [Object], idle_time_out: 60000, operationTimeoutInSeconds: 60, servername: 'XXXXXXXXXXXX', id: 'connection-20', container_id: 'XXXXXXXXXXXXXXXXXX', connection_details: [Function (anonymous)] }, [Symbol(kCapture)]: false }, container: Container { _events: [Object: null prototype] {}, _eventsCount: 0, _maxListeners: undefined, _container: Container { options: [Object], id: 'XXXXXXXXXXXXXXXXXXXX', sasl_server_mechanisms: {} }, options: { id: 'XXXXXXXXXXXXXXXXXXXXXXX' }, [Symbol(kCapture)]: false } })