Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1. System check identified no issues (0 silenced).
  2. March 27, 2017 - 04:37:51
  3. Django version 1.10.6, using settings 'gti525.settings'
  4. Starting development server at http://127.0.0.1:8000/
  5. Quit the server with CONTROL-C.
  6. Local IP Address for en0: 10.20.227.104
  7. POST: https://gti525-gestionnaire-salle.herokuapp.com/api/terminals/ | Payload: {'address': '10.20.227.104'}
  8. GET: https://gti525-gestionnaire-salle.herokuapp.com/api/terminals/
  9. GET: http://10.20.229.42:8000/api/tickets/
  10. Exception in thread DB Remote Init:
  11. Traceback (most recent call last):
  12. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
  13. (self.host, self.port), self.timeout, **extra_kw)
  14. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 83, in create_connection
  15. raise err
  16. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 73, in create_connection
  17. sock.connect(sa)
  18. ConnectionRefusedError: [Errno 61] Connection refused
  19.  
  20. During handling of the above exception, another exception occurred:
  21.  
  22. Traceback (most recent call last):
  23. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
  24. chunked=chunked)
  25. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 356, in _make_request
  26. conn.request(method, url, **httplib_request_kw)
  27. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
  28. self._send_request(method, url, body, headers, encode_chunked)
  29. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
  30. self.endheaders(body, encode_chunked=encode_chunked)
  31. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
  32. self._send_output(message_body, encode_chunked=encode_chunked)
  33. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
  34. self.send(msg)
  35. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
  36. self.connect()
  37. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 166, in connect
  38. conn = self._new_conn()
  39. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
  40. self, "Failed to establish a new connection: %s" % e)
  41. requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x103f48438>: Failed to establish a new connection: [Errno 61] Connection refused
  42.  
  43. During handling of the above exception, another exception occurred:
  44.  
  45. Traceback (most recent call last):
  46. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/adapters.py", line 423, in send
  47. timeout=timeout
  48. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
  49. _stacktrace=sys.exc_info()[2])
  50. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
  51. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  52. requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.20.229.42', port=8000): Max retries exceeded with url: /api/tickets/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x103f48438>: Failed to establish a new connection: [Errno 61] Connection refused',))
  53.  
  54. During handling of the above exception, another exception occurred:
  55.  
  56. Traceback (most recent call last):
  57. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  58. self.run()
  59. File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
  60. self._target(*self._args, **self._kwargs)
  61. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/gti525/api/GridCommunication.py", line 328, in launch
  62. self.run()
  63. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/gti525/api/GridCommunication.py", line 308, in run
  64. self.obtainTicketList(ipAddress=terminals[0].ipAddress)
  65. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/gti525/api/GridCommunication.py", line 29, in obtainTicketList
  66. response = requests.get(url, headers=self.headers, timeout=2)
  67. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/api.py", line 70, in get
  68. return request('get', url, params=params, **kwargs)
  69. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/api.py", line 56, in request
  70. return session.request(method=method, url=url, **kwargs)
  71. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/sessions.py", line 488, in request
  72. resp = self.send(prep, **send_kwargs)
  73. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/sessions.py", line 609, in send
  74. r = adapter.send(request, **kwargs)
  75. File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/adapters.py", line 487, in send
  76. raise ConnectionError(e, request=request)
  77. requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.20.229.42', port=8000): Max retries exceeded with url: /api/tickets/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x103f48438>: Failed to establish a new connection: [Errno 61] Connection refused',))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement