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-from-socks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!