ConnectionResetError: [Errno 104] Connection reset by peer
(4 additional frame(s) were not displayed)
...
File "urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(
File "urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "ssl.py", line 1040, in _create
self.do_handshake()
File "ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
(8 additional frame(s) were not displayed)
...
File "urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(
File "urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "ssl.py", line 1040, in _create
self.do_handshake()
File "ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
(9 additional frame(s) were not displayed)
...
File "trello/trelloclient.py", line 222, in fetch_json
response = self.http_service.request(http_method, url, params=query_params,
File "requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
Closing this for now. Seems to have been an environment variable issue. Will observe today then use one source of environment variable for all scripts.
Sentry Issue: DJANGO-GIRLS-WEBSITE-35