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
and from time to time (on daily basis) it crashes with the following
traceback. To me, it doesn't look like an exception that I am supposed
to catch in my code but rather a bug. But I may be wrong, I am a
fedora-messaging newbie :-)
[INFO fedora_messaging.twisted.consumer] Successfully consumed message from topic org.fedoraproject.prod.buildsys.task.state.change (message id ed262706-2d25-47fa-b43a-62b990424b81)
[ERROR pika.adapters.twisted_connection] connection_lost: Error([('SSL routines', '', 'unexpected eof while reading')])
[ERROR fedora_messaging.cli] Unexpected error occurred in consumer Consumer(queue=amq.gen-AVQalMHEgxxzEaZd_MBXhA, callback=<function consume at 0x7fbefc7b5ea0>): <twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', '', 'une
xpected eof while reading')]>
[INFO twisted] <twisted.internet.tcp.Connector instance at 0x7fbefb9ea080 disconnected IPv4Address(type='TCP', host='rabbitmq.fedoraproject.org', port=5671)> will retry in 2 seconds
[INFO twisted] Stopping factory FedoraMessagingFactoryV2(parameters=<URLParameters host=rabbitmq.fedoraproject.org port=5671 virtual_host=/public_pubsub ssl=True>, confirms=True)
[INFO fedora_messaging.twisted.protocol] Disconnect requested, but AMQP connection already gone
[INFO fedora_messaging.twisted.protocol] Disconnect requested, but AMQP connection already gone
[INFO twisted] Main loop terminated.
Unhandled error in Deferred:
[CRITICAL twisted] Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 763, in _startRunCallbacks
self._runCallbacks()
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 1750, in gotResult
current_context.run(_inlineCallbacks, r, gen, status)
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 1740, in _inlineCallbacks
status.deferred.errback()
--- <exception caught here> ---
File "/usr/lib/python3.10/site-packages/fedora_messaging/twisted/consumer.py", line 340, in cancel
yield self._channel.basic_cancel(consumer_tag=self._tag)
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 1656, in _inlineCallbacks
result = current_context.run(
File "/usr/lib/python3.10/site-packages/twisted/python/failure.py", line 514, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/python3.10/site-packages/fedora_messaging/twisted/consumer.py", line 172, in _read
yield self._read_one(queue_object)
File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 1656, in _inlineCallbacks
result = current_context.run(
File "/usr/lib/python3.10/site-packages/twisted/python/failure.py", line 514, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/python3.10/site-packages/fedora_messaging/twisted/consumer.py", line 179, in _read_one
channel, delivery_frame, properties, body = yield deferred_get
File "/usr/lib/python3.10/site-packages/twisted/protocols/tls.py", line 275, in _flushReceiveBIO
bytes = self._tlsConnection.recv(2 ** 15)
File "/usr/lib/python3.10/site-packages/OpenSSL/SSL.py", line 1768, in recv
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3.10/site-packages/OpenSSL/SSL.py", line 1632, in _raise_ssl_error
_raise_current_error()
File "/usr/lib/python3.10/site-packages/OpenSSL/_util.py", line 57, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', '', 'unexpected eof while reading')]
I am running my consumer like this:
PYTHONPATH=. fedora-messaging --conf fedora.toml consume --callback="fedora_review_service.consumer:consume"
and from time to time (on daily basis) it crashes with the following
traceback. To me, it doesn't look like an exception that I am supposed
to catch in my code but rather a bug. But I may be wrong, I am a
fedora-messaging newbie :-)
Package version:
python3-fedora-messaging-3.2.0-5.fc36.noarch
The text was updated successfully, but these errors were encountered: