Advertisement
swimmerhair

Swimbot Error

Jan 13th, 2023
1,023
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.65 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1174, in _get_socket_no_auth
  3.     sock_info = self.sockets.popleft()
  4. IndexError: pop from an empty deque
  5.  
  6. During handling of the above exception, another exception occurred:
  7.  
  8. Traceback (most recent call last):
  9.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 909, in _configured_socket
  10.     sock = ssl_context.wrap_socket(sock, server_hostname=host)
  11.   File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket
  12.     session=session
  13.   File "/usr/lib/python3.7/ssl.py", line 853, in _create
  14.     self.do_handshake()
  15.   File "/usr/lib/python3.7/ssl.py", line 1117, in do_handshake
  16.     self._sslobj.do_handshake()
  17. socket.timeout: _ssl.c:1039: The handshake operation timed out
  18.  
  19. During handling of the above exception, another exception occurred:
  20.  
  21. Traceback (most recent call last):
  22.   File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
  23.     ret = await coro(*args, **kwargs)
  24.   File "/home/pi/Swimbot/whois.py", line 221, in whois
  25.     info = await COC.swimbot(tag).get_info
  26.   File "/home/pi/Swimbot/COC.py", line 138, in get_info
  27.     account = await accounts.find_one({'_id': re.compile('^' + str(self.input) + '$', re.IGNORECASE)})
  28.   File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  29.     result = self.fn(*self.args, **self.kwargs)
  30.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/collection.py", line 1273, in find_one
  31.     for result in cursor.limit(-1):
  32.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1156, in next
  33.     if len(self.__data) or self._refresh():
  34.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1073, in _refresh
  35.     self.__send_message(q)
  36.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 955, in __send_message
  37.     address=self.__address)
  38.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1347, in _run_operation_with_response
  39.     exhaust=exhaust)
  40.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1459, in _retryable_read
  41.     exhaust=exhaust) as (sock_info,
  42.   File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
  43.     return next(self.gen)
  44.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1283, in _slaveok_for_server
  45.     with self._get_socket(server, session, exhaust=exhaust) as sock_info:
  46.   File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
  47.     return next(self.gen)
  48.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1223, in _get_socket
  49.     self.__all_credentials, checkout=exhaust) as sock_info:
  50.   File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
  51.     return next(self.gen)
  52.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1125, in get_socket
  53.     sock_info = self._get_socket_no_auth()
  54.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1177, in _get_socket_no_auth
  55.     sock_info = self.connect()
  56.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1079, in connect
  57.     sock = _configured_socket(self.address, self.opts)
  58.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 922, in _configured_socket
  59.     _raise_connection_failure(address, exc, "SSL handshake failed: ")
  60.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 281, in _raise_connection_failure
  61.     raise NetworkTimeout(msg)
  62. pymongo.errors.NetworkTimeout: SSL handshake failed: swimbot-shard-00-01-6mola.mongodb.net:27017: _ssl.c:1039: The handshake operation timed out
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement