Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830524 - Bugzilla gives error 503 at the beginning of usage
Summary: Bugzilla gives error 503 at the beginning of usage
Status: IN_PROGRESS
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-03 10:15 UTC by Agostino Sarubbo
Modified: 2022-10-31 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
har recording (854189.bugs.gentoo.org.har,157.81 KB, text/plain)
2022-06-25 16:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-03 10:15:06 UTC
For who does use incognito or cache killer at the beginning of usage of bugzilla I always hit error 503.

To reproduce:
1) cleanup browser data
2) go to bugs.gentoo.org
3) open a saved-search on the bugzilla home ( Bugs reported in the last 24 hours )
4) visit a bug that contains an attachment
5) see the attachment
6) error 503

I can attach a video if needed.

Note: I reported this issue weeks ago on IRC without success.
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2022-01-24 22:09:11 UTC
Hey Ago,

Can you provide the date / time of the query so I can correlate with logfiles?

-A
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-25 08:12:20 UTC
Hi,

requests have been terminated at 1643098251 from IP 37.159.67.XXX

Thanks
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2022-04-06 16:21:20 UTC
can you please use chrome devtools and provide a HAR recording showing the 503?
Comment 4 Louis Sautier (sbraz) gentoo-dev 2022-04-06 19:52:13 UTC
I've run into this too. It seems to mostly happen when I attempt to open attachments.
e.g. https://833879.bugs.gentoo.org/attachment.cgi?id=765613 on Wed, 06 Apr 2022 19:45:04 GMT (from the server's Date header).

Using Firefox's "copy as cURL" function, I get this but I can't reproduce the problem by running it.

curl 'https://833879.bugs.gentoo.org/attachment.cgi?id=765613' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en,fr;q=0.8,fr-FR;q=0.5,en-US;q=0.3' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: https://bugs.gentoo.org/' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-User: ?1'
Comment 5 Agostino Sarubbo gentoo-dev 2022-06-25 16:53:06 UTC
Created attachment 787637 [details]
har recording

(In reply to Robin Johnson from comment #3)
> can you please use chrome devtools and provide a HAR recording showing the
> 503?

Attached. If you need something else, feel free to ask
Comment 6 Agostino Sarubbo gentoo-dev 2022-10-23 07:57:19 UTC
I also get this issue via nattka:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.8/nattka", line 8, in <module>
    sys.exit(setuptools_main())
  File "/usr/lib/python3.8/site-packages/nattka/__main__.py", line 1063, in setuptools_main
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/python3.8/site-packages/nattka/__main__.py", line 1054, in main
    return getattr(cmd, args.command.replace('-', '_'))()
  File "/usr/lib/python3.8/site-packages/nattka/__main__.py", line 251, in apply
    bugnos, bugs = self.find_bugs(arch=arch)
  File "/usr/lib/python3.8/site-packages/nattka/__main__.py", line 137, in find_bugs
    bugs = bz.find_bugs(**kwargs)
  File "/usr/lib/python3.8/site-packages/nattka/bugzilla.py", line 250, in find_bugs
    resp = self._request('bug', params=search_params).json()
  File "/usr/lib/python3.8/site-packages/nattka/bugzilla.py", line 161, in _request
    raise BugzillaError(
nattka.bugzilla.BugzillaError: Bugzilla request failed, URL: https://bugs.gentoo.org/rest/bug, put_data: None, response: b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache Server at bugs.gentoo.org Port 443</address>\n</body></html>\n'