Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
- ret = await coro(*args, **kwargs)
- File "c:\Users\wmiller\Desktop\Swimbot\whois.py", line 217, in whois
- async for document in accounts.find({'discord_id':str(ctx.message.raw_mentions[0])}):
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\motor\core.py", line 1113, in next
- if self.alive and (self._buffer_size() or await self._get_more()):
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 52, in run
- result = self.fn(*self.args, **self.kwargs)
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\cursor.py", line 1100, in _refresh
- self.__session = self.__collection.database.client._ensure_session()
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1816, in _ensure_session
- return self.__start_session(True, causal_consistency=False)
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1766, in __start_session
- server_session = self._get_server_session()
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1802, in _get_server_session
- return self._topology.get_server_session()
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\topology.py", line 490, in get_server_session
- self._select_servers_loop(
- File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\topology.py", line 215, in _select_servers_loop
- raise ServerSelectionTimeoutError(
- pymongo.errors.ServerSelectionTimeoutError: swimbot-shard-00-00-6mola.mongodb.net:27017: [WinError 10054] An existing connection was forcibly closed by the remote host,swimbot-shard-00-02-6mola.mongodb.net:27017: [WinError 10054] An existing connection was forcibly closed by the remote host,connection closed, Timeout: 30s, Topology Description: <TopologyDescription id: 5fd9034c925d458f5bfbebb8, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('swimbot-shard-00-00-6mola.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('swimbot-shard-00-00-6mola.mongodb.net:27017: [WinError 10054] An existing connection was forcibly closed by the remote host')>, <ServerDescription ('swimbot-shard-00-01-6mola.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('connection closed')>, <ServerDescription ('swimbot-shard-00-02-6mola.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('swimbot-shard-00-02-6mola.mongodb.net:27017: [WinError 10054] An existing connection was forcibly closed by the remote host')>]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement