Bug 1144587 - Cannot query Bodhi: ServerError(https://admin.fedoraproject.org/updates/list, -1, Request timed out after 120.0 seconds)
Summary: Cannot query Bodhi: ServerError(https://admin.fedoraproject.org/updates/list,...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: bodhi
Version: 22
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-19 20:06 UTC by Andre Robatino
Modified: 2016-09-20 02:46 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-16 12:34:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andre Robatino 2014-09-19 20:06:51 UTC
Description of problem:
fedora-easy-karma always times out on F21. I first noticed it yesterday (2014-09-18). Confirmed by roshi, so it seems to affect everyone on F21. I don't see it on F20, but I don't have any updates-testing packages on F20.

[andre@localhost ~]$ fedora-easy-karma --fas-username=robatino --debug
Getting list of installed packages...
DEBUG: starting yum query - timedelta: 0:00:00.023401
Waiting for Bodhi for a list of packages in updates-testing (F21)...
DEBUG: starting bodhi query - timedelta: 0:00:01.547188
Cannot query Bodhi: ServerError(https://admin.fedoraproject.org/updates/list, -1, Request timed out after 120.0 seconds)
[andre@localhost ~]$

Version-Release number of selected component (if applicable):
python-fedora-0.3.36-1.fc21.noarch
bodhi-client-0.9.12.2-1.fc21.noarch
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc21.noarch

How reproducible:
always

Comment 1 Andre Robatino 2014-09-20 21:24:41 UTC
Forgot to mention that accessing https://admin.fedoraproject.org/updates/list directly via a browser works fine, for some reason. Also the bodhi web interface in general. But as of today, f-e-k still times out.

Comment 2 Andre Robatino 2014-09-23 17:52:22 UTC
fedora-easy-karma is working again today. Don't know if it's the first day since I haven't checked in the last day or two.

Comment 3 Andre Robatino 2014-10-20 16:20:28 UTC
I am seeing this problem again. A day or two ago I was able to get in after 3 attempts, since then I've tried twice about half a dozen times each and it never works. Again, accessing https://admin.fedoraproject.org/updates/list directly via a browser works fine.

Comment 4 Devin Henderson 2014-10-27 19:22:42 UTC
I'm getting this as well and I can access the URL directly in a browser.

Comment 5 Andre Robatino 2014-11-01 17:34:59 UTC
Working now in F21, after doing today's updates from updates-testing. I think I also tried it a few hours ago after the stable push, and it wasn't working at that time.

Comment 6 Devin Henderson 2014-11-01 20:50:16 UTC
Its working for me now as well.

Comment 7 Andre Robatino 2014-11-05 20:22:35 UTC
As of today, busted again. I'm guessing it won't work again until shortly before Final release.

Comment 8 Andre Robatino 2014-11-10 06:26:32 UTC
Working again.

Comment 9 Andre Robatino 2014-11-25 22:24:32 UTC
Broken again.

Comment 10 Mukundan Ragavan 2014-12-21 22:40:16 UTC
Seems to have cropped again. :(

Comment 11 Brad Watson 2015-04-03 03:37:29 UTC
Broken here for over 24 hours:

fedora-easy-karma --fas-username XXXX --include-commented --default-comment="Personal LAMP and mail server running GNOME. All OK." --default-karma=1

Cannot query Bodhi: ServerError(https://admin.fedoraproject.org/updates/list, -1, Request timed out after 120.0 seconds)

Comment 12 Brad Watson 2015-04-05 18:12:34 UTC
I'm sorry, I don't know what "Version: 21 → 22" means.

Comment 13 Andre Robatino 2015-04-05 18:18:03 UTC
It's also happening on F22, so I changed the Version this bug is assigned to.

Comment 14 Brad Watson 2015-04-07 05:08:53 UTC
OK, thanks.

Comment 15 Andre Robatino 2015-04-12 18:22:59 UTC
Bodhi ticket: https://fedorahosted.org/bodhi/ticket/778

Comment 16 Ankur Sinha (FranciscoD) 2015-04-16 12:24:07 UTC
I seem to be getting this again today. Not really sure how to begin debugging this. 

fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc22.noarch

Comment 17 Patrick Uiterwijk 2015-04-16 12:34:21 UTC
Hi, note that this is not a bug in bodhi.

Rather, it's that the bodhi endpoint to return all updates is too slow, probably due to database performance issues.

This is now being tracked by the Fedora Infra team: https://fedorahosted.org/fedora-infrastructure/ticket/4729

Comment 18 Ankur Sinha (FranciscoD) 2015-04-16 12:51:53 UTC

Temporary workaround is to add

bc.timeout = 300

at line 296 in /usr/bin/fedora-easy-karma


Note You need to log in before you can comment on or make changes to this bug.