-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi team,
We're using this package to connect to our Permify cloud instance and have been experiencing frequent errors when making requests to the service.
Logs we have:
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 791, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 537, in _make_request
response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 461, in getresponse
httplib_response = super().getresponse()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/local/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
We do not use urllib3, it is a dependency of the permify-python package.
Environment:
- Package version: 1.0.2
Observations:
- Retry requests usually succeed
- No similar issues with other services we use
- Problem seems specific to Permify connections
Expected behavior:
Reliable connections without frequent retry requirements
Could you help us identify the root cause of these connection issues? We'd appreciate any insights into what might be causing this problem.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels