Advertisement
swimmerhair

Swimbot Error

Dec 15th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.86 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  3.     ret = await coro(*args, **kwargs)
  4.   File "c:\Users\wmiller\Desktop\Swimbot\whois.py", line 217, in whois
  5.     async for document in accounts.find({'discord_id':str(ctx.message.raw_mentions[0])}):
  6.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\motor\core.py", line 1113, in next
  7.     if self.alive and (self._buffer_size() or await self._get_more()):
  8.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 52, in run
  9.     result = self.fn(*self.args, **self.kwargs)
  10.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\cursor.py", line 1100, in _refresh
  11.     self.__session = self.__collection.database.client._ensure_session()
  12.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1816, in _ensure_session
  13.     return self.__start_session(True, causal_consistency=False)
  14.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1766, in __start_session
  15.     server_session = self._get_server_session()
  16.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1802, in _get_server_session
  17.     return self._topology.get_server_session()
  18.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\topology.py", line 490, in get_server_session
  19.     self._select_servers_loop(
  20.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\topology.py", line 215, in _select_servers_loop
  21.     raise ServerSelectionTimeoutError(
  22. 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')>]>
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement