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: RESOLVED FIXED
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: 2025-05-10 23:22 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
Comment 2 Larry the Git Cow gentoo-dev 2025-05-10 23:22:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0adf1ef57accd533611cd8f87fcf16f7e81e52ff

commit 0adf1ef57accd533611cd8f87fcf16f7e81e52ff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-10 23:19:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-10 23:20:22 +0000

    net-misc/httpie: add 3.2.4
    
    Bug: https://bugs.gentoo.org/936062
    Bug: https://bugs.gentoo.org/949484
    Closes: https://bugs.gentoo.org/942614
    Closes: https://bugs.gentoo.org/950356
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/httpie/Manifest            |  1 +
 net-misc/httpie/httpie-3.2.4.ebuild | 79 +++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)