Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. Ignoring exception in command stock
  2. Traceback (most recent call last):
  3. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connection.py", line 141, in _new_conn
  4. (self.host, self.port), self.timeout, **extra_kw)
  5. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\util\connection.py", line 83, in create_connection
  6. raise err
  7. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
  8. sock.connect(sa)
  9. 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
  10.  
  11. During handling of the above exception, another exception occurred:
  12.  
  13. Traceback (most recent call last):
  14. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
  15. chunked=chunked)
  16. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request
  17. self._validate_conn(conn)
  18. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 850, in _validate_conn
  19. conn.connect()
  20. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connection.py", line 284, in connect
  21. conn = self._new_conn()
  22. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connection.py", line 150, in _new_conn
  23. self, "Failed to establish a new connection: %s" % e)
  24. urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x06A94A70>: 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
  25.  
  26. During handling of the above exception, another exception occurred:
  27.  
  28. Traceback (most recent call last):
  29. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\adapters.py", line 440, in send
  30. timeout=timeout
  31. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen
  32. _stacktrace=sys.exc_info()[2])
  33. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\urllib3\util\retry.py", line 388, in increment
  34. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  35. urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.adidas.com', port=443): Max retries exceeded with url: /api/products/BB6171/availability (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x06A94A70>: 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',))
  36.  
  37. During handling of the above exception, another exception occurred:
  38.  
  39. Traceback (most recent call last):
  40. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 50, in wrapped
  41. ret = yield from coro(*args, **kwargs)
  42. File "C:\Users\lovan\Desktop\monitor\app.py", line 71, in stock
  43. stockItem.newStock = requestData.getStock(stockItem.stockURL)
  44. File "C:\Users\lovan\Desktop\monitor\requestData.py", line 33, in getStock
  45. r = requests.get(url, headers=hdr)
  46. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\api.py", line 72, in get
  47. return request('get', url, params=params, **kwargs)
  48. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\api.py", line 58, in request
  49. return session.request(method=method, url=url, **kwargs)
  50. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\sessions.py", line 508, in request
  51. resp = self.send(prep, **send_kwargs)
  52. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\sessions.py", line 618, in send
  53. r = adapter.send(request, **kwargs)
  54. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\adapters.py", line 508, in send
  55. raise ConnectionError(e, request=request)
  56. requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.adidas.com', port=443): Max retries exceeded with url: /api/products/BB6171/availability (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x06A94A70>: 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',))
  57.  
  58. The above exception was the direct cause of the following exception:
  59.  
  60. Traceback (most recent call last):
  61. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\bot.py", line 846, in process_commands
  62. yield from command.invoke(ctx)
  63. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 374, in invoke
  64. yield from injected(*ctx.args, **ctx.kwargs)
  65. File "C:\Users\lovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 54, in wrapped
  66. raise CommandInvokeError(e) from e
  67. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ConnectionError: HTTPSConnectionPool(host='www.adidas.com', port=443): Max retries exceeded with url: /api/products/BB6171/availability (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x06A94A70>: 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