From: imrn <imrn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Python SSL support is unavailable
Date: Sat, 16 May 2020 20:00:56 +0200 [thread overview]
Message-ID: <20200516180056.sQc8L7SofIpvl4qYu7x99qBkVPplvY6FNY-SBzz5dXo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21994@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
Closed issue by imrn on void-packages repository
https://github.com/void-linux/void-packages/issues/21994
Description:
I don't know if it is libressl related but python ssl support is not working.
See: #20935
```python3
import http.client
conn = http.client.HTTPSConnection("www.python.org")
conn.request("GET", "/")
r1 = conn.getresponse()
print(r1.status, r1.reason)
```
terminates with:
AttributeError: module 'http.client' has no attribute 'HTTPSConnection'
Similarly:
(Install python3-requests first)
```python3
import requests
r = requests.get('https://www.python.org')
print(r.text)
```
requests.exceptions.SSLError: HTTPSConnectionPool(host='https://www.python.org', port=443): Max retries exceeded with url: / (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
next prev parent reply other threads:[~2020-05-16 18:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 19:45 [ISSUE] " imrn
2020-05-15 19:52 ` Hoshpak
2020-05-15 19:58 ` Hoshpak
2020-05-15 21:20 ` q66
2020-05-16 3:51 ` sgn
2020-05-16 4:52 ` fosslinux
2020-05-16 8:07 ` imrn
2020-05-16 8:07 ` imrn
2020-05-16 11:46 ` imrn
2020-05-16 12:02 ` Chocimier
2020-05-16 12:02 ` Chocimier
2020-05-16 12:17 ` imrn
2020-05-16 12:21 ` Chocimier
2020-05-16 12:54 ` imrn
2020-05-16 12:58 ` imrn
2020-05-16 13:02 ` imrn
2020-05-16 13:14 ` imrn
2020-05-16 13:23 ` imrn
2020-05-16 15:21 ` imrn
2020-05-16 15:22 ` imrn
2020-05-16 18:00 ` imrn
2020-05-16 18:00 ` imrn [this message]
2020-05-16 18:49 ` imrn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200516180056.sQc8L7SofIpvl4qYu7x99qBkVPplvY6FNY-SBzz5dXo@z \
--to=imrn@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).