General SOCKS server failure when switching identity using stem
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have Tor running on a remote server (Ubuntu) on port 9150 with the control port on 9151. I've confirmed both are running via netstat -ant. Here is my code which is eliciting the SOCKS5Error: 0x01: General SOCKS server failure error. import socks import socket socks.set_default_proxy(socks.SOCKS5, server_ip, 9150) socket.socket = socks.socksocket I can make requests from any library and successfully get responses back with a tor ip address. However the following is what causes the error: from stem import Signal from stem.control import