% /usr/local/bin/python3 /Users/A2619170/Library/CloudStorage/Box-Box/test/DT-Problem-export.py 16:24 -------------------- URL : https://dt-url/api/v2/problems Traceback (most recent call last): File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn conn.connect() File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connection.py", line 635, in connect sock_and_verified = _ssl_wrap_socket_and_match_hostname( File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connection.py", line 774, in _ssl_wrap_socket_and_match_hostname ssl_sock = ssl_wrap_socket( File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/util/ssl_.py", line 459, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/util/ssl_.py", line 503, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1071, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connectionpool.py", line 491, in _make_request raise new_e urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/connectionpool.py", line 844, in urlopen retries = retries.increment( File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='xxvvxx.corp.cxs.com', port=443): Max retries exceeded with url: /e/195deff-hyrrr88-rrttt--5grrrrr/api/v2/problems?from=1699986600000&to=1700073000000 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)'))) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/A2619170/Library/CloudStorage/Box-Box//DT-Problem-export.py", line 61, in response = requests.get(api_endpoint, headers=headers, params=request_params) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/Users/A2619170/Library/Python/3.10/lib/python/site-packages/requests/adapters.py", line 517, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='ebsdynatrace.corp.apple.com', port=443): Max retries exceeded with url: /e/195deff-hyrrr88-rrttt--5grrrrr/api/v2/problems?from=1699986600000&to=1700073000000 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)')))