Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System check identified no issues (0 silenced).
- March 27, 2017 - 04:37:51
- Django version 1.10.6, using settings 'gti525.settings'
- Starting development server at http://127.0.0.1:8000/
- Quit the server with CONTROL-C.
- Local IP Address for en0: 10.20.227.104
- POST: https://gti525-gestionnaire-salle.herokuapp.com/api/terminals/ | Payload: {'address': '10.20.227.104'}
- GET: https://gti525-gestionnaire-salle.herokuapp.com/api/terminals/
- GET: http://10.20.229.42:8000/api/tickets/
- Exception in thread DB Remote Init:
- Traceback (most recent call last):
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
- (self.host, self.port), self.timeout, **extra_kw)
- 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
- raise err
- 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
- sock.connect(sa)
- ConnectionRefusedError: [Errno 61] Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
- chunked=chunked)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 356, in _make_request
- conn.request(method, url, **httplib_request_kw)
- 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
- self._send_request(method, url, body, headers, encode_chunked)
- 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
- self.endheaders(body, encode_chunked=encode_chunked)
- 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
- self._send_output(message_body, encode_chunked=encode_chunked)
- 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
- self.send(msg)
- 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
- self.connect()
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 166, in connect
- conn = self._new_conn()
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
- self, "Failed to establish a new connection: %s" % e)
- requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x103f48438>: Failed to establish a new connection: [Errno 61] Connection refused
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/adapters.py", line 423, in send
- timeout=timeout
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
- _stacktrace=sys.exc_info()[2])
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- 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',))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- 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
- self.run()
- File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
- self._target(*self._args, **self._kwargs)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/gti525/api/GridCommunication.py", line 328, in launch
- self.run()
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/gti525/api/GridCommunication.py", line 308, in run
- self.obtainTicketList(ipAddress=terminals[0].ipAddress)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/gti525/api/GridCommunication.py", line 29, in obtainTicketList
- response = requests.get(url, headers=self.headers, timeout=2)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/api.py", line 70, in get
- return request('get', url, params=params, **kwargs)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/api.py", line 56, in request
- return session.request(method=method, url=url, **kwargs)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/sessions.py", line 488, in request
- resp = self.send(prep, **send_kwargs)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/sessions.py", line 609, in send
- r = adapter.send(request, **kwargs)
- File "/Users/tcheutin/Source/GTI525/h17-raspberry-pi/env/lib/python3.6/site-packages/requests/adapters.py", line 487, in send
- raise ConnectionError(e, request=request)
- 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