Closed SergeyHat closed 1 year ago
Automated: 👋 Thanks for reporting this issue. @acheong08 will review it shortly. In the meantime, please check to see if there are any similar issues already closed.
This issue is stale because it has been open for 2 days with no activity.
I met the same question
Looks like a proxy issue.
socks.SOCKS5Error: 0x01: General SOCKS server failure
Out of scope
Is there an existing issue for this?
What happened?
When trying to use the Tor proxy, an error occurs. Traceback (most recent call last): File “C:\Users\Sergey\PY\Lib\site-packages\socks.py”, line 809, in connect negotiate(self, dest_addr, dest_port) File “C:\Users\Sergey\PY\Lib\site-packages\socks.py”, line 443, in _negotiate_SOCKS5 self.proxy_peername, self.proxy_sockname = self._SOCKS5_request( ^^^^^^^^^^^^^^^^^^^^^ File “C:\Users\Sergey\PY\Lib\site-packages\socks.py”, line 533, in _SOCKS5_request raise SOCKS5Error(”{:#04x}: {}“.format(status, error)) socks.SOCKS5Error: 0x01: General SOCKS server failure. All I found is that Tor does not support direct IP addresses.
Steps to reproduce the problem
Run Tor through stem by specifying in the config file (or as I did, passed directly "config={ 'SocksPort': str(9050), 'ControlPort': str(9051), 'UseBridges': '1', 'Bridge': first_unblocked_bridge, 'Log': ['NOTICE stdout'], 'AvoidDiskWrites': '1', 'CookieAuthentication': '1', 'DormantCanceledByStartup': '1',
Use the current working directory for obfs4proxy.exe and snowflake-client.exe files
After trying to connect proxy = 'SOCKS5://localhost:9050' bot = await Chatbot.create(cookies=cookies, proxy=proxy)"
What should have happened?
Running edgeGPT through TOR.
Version where the problem happens
version="0.3.7
What Python version are you running this with?
No response
What is your operating system ?
Windows
Command Line Arguments
Console logs
Additional information
No response