Advertisement
Guest User

Untitled

a guest
Oct 14th, 2021
702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connection.py", line 156, in _new_conn
  3. conn = connection.create_connection(
  4. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
  5. raise err
  6. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
  7. sock.connect(sa)
  8. TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen
  14. httplib_response = self._make_request(
  15. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request
  16. self._validate_conn(conn)
  17. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
  18. conn.connect()
  19. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connection.py", line 300, in connect
  20. conn = self._new_conn()
  21. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connection.py", line 168, in _new_conn
  22. raise NewConnectionError(
  23. urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x000002B070114340>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  24.  
  25. During handling of the above exception, another exception occurred:
  26.  
  27. Traceback (most recent call last):
  28. File "C:\Program Files\Python\Python38\lib\site-packages\requests\adapters.py", line 439, in send
  29. resp = conn.urlopen(
  30. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 719, in urlopen
  31. retries = retries.increment(
  32. File "C:\Program Files\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 436, in increment
  33. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  34. urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.mainnet-beta.solana.com', port=8899): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002B070114340>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
  35.  
  36. During handling of the above exception, another exception occurred:
  37.  
  38. Traceback (most recent call last):
  39. File "C:\Virtual Machines\SharedFolder\solana_test.py", line 33, in <module>
  40. response = requests.post(url, json=payload).json()
  41. File "C:\Program Files\Python\Python38\lib\site-packages\requests\api.py", line 119, in post
  42. return request('post', url, data=data, json=json, **kwargs)
  43. File "C:\Program Files\Python\Python38\lib\site-packages\requests\api.py", line 61, in request
  44. return session.request(method=method, url=url, **kwargs)
  45. File "C:\Program Files\Python\Python38\lib\site-packages\requests\sessions.py", line 542, in request
  46. resp = self.send(prep, **send_kwargs)
  47. File "C:\Program Files\Python\Python38\lib\site-packages\requests\sessions.py", line 655, in send
  48. r = adapter.send(request, **kwargs)
  49. File "C:\Program Files\Python\Python38\lib\site-packages\requests\adapters.py", line 516, in send
  50. raise ConnectionError(e, request=request)
  51. requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.mainnet-beta.solana.com', port=8899): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002B070114340>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement