Skip to content

Event captured in before send but not sent to sentry dashboard #399

Closed

Description

@sreedharbukya

I am using the latest version sentry-SDK with python3.

I have configured my sentry as follows in settings.py

def before_send(event, hint):
	log.info("Before Sending the Event, {} and Hint : {}".format(repr(event), repr(hint)))
	return event

def init_sentry():
	sentry_sdk.init(dsn=SENTRY_DSN, environment=ENVIRONMENT,
					attach_stacktrace=True, before_send=before_send)
	log.info("Sentry Initialized")

When some event got captured. I am able to check in log file for event in before_send.
But not received in actual sentry dashboard.

Activity

  1. untitaker commented on Jun 24, 2019

    @untitaker
    Member

    Could you pass debug=True to show if sending the event causes any errors?

  2. sreedharbukya commented on Jun 24, 2019

    @sreedharbukya
    Author

    Thanks @untitaker , I got response

    [sentry] DEBUG: atexit: got shutdown signal
     [sentry] DEBUG: atexit: shutting down client
     [sentry] DEBUG: Flushing HTTP transport
     [sentry] DEBUG: background worker got flush request
     [sentry] DEBUG: Sending error event [0eeac5c35d924aa7bd61164f9f3e4cfa] to sentry.XXX.com project:14
     [sentry] DEBUG: 0 event(s) pending on flush
    Sentry is attempting to send 0 pending error messages
    Waiting up to 2.0 seconds
    Press Ctrl-C to quit
     [sentry] DEBUG: background worker flushed
     [sentry] DEBUG: Killing HTTP transport
     [sentry] DEBUG: background worker got kill request```
    
  3. ansizov commented on Mar 22, 2020

    @ansizov

    I have the same problem. If set invalid DSN, sentry client tries to send one event while shutdown timeout does not end.

    import logging
    import sentry_sdk
    from sentry_sdk.integrations.logging import LoggingIntegration
    
    DSN = 'https://[email protected]/123'
    
    sentry_sdk.init(
        dsn=DSN,
        integrations=[LoggingIntegration(
            level=logging.INFO,
            event_level=logging.INFO
        )],
        shutdown_timeout=5,
        debug=True
    )
    
    logging.error('some error')

    Execute python cli.py 2>&1 | tee log

     [sentry] DEBUG: Setting up integrations (with default = True)
     [sentry] DEBUG: Setting up previously not enabled integration logging
     [sentry] DEBUG: Setting up previously not enabled integration stdlib
     [sentry] DEBUG: Setting up previously not enabled integration excepthook
     [sentry] DEBUG: Setting up previously not enabled integration dedupe
     [sentry] DEBUG: Setting up previously not enabled integration atexit
     [sentry] DEBUG: Setting up previously not enabled integration modules
     [sentry] DEBUG: Setting up previously not enabled integration argv
     [sentry] DEBUG: Setting up previously not enabled integration threading
     [sentry] DEBUG: Enabling integration logging
     [sentry] DEBUG: Enabling integration stdlib
     [sentry] DEBUG: Enabling integration excepthook
     [sentry] DEBUG: Enabling integration dedupe
     [sentry] DEBUG: Enabling integration atexit
     [sentry] DEBUG: Enabling integration modules
     [sentry] DEBUG: Enabling integration argv
     [sentry] DEBUG: Enabling integration threading
    ERROR:root:some error
     [sentry] DEBUG: atexit: got shutdown signal
    DEBUG:sentry_sdk.errors:atexit: got shutdown signal
     [sentry] DEBUG: Sending event, type:null level:error event_id:45c1a32d722d49558f6b0259cb63a129 project:123 host:mysite.com
    DEBUG:sentry_sdk.errors:Sending event, type:null level:error event_id:45c1a32d722d49558f6b0259cb63a129 project:123 host:mysite.com
     [sentry] DEBUG: atexit: shutting down client
    DEBUG:sentry_sdk.errors:atexit: shutting down client
     [sentry] DEBUG: Flushing HTTP transport
    DEBUG:sentry_sdk.errors:Flushing HTTP transport
     [sentry] DEBUG: background worker got flush request
    DEBUG:sentry_sdk.errors:background worker got flush request
     [sentry] DEBUG: 0 event(s) pending on flush
    DEBUG:sentry_sdk.errors:0 event(s) pending on flush
    Sentry is attempting to send 0 pending error messages
    Waiting up to 5 seconds
    Press Ctrl-C to quit
    WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7e2a8f10>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c3a73d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c3a7a10>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
     [sentry] ERROR: Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7cedc2d0>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7cedc2d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
    ERROR:sentry_sdk.errors:Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7cedc2d0>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7cedc2d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
     [sentry] DEBUG: Sending event, type:null level:warning event_id:0c03c8eac9e94cf7a81b1010b43a2568 project:123 host:mysite.com
    DEBUG:sentry_sdk.errors:Sending event, type:null level:warning event_id:0c03c8eac9e94cf7a81b1010b43a2568 project:123 host:mysite.com
    WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7cc017d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15d090>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15d6d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
     [sentry] ERROR: Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15dd10>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15dd10>: Failed to establish a new connection: [Errno 111] Connection refused'))
    ERROR:sentry_sdk.errors:Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15dd10>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15dd10>: Failed to establish a new connection: [Errno 111] Connection refused'))
     [sentry] DEBUG: Sending event, type:null level:warning event_id:7a1e295e227c4e498ed69390b90979d4 project:123 host:mysite.com
    DEBUG:sentry_sdk.errors:Sending event, type:null level:warning event_id:7a1e295e227c4e498ed69390b90979d4 project:123 host:mysite.com
    WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15d150>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c16b550>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c16bc50>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
     [sentry] ERROR: Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c176350>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c176350>: Failed to establish a new connection: [Errno 111] Connection refused'))
    ERROR:sentry_sdk.errors:Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c176350>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c176350>: Failed to establish a new connection: [Errno 111] Connection refused'))
     [sentry] DEBUG: Sending event, type:null level:warning event_id:1cca83a5f860481e8a43119342b2e14b project:123 host:mysite.com
    DEBUG:sentry_sdk.errors:Sending event, type:null level:warning event_id:1cca83a5f860481e8a43119342b2e14b project:123 host:mysite.com
    WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c176510>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15d150>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15d350>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
     [sentry] ERROR: Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c155ed0>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c155ed0>: Failed to establish a new connection: [Errno 111] Connection refused'))
    ERROR:sentry_sdk.errors:Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c155ed0>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c155ed0>: Failed to establish a new connection: [Errno 111] Connection refused'))
     [sentry] DEBUG: Sending event, type:null level:warning event_id:f046af0775f8455aa45b0e88e2a73d71 project:123 host:mysite.com
    DEBUG:sentry_sdk.errors:Sending event, type:null level:warning event_id:f046af0775f8455aa45b0e88e2a73d71 project:123 host:mysite.com
    WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7cc017d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c176350>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
    WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c15d450>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/123/store/
     [sentry] ERROR: Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c16b910>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c16b910>: Failed to establish a new connection: [Errno 111] Connection refused'))
    ERROR:sentry_sdk.errors:Internal error in sentry_sdk
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
        raise err
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
        chunked=chunked,
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
        self._validate_conn(conn)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
        conn.connect()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
        conn = self._new_conn()
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c16b910>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 296, in send_event_wrapper
        self._send_event(event)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 217, in _send_event
        headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/sentry_sdk/transport.py", line 164, in _send_request
        "POST", str(self._auth.store_api_url), body=body, headers=headers
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 80, in request
        method, url, fields=fields, headers=headers, **urlopen_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body
        return self.urlopen(method, url, **extra_kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen
        **response_kw
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/tmp/sentry/.venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mysite.com', port=443): Max retries exceeded with url: /api/123/store/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c7c16b910>: Failed to establish a new connection: [Errno 111] Connection refused'))
     [sentry] DEBUG: Sending event, type:null level:warning event_id:1a3e309ec6ab48e69f97306f6ea632dd project:123 host:mysite.com
    DEBUG:sentry_sdk.errors:Sending event, type:null level:warning event_id:1a3e309ec6ab48e69f97306f6ea632dd project:123 host:mysite.com
     [sentry] DEBUG: background worker flushed
    DEBUG:sentry_sdk.errors:background worker flushed
     [sentry] DEBUG: Killing HTTP transport
    DEBUG:sentry_sdk.errors:Killing HTTP transport
     [sentry] DEBUG: background worker got kill request
    DEBUG:sentry_sdk.errors:background worker got kill request
    
    • python3.7
    • sentry-sdk==0.14.3
    • urllib3==1.25.8
  4. untitaker commented on Mar 22, 2020

    @untitaker
    Member

    @ansizov that seems entirely unrelated to OP's problem. Could you open a new issue?

  5. github-actions commented on Dec 23, 2021

    @github-actions
    Contributor

    This issue has gone three weeks without activity. In another week, I will close it.

    But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


    "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

  6. antonpirker commented on Feb 28, 2022

    @antonpirker
    Contributor

    As the OP has never replied I guess the problem was solved or it not relevant anymore. I am closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions