Stormpass / node-red-contrib-amqp

Amqp nodes for node-red
https://flows.nodered.org/node/@stormpass/node-red-contrib-amqp
2 stars 5 forks source link

Channel closed - after restart flows #9

Open jaroslaw81 opened 3 months ago

jaroslaw81 commented 3 months ago

After creating a flow with manual message acknowledgment, Node-RED automatically restarts with the following message. I also copied the example, and the same error occurs. The Node-RED version is 3.1.8.

[error] IllegalOperationError: Channel closed at Channel. (/usr/src/node-red/node_modules/amqplib/lib/channel.js:159:11) at C.closeBecause (/usr/src/node-red/node_modules/amqplib/lib/channel.js:211:8) at /usr/src/node-red/node_modules/amqplib/lib/channel_model.js:72:19 at node:internal/util:441:7 at new Promise () at node:internal/util:427:12 at Channel.close (/usr/src/node-red/node_modules/amqplib/lib/channel_model.js:74:7) at reconnect (/usr/src/node-red/node_modules/@stormpass/node-red-contrib-amqp/build/src/nodes/amqp-out.js:74:29) at Channel. (/usr/src/node-red/node_modules/@stormpass/node-red-contrib-amqp/build/src/nodes/amqp-out.js:110:31)

roblen45 commented 2 months ago

Same here

zba commented 2 months ago

seems it related to #5 , the crash breaks deploy making node impossible to reconfigure, I had to make rabbitmq unavalable (and also got crash when it was stopped) just to deploy, any way to workaround ?

zazin commented 3 weeks ago

I also experienced the same issue, which is an error when restarting the application.

please follow this link if you need the best solution.

https://github.com/Stormpass/node-red-contrib-amqp/issues/5#issuecomment-2150479020