-
-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rabbitmq connection closed when the error CommandStatus.ESME_RSUBMITFAIL is encountered #1234
Comments
found latest dlr.py version and applying it |
didnt work - seems when amqp connection is closed due to error, the consumers are not reading from the queues even after Jasmin tries to reconnect. the error keeps repeating at least once a day and only solution is to restart jasmin. 2024-10-11 16:11:24.207005+00:00 [error] <0.607.0> supervisor: {<0.607.0>,rabbit_channel_sup} |
All outgoing SMS messages are stopped when we observed the ESME response CommandStatus.ESME_RSUBMITFAIL is returned.
using the logs, we see that this is due to an exception in rsubmitfail
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/jasmin/managers/dlr.py", line 108, in rejectMessage
yield self.amqpBroker.chan.basic_reject(delivery_tag=message.delivery_tag, requeue=requeue)
File "", line 3, in basic_reject
File "/usr/local/lib/python3.11/site-packages/twisted/internet/defer.py", line 1905, in unwindGenerator
return _cancellableInlineCallbacks(gen)
File "/usr/local/lib/python3.11/site-packages/twisted/internet/defer.py", line 1815, in _cancellableInlineCallbacks
_inlineCallbacks(None, gen, status)
--- ---
File "/usr/local/lib/python3.11/site-packages/jasmin/managers/dlr.py", line 108, in rejectMessage
yield self.amqpBroker.chan.basic_reject(delivery_tag=message.delivery_tag, requeue=requeue)
File "/usr/local/lib/python3.11/site-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
result = current_context.run(gen.send, result)
File "/usr/local/lib/python3.11/site-packages/txamqp/protocol.py", line 72, in invoke
self._raise_closed(self.reason)
File "/usr/local/lib/python3.11/site-packages/txamqp/protocol.py", line 125, in _raise_closed
raise ConnectionClosed(reason)
txamqp.client.ConnectionClosed: Method(name=close, id=50) (541, 'INTERNAL_ERROR', 0, 0) content = None
The text was updated successfully, but these errors were encountered: