Advertisement
swimmerhair

Swimbot Error

Dec 14th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.18 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 114, in rename
  5.     tag_list = await COC.swimbot(str(member.id)).player_list
  6.   File "c:\Users\wmiller\Desktop\Swimbot\COC.py", line 183, in player_list
  7.     async for document in accounts.find({'discord_id':self.input}):
  8.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\motor\core.py", line 1113, in next
  9.     if self.alive and (self._buffer_size() or await self._get_more()):
  10.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 52, in run
  11.     result = self.fn(*self.args, **self.kwargs)
  12.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\cursor.py", line 1100, in _refresh
  13.     self.__session = self.__collection.database.client._ensure_session()
  14.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1816, in _ensure_session
  15.     return self.__start_session(True, causal_consistency=False)
  16.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1766, in __start_session
  17.     server_session = self._get_server_session()
  18.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\mongo_client.py", line 1802, in _get_server_session
  19.     return self._topology.get_server_session()
  20.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\topology.py", line 490, in get_server_session
  21.     self._select_servers_loop(
  22.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\pymongo\topology.py", line 215, in _select_servers_loop
  23.     raise ServerSelectionTimeoutError(
  24. pymongo.errors.ServerSelectionTimeoutError: swimbot-shard-00-01-6mola.mongodb.net:27017: [WinError 10054] An existing connection was forcibly closed by the remote host,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, Timeout: 30s, Topology Description: <TopologyDescription id: 5fd7fde2e74c5021664823a3, 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('swimbot-shard-00-01-6mola.mongodb.net:27017: [WinError 10054] An existing connection was forcibly closed by the remote host')>, <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')>]>
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement