-
Notifications
You must be signed in to change notification settings - Fork 2.6k
ConnectionResetError: [Errno 104] Connection reset by peer #328
Description
hey , I am using lambda extension to send logs to Loki
But I get this error
--- Logging error ---
| 2022-07-29T00:29:40.100+03:00 | Traceback (most recent call last):
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
| 2022-07-29T00:29:40.100+03:00 | httplib_response = self._make_request(
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
| 2022-07-29T00:29:40.100+03:00 | six.raise_from(e, None)
| 2022-07-29T00:29:40.100+03:00 | File "", line 3, in raise_from
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
| 2022-07-29T00:29:40.100+03:00 | httplib_response = conn.getresponse()
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 107, in getresponse
| 2022-07-29T00:29:40.100+03:00 | rv = real_getresponse(self, *args, **kwargs)
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/http/client.py", line 1348, in getresponse
| 2022-07-29T00:29:40.100+03:00 | response.begin()
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/http/client.py", line 316, in begin
| 2022-07-29T00:29:40.100+03:00 | version, status, reason = self._read_status()
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/http/client.py", line 277, in _read_status
| 2022-07-29T00:29:40.100+03:00 | line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/socket.py", line 669, in readinto
| 2022-07-29T00:29:40.100+03:00 | return self._sock.recv_into(b)
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/ssl.py", line 1241, in recv_into
| 2022-07-29T00:29:40.100+03:00 | return self.read(nbytes, buffer)
| 2022-07-29T00:29:40.100+03:00 | File "/usr/local/lib/python3.8/ssl.py", line 1099, in read
| 2022-07-29T00:29:40.100+03:00 | return self._sslobj.read(len, buffer)
| 2022-07-29T00:29:40.100+03:00 | ConnectionResetError: [Errno 104] Connection reset by peer