Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942614 - net-misc/httpie: HTTPS connections failing with >=dev-python/requests:2.32
Summary: net-misc/httpie: HTTPS connections failing with >=dev-python/requests:2.32
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-31 15:55 UTC by Yikai Zhao
Modified: 2024-11-26 20:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yikai Zhao 2024-10-31 15:55:42 UTC
With net-misc/httpie-3.2.2:0 and dev-python/requests-2.32.3:0, httpie cannot make https connections:


$ http https://google.com

http: 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:1004)'))) while doing a GET request to URL: https://google.com/


This is a known issue in upstream, the dependent requests version should be limited to <= 2.31

https://github.com/httpie/cli/commit/7f03c52d2237440c5a672296ce6955aae4ed4f09
https://github.com/httpie/cli/issues/1583
Comment 1 pva 2024-11-26 20:11:05 UTC
I can confirm the issue. Besides a requests version I needed the following patch, to make it work:

https://github.com/httpie/cli/commit/fd30c4ef6230a927f9dcfad6301c40e8bf846156.patch