DjangoGirls / djangogirls

Website for DjangoGirls.org
http://djangogirls.org/
BSD 3-Clause "New" or "Revised" License
465 stars 286 forks source link

ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) #728

Closed sentry-io[bot] closed 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: DJANGO-GIRLS-WEBSITE-35

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)
amakarudze commented 2 years ago

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.