-
Notifications
You must be signed in to change notification settings - Fork 63
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
copr-be-dev fails to post to fedora-messaging bus #3577
Comments
Work-around is to drop the message-bus config. |
it basically works (see https://apps.stg.fedoraproject.org/datagrepper/raw?category=copr&delta=172800)... it's just the staging instance of the messaging broker is sometimes unstable (rabbitmq.stg.fedoraproject.org sometimes timeouts...). I don't think we can do something about this on our side |
So last week I tried to connect to stg messaging broker instance and sometimes got timeouts (I tried this on copr-prod and copr-stg to eliminate the possibility of badly configured copr-stg and got timeouts on both). However prod messaging broker instance connected (with certificate error of course) successfully, so this is problem-related at the end of fedora messaging broker. The script I used is this: import pika
url_a = "amqps://copr.stg:@rabbitmq.stg.fedoraproject.org/%2Fpubsub"
params = pika.URLParameters(url)
connection = pika.BlockingConnection(params) that's how fedora-messaging connects to the broker, very simplified Also, telnet sometimes failed too...
But right now staging messaging broker works almost in 100% cases so I gues the staging instance is just sometimes unstable... |
AI: create ticket in fedora infra |
[2025-01-07 07:14:12,365][ INFO][PID:234943] Sending fedora-messaging bus message in build.start
[2025-01-07 07:14:43,122][ ERROR][PID:234943] Attempt 1 to publish a message failed (in /usr/lib/python3.13/site-packages/fedora_messaging/api.py:321)
[2025-01-07 07:15:13,130][ ERROR][PID:234943] Attempt 2 to publish a message failed (in /usr/lib/python3.13/site-packages/fedora_messaging/api.py:321)
The text was updated successfully, but these errors were encountered: