python-requests

Unable to determine SOCKS version from socks

痴心易碎 提交于 2020-11-28 02:46:08
问题 Using proxy connection (HTTP Proxy : 10.3.100.207, Port 8080). Using python's request module's get function, getting following error: "Unable to determine SOCKS version from socks://10.3.100.207:8080/" 回答1: Try export all_proxy="socks5://10.3.100.207:8080" if you want to use socks proxy. Else export all_proxy="" for no proxy. Hope This works. :D 回答2: I resolved this problem by removing "socks:" in_all_proxy. 来源: https://stackoverflow.com/questions/39906836/unable-to-determine-socks-version

Unable to determine SOCKS version from socks

馋奶兔 提交于 2020-11-28 02:45:31
问题 Using proxy connection (HTTP Proxy : 10.3.100.207, Port 8080). Using python's request module's get function, getting following error: "Unable to determine SOCKS version from socks://10.3.100.207:8080/" 回答1: Try export all_proxy="socks5://10.3.100.207:8080" if you want to use socks proxy. Else export all_proxy="" for no proxy. Hope This works. :D 回答2: I resolved this problem by removing "socks:" in_all_proxy. 来源: https://stackoverflow.com/questions/39906836/unable-to-determine-socks-version