Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
- (self._dns_host, self.port), self.timeout, **extra_kw)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 80, in create_connection
- raise err
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 70, in create_connection
- sock.connect(sa)
- TimeoutError: [Errno 60] Operation timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
- chunked=chunked)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
- self._validate_conn(conn)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
- conn.connect()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
- conn = self._new_conn()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
- self, "Failed to establish a new connection: %s" % e)
- urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x104f35588>: Failed to establish a new connection: [Errno 60] Operation timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
- timeout=timeout
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
- _stacktrace=sys.exc_info()[2])
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.projet-aura.fr', port=443): Max retries exceeded with url: /messages/8/last-message (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x104f35588>: Failed to establish a new connection: [Errno 60] Operation timed out'))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "ClientTraining/main.py", line 3, in <module>
- client = client_training.ClientTraining()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 29, in __init__
- self.login()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 59, in login
- self.create_user() if 'y' in answer.lower() else self.login_user()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 142, in login_user
- self.define_training_mode()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 154, in define_training_mode
- self.client_conversationnel()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 184, in client_conversationnel
- chatbot_message = self.get_chatbot_last_message()
- File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 236, in get_chatbot_last_message
- json_obj = self.bytes_to_json_decoder(requests.get(url=url, headers=self.headers))
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/api.py", line 75, in get
- return request('get', url, params=params, **kwargs)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/api.py", line 60, in request
- return session.request(method=method, url=url, **kwargs)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
- resp = self.send(prep, **send_kwargs)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
- r = adapter.send(request, **kwargs)
- File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
- raise ConnectionError(e, request=request)
- requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.projet-aura.fr', port=443): Max retries exceeded with url: /messages/8/last-message (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x104f35588>: Failed to establish a new connection: [Errno 60] Operation timed out'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement