Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Python SSL support is unavailable
@ 2020-05-15 19:45 imrn
  2020-05-15 19:52 ` Hoshpak
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: imrn @ 2020-05-15 19:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

New 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."))


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-05-16 18:49 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 19:45 [ISSUE] Python SSL support is unavailable 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 ` [ISSUE] [CLOSED] " imrn
2020-05-16 18:49 ` imrn

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).