mikf / gallery-dl

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

[e621]proxy config #5716

Open maplestory03 opened 2 weeks ago

maplestory03 commented 2 weeks ago

if I use proxy software and config use "proxy": false will repored: [root][error] HttpError: ProxyError: HTTPSConnectionPool(host='e621.net', port=443): Max retries exceeded with url: /pools/40679.json (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))) when I close the proxy software and not change the config, it will work It was still normal(use proxy software on and config use "proxy": false) on 6.1, but it started to be abnormal yesterday(6.10)

mikf commented 2 weeks ago

Your proxy software is most likely setting HTTP_PROXY and HTTPS_PROXY environment variables, which get picked up and used by requests.

Unset them before running gallery-dl, or use NO_PROXY.

Apparently this is done with SET or SETX on Windows: