You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR | ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last):
File "/home/rostskadat/git/upworks/Freelance-73-Gitlab-CICD/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/home/rostskadat/git/upworks/Freelance-73-Gitlab-CICD/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 536, in _make_request
response = conn.getresponse()
File "/project/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 461, in getresponse
httplib_response = super().getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.10/socket.py", line 705, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
Expected Behavior
The error is intermittent. If I add an HTTPAdapter with a retry then it eventually works fine.
Observed Behavior
A ConnectionResetError was raised
The text was updated successfully, but these errors were encountered:
Thanks for your reply. I did some more digging and found out that the problem is in fact related to the uwsgi used to run the server. There is a discussion over at lae/ansible-role-netbox about this. And the work around did solve the problem. I'm therefore closing the issue.
pynetbox version
v7.2.0
NetBox version
v3.0.12
Python version
3.10
Steps to Reproduce
This fails with a
ConnectionResetError
:Expected Behavior
The error is intermittent. If I add an HTTPAdapter with a retry then it eventually works fine.
Observed Behavior
A
ConnectionResetError
was raisedThe text was updated successfully, but these errors were encountered: