Advertisement
casual_kikoo

Untitled

Apr 18th, 2019
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
  3. (self._dns_host, self.port), self.timeout, **extra_kw)
  4. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 80, in create_connection
  5. raise err
  6. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 70, in create_connection
  7. sock.connect(sa)
  8. TimeoutError: [Errno 60] Operation timed out
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
  14. chunked=chunked)
  15. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
  16. self._validate_conn(conn)
  17. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
  18. conn.connect()
  19. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
  20. conn = self._new_conn()
  21. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
  22. self, "Failed to establish a new connection: %s" % e)
  23. urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x104f35588>: Failed to establish a new connection: [Errno 60] Operation timed out
  24.  
  25. During handling of the above exception, another exception occurred:
  26.  
  27. Traceback (most recent call last):
  28. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
  29. timeout=timeout
  30. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
  31. _stacktrace=sys.exc_info()[2])
  32. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
  33. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  34. 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'))
  35.  
  36. During handling of the above exception, another exception occurred:
  37.  
  38. Traceback (most recent call last):
  39. File "ClientTraining/main.py", line 3, in <module>
  40. client = client_training.ClientTraining()
  41. File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 29, in __init__
  42. self.login()
  43. File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 59, in login
  44. self.create_user() if 'y' in answer.lower() else self.login_user()
  45. File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 142, in login_user
  46. self.define_training_mode()
  47. File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 154, in define_training_mode
  48. self.client_conversationnel()
  49. File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 184, in client_conversationnel
  50. chatbot_message = self.get_chatbot_last_message()
  51. File "/Users/theobertacchini/Projects/EIP/aura-ia/ClientTraining/client_training.py", line 236, in get_chatbot_last_message
  52. json_obj = self.bytes_to_json_decoder(requests.get(url=url, headers=self.headers))
  53. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/api.py", line 75, in get
  54. return request('get', url, params=params, **kwargs)
  55. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/api.py", line 60, in request
  56. return session.request(method=method, url=url, **kwargs)
  57. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
  58. resp = self.send(prep, **send_kwargs)
  59. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
  60. r = adapter.send(request, **kwargs)
  61. File "/Users/theobertacchini/Projects/EIP/aura-ia/aura-ia-venv/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
  62. raise ConnectionError(e, request=request)
  63. 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