Bug 1952370 - [abrt] fedora-easy-karma: increment(): adapters.py:507:send:requests.exceptions.RetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))
Summary: [abrt] fedora-easy-karma: increment(): adapters.py:507:send:requests.exceptio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-easy-karma
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora QA Tools SIG
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6444aa4c883a0a81c0150ee9783...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-22 07:26 UTC by František Zatloukal
Modified: 2021-05-28 01:00 UTC (History)
3 users (show)

Fixed In Version: fedora-easy-karma-0-0.47.20210526gitfa76ab7.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-28 01:00:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.00 KB, text/plain)
2021-04-22 07:26 UTC, František Zatloukal
no flags Details
File: cpuinfo (2.51 KB, text/plain)
2021-04-22 07:26 UTC, František Zatloukal
no flags Details
File: environ (2.99 KB, text/plain)
2021-04-22 07:26 UTC, František Zatloukal
no flags Details
File: mountinfo (3.98 KB, text/plain)
2021-04-22 07:26 UTC, František Zatloukal
no flags Details
File: namespaces (172 bytes, text/plain)
2021-04-22 07:26 UTC, František Zatloukal
no flags Details
File: open_fds (373 bytes, text/plain)
2021-04-22 07:26 UTC, František Zatloukal
no flags Details

Description František Zatloukal 2021-04-22 07:26:38 UTC
Description of problem:
Tried easy karma with non-existing username.

Primarily to test F34 bug reporting for GA, but this is a real issue anyway.

Version-Release number of selected component:
fedora-easy-karma-0-0.46.20200427git6fc0f39.fc34

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-e4ed9eda-ff68-48c6-8f33-7893371ca7a6.scope
cmdline:        /usr/bin/python3 -s /usr/bin/fedora-easy-karma ??
crash_function: increment
exception_type: urllib3.exceptions.MaxRetryError
executable:     /usr/bin/fedora-easy-karma
interpreter:    python3-3.9.2-1.fc34.x86_64
kernel:         5.11.12-300.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
adapters.py:507:send:requests.exceptions.RetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 817, in urlopen
    return self.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 817, in urlopen
    return self.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 817, in urlopen
    return self.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 807, in urlopen
    retries = retries.increment(method, url, response=response, _pool=self)
  File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/fedora-easy-karma", line 851, in <module>
    fek = FedoraEasyKarma()
  File "/usr/bin/fedora-easy-karma", line 500, in __init__
    csrf = bc.csrf()
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 117, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 616, in csrf
    self.login(self.username, self.password)
  File "/usr/lib/python3.9/site-packages/fedora/client/openidbaseclient.py", line 303, in login
    response = openid_login(
  File "/usr/lib/python3.9/site-packages/fedora/client/openidproxyclient.py", line 129, in openid_login
    response = session.post(
  File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 507, in send
    raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))

Local variables in innermost frame:
self: <requests.adapters.HTTPAdapter object at 0x7f2d31f0f760>
request: <PreparedRequest [POST]>
stream: False
timeout: Timeout(connect=None, read=None, total=None)
verify: True
cert: None
proxies: OrderedDict()
conn: <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f2d31f20d90>
url: '/api/v1/'
chunked: False

Comment 1 František Zatloukal 2021-04-22 07:26:42 UTC
Created attachment 1774332 [details]
File: backtrace

Comment 2 František Zatloukal 2021-04-22 07:26:43 UTC
Created attachment 1774333 [details]
File: cpuinfo

Comment 3 František Zatloukal 2021-04-22 07:26:45 UTC
Created attachment 1774334 [details]
File: environ

Comment 4 František Zatloukal 2021-04-22 07:26:46 UTC
Created attachment 1774335 [details]
File: mountinfo

Comment 5 František Zatloukal 2021-04-22 07:26:48 UTC
Created attachment 1774336 [details]
File: namespaces

Comment 6 František Zatloukal 2021-04-22 07:26:49 UTC
Created attachment 1774337 [details]
File: open_fds

Comment 7 Fedora Update System 2021-05-26 13:48:28 UTC
FEDORA-2021-6167dfbeba has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6167dfbeba

Comment 8 Fedora Update System 2021-05-27 01:32:16 UTC
FEDORA-2021-6167dfbeba has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6167dfbeba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-6167dfbeba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-05-28 01:00:29 UTC
FEDORA-2021-6167dfbeba has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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