[Bug 1226321] New: HTTPie SSL certificate problems with python-requests 2.32.3 (fine with 2.32.2)
https://bugzilla.suse.com/show_bug.cgi?id=1226321 Bug ID: 1226321 Summary: HTTPie SSL certificate problems with python-requests 2.32.3 (fine with 2.32.2) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Python Assignee: python-maintainers@suse.com Reporter: w01dnick@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- After update of python311-requests to version 2.32.3 HTTPie stopped accepting SSL certificates: ``` https google.com https: error: SSLError: HTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) while doing a GET request to URL: https://google.com/ ``` Downgrading python311-requests to 2.32.2 from history [1] solves the problem and HTTPie works fine again. IDK if it's a python-requests API change and this should be reported upstream. [1] https://cdn.opensuse.org/history/20240610/tumbleweed/repo/oss/noarch/ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226321 https://bugzilla.suse.com/show_bug.cgi?id=1226321#c3 --- Comment #3 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1226321) was mentioned in https://build.opensuse.org/request/show/1208547 Factory / python-requests -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226321 https://bugzilla.suse.com/show_bug.cgi?id=1226321#c7 Neal Gompa <ngompa13@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ngompa13@gmail.com --- Comment #7 from Neal Gompa <ngompa13@gmail.com> --- This seems to still be broken, and now dnf5's sphinx crashes with the following traceback: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/cmd/build.py", line 332, in build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/sphinx/application.py", line 249, in __init__ self.setup_extension(extension) File "/usr/lib/python3.11/site-packages/sphinx/application.py", line 429, in setup_extension self.registry.load_extension(self, extname) File "/usr/lib/python3.11/site-packages/sphinx/registry.py", line 448, in load_extension mod = import_module(extname) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3.11/site-packages/sphinx/builders/linkcheck.py", line 18, in <module> from requests.exceptions import ConnectionError, HTTPError, SSLError, TooManyRedirects File "/usr/lib/python3.11/site-packages/requests/__init__.py", line 164, in <module> from .api import delete, get, head, options, patch, post, put, request File "/usr/lib/python3.11/site-packages/requests/api.py", line 11, in <module> from . import sessions File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 15, in <module> from .adapters import HTTPAdapter File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 81, in <module> _preloaded_ssl_context.load_verify_locations( FileNotFoundError: [Errno 2] No such file or directory -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com