-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I get an SSL error when trying to download Quest of Dungeons. I can access the page without issues from the browser, but apparently Python considers the connection insecure:
INFO:root:Downloading https://dj_link.itch.io/quest-of-dungeons
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): dj_link.itch.io:443
DEBUG:urllib3.util.retry:Incremented Retry for (url='/quest-of-dungeons'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'dj_link.itch.io'. (_ssl.c:1029)"))': /quest-of-dungeons
I assume the underscore is causing the issue in this case, since by RFC 1123 host names are only made up of letters and hyphens. I'm not sure if itch-dl can do anything about this, except possibly setting some flag to make SSL checks weaker, which isn't a good idea for security though …
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels