1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| File "auto_get_info.py", line 92, in
main()
File "auto_get_info.py", line 86, in main
r = requests.post('http://192.168.2.120/api/report', data=data)
File "/data/requests/api.py", line 108, in post
return request('post', url, data=data, json=json, **kwargs)
File "/data/requests/api.py", line 50, in request
respOnse= session.request(method=method, url=url, **kwargs)
File "/data/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/data/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/data/requests/adapters.py", line 419, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='192.168.2.120', port=80): Max retries exceeded with url: /api/report (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) |