ntorquet / lmt_toolkit_analysis

A tool to check the reliability and to make some analysis of data from Live Mouse Tracker (LMT) experiments.
GNU General Public License v3.0
4 stars 1 forks source link

Error Timeout #60

Closed ntorquet closed 5 months ago

ntorquet commented 1 year ago

Error encountered : Error occurs in the Celery terminal: [2023-09-22 12:42:12,535: CRITICAL/MainProcess] Unrecoverable error: PreconditionFailed(406, 'PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more', (0, 0), '')

ntorquet commented 1 year ago

This error should come from Rabbitmq

ntorquet commented 5 months ago

I found this: https://www.rabbitmq.com/docs/consumers#acknowledgement-timeout

I try to change the advanced.config file to extend the timeout. advanced.config is in the administrator folder for Windows: C:\Users\admin\AppData\Roaming\RabbitMQ (replace admin with the appropriate account).

[ {rabbit, [ {consumer_timeout, 21600000} ]} ].

Then, from the RabbitMQ folder (in C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.14\sbin), I remove the service, and re-install it. Then I restart the service:

https://www.rabbitmq.com/docs/install-windows-manual#install-service

rabbitmq-service.bat remove rabbitmq-service.bat install rabbitmq-service.bat start

Waiting for tests to close this issue?

ntorquet commented 5 months ago

Problem solved with the solution

I found this: https://www.rabbitmq.com/docs/consumers#acknowledgement-timeout

I try to change the advanced.config file to extend the timeout. advanced.config is in the administrator folder for Windows: C:\Users\admin\AppData\Roaming\RabbitMQ (replace admin with the appropriate account).

[ {rabbit, [ {consumer_timeout, 21600000} ]} ].

Then, from the RabbitMQ folder (in C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.14\sbin), I remove the service, and re-install it. Then I restart the service:

https://www.rabbitmq.com/docs/install-windows-manual#install-service

rabbitmq-service.bat remove rabbitmq-service.bat install rabbitmq-service.bat start

Waiting for tests to close this issue?

-> This solution fixed the issue. Problem solved!