-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection refused with shards #15
Comments
Need logs |
So My bot is horizontally sharded meaning U have shard ids 0,1 in process 1, 2,3 in process 2, and so on, and it seems when doing bot.ipc.start the following is returned for the second process Traceback (most recent call last):
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/jishaku/features/python.py", line 189, in jsk_python2
async for send, result in AsyncSender(executor): # type: ignore
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/jishaku/functools.py", line 124, in _internal
value = await base.asend(self.send_value)
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/jishaku/repl/compilation.py", line 154, in traverse
async for send, result in AsyncSender(func_g(*self.args)): # type: ignore
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/jishaku/functools.py", line 124, in _internal
value = await base.asend(self.send_value)
File "<repl>", line 1, in _repl_coroutine
await bot.ipc.start()
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/winerp/client.py", line 133, in start
await self.__connect()
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/winerp/client.py", line 101, in __connect
self.websocket = await websockets.connect(
File "/root/.mamba/envs/rival/lib/python3.9/site-packages/websockets/legacy/client.py", line 650, in __await_impl_timeout__
return await asyncio.wait_for(self.__await_impl__(), self.open_timeout)
ConnectionRefusedError: [Errno 111] Connection refused |
Can you please share how you initialize client in the processes? Also, are your proccess and winerp-server hosted on the same server, or connected through internet? Are you using localhost? Or ipv4 address or something? |
connection refused error 111
ufw already disabled nothing running on the specified port
The text was updated successfully, but these errors were encountered: