Bug 2176207 - [abrt] libreport-plugin-bugzilla: getaddrinfo(): adapters.py:565:send:requests.exceptions.ConnectionError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3A
Summary: [abrt] libreport-plugin-bugzilla: getaddrinfo(): adapters.py:565:send:request...
Keywords:
Status: CLOSED DUPLICATE of bug 2208742
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: abrt
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:14807e13dd13cafdf6d39b0caa7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-07 16:19 UTC by Mikhail
Modified: 2023-07-01 03:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-01 03:13:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (770 bytes, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details
File: environ (1.83 KB, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details
File: mountinfo (3.68 KB, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details
File: open_fds (329 bytes, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details
File: namespaces (171 bytes, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details
File: backtrace (5.14 KB, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details
File: cpuinfo (2.97 KB, text/plain)
2023-03-07 16:19 UTC, Mikhail
no flags Details

Description Mikhail 2023-03-07 16:19:42 UTC
Description of problem:
happens when I tries report another problem

Version-Release number of selected component:
libreport-plugin-bugzilla-2.17.8-1.fc39

Additional info:
reporter:       libreport-2.17.8
kernel:         6.3.0-0.rc1.16.fc39.x86_64+debug
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -h a9de8944c4f4f7d5851fe70589a1047730a2f776 -p Fedora
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.freedesktop.problems.applet
uid:            1000
reason:         adapters.py:565:send:requests.exceptions.ConnectionError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3Aa9de8944c4f4f7d5851fe70589a1047730a2f776%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa017408e50>: Failed to establish a new connection: [Errno -2] Name or service not known'))
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.8-1.fc39
runlevel:       N 5
exception_type: socket.gaierror
crash_function: getaddrinfo
interpreter:    python3-3.11.2-1.fc39.x86_64
comment:        happens when I tries report another problem

Truncated backtrace:
#1 [/usr/lib64/python3.11/socket.py:962] getaddrinfo
#2 [/usr/lib/python3.11/site-packages/urllib3/util/connection.py:72] create_connection
#3 [/usr/lib/python3.11/site-packages/urllib3/connection.py:174] _new_conn

Comment 1 Mikhail 2023-03-07 16:19:45 UTC
Created attachment 1948708 [details]
File: os_info

Comment 2 Mikhail 2023-03-07 16:19:47 UTC
Created attachment 1948709 [details]
File: environ

Comment 3 Mikhail 2023-03-07 16:19:48 UTC
Created attachment 1948710 [details]
File: mountinfo

Comment 4 Mikhail 2023-03-07 16:19:50 UTC
Created attachment 1948711 [details]
File: open_fds

Comment 5 Mikhail 2023-03-07 16:19:52 UTC
Created attachment 1948712 [details]
File: namespaces

Comment 6 Mikhail 2023-03-07 16:19:53 UTC
Created attachment 1948713 [details]
File: backtrace

Comment 7 Mikhail 2023-03-07 16:19:54 UTC
Created attachment 1948714 [details]
File: cpuinfo

Comment 8 Mikhail 2023-03-10 22:12:49 UTC
--- Running report_uReport ---
('report_uReport' completed successfully)

--- Skipping collect_GConf ---
No matching actions found for this event.

--- Skipping collect_vimrc_system ---
No matching actions found for this event.

--- Skipping collect_vimrc_user ---
No matching actions found for this event.

--- Skipping collect_xsession_errors ---
No matching actions found for this event.

--- Running analyze_CCpp ---
Generating backtrace
Backtrace is too big (348127 bytes), reducing depth to 512
Backtrace is too big (347205 bytes), reducing depth to 256
Backtrace is too big (347205 bytes), reducing depth to 128
Backtrace is too big (347205 bytes), reducing depth to 64
Backtrace is generated and saved, 32652 bytes

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
                       ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f728f538b90>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3A7d883ba1d598ea0d15881d2d1206cb80dc678b1e%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f728f538b90>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/reporter-bugzilla", line 512, in <module>
    bugs = bz_conn.bug_search(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/bz_connection.py", line 356, in bug_search
    response = requests.get(os.path.join(self.url, 'rest.cgi/bug'),
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3A7d883ba1d598ea0d15881d2d1206cb80dc678b1e%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f728f538b90>: Failed to establish a new connection: [Errno -2] Name or service not known'))
abrt-action-find-bodhi-update [ERROR] Search for duplicate bugs failed: None
('analyze_BodhiUpdates' exited with 2)

Comment 9 Michal Srb 2023-07-01 03:13:32 UTC

*** This bug has been marked as a duplicate of bug 2208742 ***


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