mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.81k stars 968 forks source link

[Errno -9] Address family for hostname not supported #6423

Open ZenoArrows opened 6 hours ago

ZenoArrows commented 6 hours ago

When using the --source-address option to bind to a wireguard interface the connections will time out with the following error:

[patreon][error] HttpError: ConnectionError: HTTPSConnectionPool(host='www.patreon.com', port=443): Max retries exceeded with url: /posts (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7b9e65d31820>: Failed to resolve 'www.patreon.com' ([Errno -9] Address family for hostname not supported)"))
mikf commented 5 hours ago

Can you replicate this error with yt-dlp / youtube-dl or does --source-address work for you there?


I found this one other issue where someone else got the same error message: https://github.com/psf/requests/issues/2008#issuecomment-311632069