Getting internal error in sentry_sdk

I am getting repetitive errors in the log . WHich may be casuing issues with data forwarding from Sentry.

Guidance required.

    21:42:38 [ERROR] sentry_sdk.errors: Internal error in sentry_sdk
:worker_1                       | Traceback (most recent call last):
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/sentry_sdk/transport.py", line 311, in send_event_wrapper
worker_1                       |     self._send_event(event)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/sentry_sdk/transport.py", line 231, in _send_event
worker_1                       |     headers={"Content-Type": "application/json", "Content-Encoding": "gzip"},
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/sentry_sdk/transport.py", line 178, in _send_request
worker_1                       |     headers=headers,
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/request.py", line 72, in request
worker_1                       |     **urlopen_kw)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/request.py", line 150, in request_encode_body
worker_1                       |     return self.urlopen(method, url, **extra_kw)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/poolmanager.py", line 324, in urlopen
worker_1                       |     response = conn.urlopen(method, u.request_uri, **kw)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen
worker_1                       |     **response_kw)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen
worker_1                       |     **response_kw)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen
worker_1                       |     **response_kw)
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
worker_1                       |     _stacktrace=sys.exc_info()[2])
worker_1                       |   File "/usr/local/lib/python2.7/site-packages/urllib3/util/retry.py", line 399, in increment
worker_1                       |     raise MaxRetryError(_pool, url, error or ResponseError(cause))
worker_1                       | MaxRetryError: HTTPSConnectionPool(host='retail-sentry.apple.com', port=443): Max retries exceeded with url: /api/1/store/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

The error message tells you what’s going wrong: 'certificate verify failed'?