Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1174, in _get_socket_no_auth
- sock_info = self.sockets.popleft()
- IndexError: pop from an empty deque
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 909, in _configured_socket
- sock = ssl_context.wrap_socket(sock, server_hostname=host)
- File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket
- session=session
- File "/usr/lib/python3.7/ssl.py", line 853, in _create
- self.do_handshake()
- File "/usr/lib/python3.7/ssl.py", line 1117, in do_handshake
- self._sslobj.do_handshake()
- socket.timeout: _ssl.c:1039: The handshake operation timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
- ret = await coro(*args, **kwargs)
- File "/home/pi/Swimbot/whois.py", line 221, in whois
- info = await COC.swimbot(tag).get_info
- File "/home/pi/Swimbot/COC.py", line 138, in get_info
- account = await accounts.find_one({'_id': re.compile('^' + str(self.input) + '$', re.IGNORECASE)})
- File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/collection.py", line 1273, in find_one
- for result in cursor.limit(-1):
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1156, in next
- if len(self.__data) or self._refresh():
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1073, in _refresh
- self.__send_message(q)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 955, in __send_message
- address=self.__address)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1347, in _run_operation_with_response
- exhaust=exhaust)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1459, in _retryable_read
- exhaust=exhaust) as (sock_info,
- File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
- return next(self.gen)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1283, in _slaveok_for_server
- with self._get_socket(server, session, exhaust=exhaust) as sock_info:
- File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
- return next(self.gen)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1223, in _get_socket
- self.__all_credentials, checkout=exhaust) as sock_info:
- File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
- return next(self.gen)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1125, in get_socket
- sock_info = self._get_socket_no_auth()
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1177, in _get_socket_no_auth
- sock_info = self.connect()
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 1079, in connect
- sock = _configured_socket(self.address, self.opts)
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 922, in _configured_socket
- _raise_connection_failure(address, exc, "SSL handshake failed: ")
- File "/home/pi/.local/lib/python3.7/site-packages/pymongo/pool.py", line 281, in _raise_connection_failure
- raise NetworkTimeout(msg)
- pymongo.errors.NetworkTimeout: SSL handshake failed: swimbot-shard-00-01-6mola.mongodb.net:27017: _ssl.c:1039: The handshake operation timed out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement