---
# System prepended metadata

title: Untitled

---

```json=
{
	'success': False,
	'message': "HTTPSConnectionPool(host='10.76.20.65', port=8010): Max retries exceeded with url: /sap/opu/odata/SAP/ZPROJ_BW_EXTRACTORS_SRV/EntityOf0DOC_CATEG_TEXT?$format=json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f631b3b1150>: Failed to establish a new connection: [Errno 110] Connection timed out'))",
	'traceback': 'Traceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connection.py", line 160, in _new_conn\n    (self._dns_host, self.port), self.timeout, **extra_kw)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/util/connection.py", line 80, in create_connection\n    raise err\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/util/connection.py", line 70, in create_connection\n    sock.connect(sa)\nTimeoutError: [Errno 110] Connection timed out\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 603, in urlopen\n    chunked=chunked)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 344, in _make_request\n    self._validate_conn(conn)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 843, in _validate_conn\n    conn.connect()\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connection.py", line 316, in connect\n    conn = self._new_conn()\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connection.py", line 169, in _new_conn\n    self, "Failed to establish a new connection: %s" % e)\nurllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f631b3b1150>: Failed to establish a new connection: [Errno 110] Connection timed out\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/adapters.py", line 449, in send\n    timeout=timeout\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 641, in urlopen\n    _stacktrace=sys.exc_info()[2])\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/util/retry.py", line 399, in increment\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=\'10.76.20.65\', port=8010): Max retries exceeded with url: /sap/opu/odata/SAP/ZPROJ_BW_EXTRACTORS_SRV/EntityOf0DOC_CATEG_TEXT?$format=json (Caused by NewConnectionError(\'<urllib3.connection.VerifiedHTTPSConnection object at 0x7f631b3b1150>: Failed to establish a new connection: [Errno 110] Connection timed out\'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/extractor.py", line 69, in extract\n    _extract(" ",True)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/extractor.py", line 95, in _extract\n    sapresponse =  _make_http_call_to_sap(url,headers)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/extractor.py", line 195, in _make_http_call_to_sap\n    return requests.get( url,auth=HTTPBasicAuth(sapUser,sapPassword), headers=headers,verify=verify)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/api.py", line 75, in get\n    return request(\'get\', url, params=params, **kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/api.py", line 60, in request\n    return session.request(method=method, url=url, **kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/sessions.py", line 533, in request\n    resp = self.send(prep, **send_kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/sessions.py", line 646, in send\n    r = adapter.send(request, **kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/adapters.py", line 516, in send\n    raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host=\'10.76.20.65\', port=8010): Max retries exceeded with url: /sap/opu/odata/SAP/ZPROJ_BW_EXTRACTORS_SRV/EntityOf0DOC_CATEG_TEXT?$format=json (Caused by NewConnectionError(\'<urllib3.connection.VerifiedHTTPSConnection object at 0x7f631b3b1150>: Failed to establish a new connection: [Errno 110] Connection timed out\'))\n',
	'data': None,
	'numberofrecs': 0
}
```

```json=
{
	'success': False,
	'message': "HTTPSConnectionPool(host='10.76.20.65', port=8010): Max retries exceeded with url: /sap/opu/odata/SAP/ZPROJ_BW_EXTRACTORS_SRV/EntityOf0DOC_CATEG_TEXT?$format=json (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1091)')))",
	'traceback': 'Traceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 603, in urlopen\n    chunked=chunked)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 344, in _make_request\n    self._validate_conn(conn)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 843, in _validate_conn\n    conn.connect()\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connection.py", line 370, in connect\n    ssl_context=context)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/util/ssl_.py", line 368, in ssl_wrap_socket\n    return context.wrap_socket(sock)\n  File "/usr/lib64/python3.7/ssl.py", line 423, in wrap_socket\n    session=session\n  File "/usr/lib64/python3.7/ssl.py", line 870, in _create\n    self.do_handshake()\n  File "/usr/lib64/python3.7/ssl.py", line 1139, in do_handshake\n    self._sslobj.do_handshake()\nssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1091)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/adapters.py", line 449, in send\n    timeout=timeout\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/connectionpool.py", line 641, in urlopen\n    _stacktrace=sys.exc_info()[2])\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/urllib3/util/retry.py", line 399, in increment\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=\'10.76.20.65\', port=8010): Max retries exceeded with url: /sap/opu/odata/SAP/ZPROJ_BW_EXTRACTORS_SRV/EntityOf0DOC_CATEG_TEXT?$format=json (Caused by SSLError(SSLError(1, \'[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1091)\')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/extractor.py", line 69, in extract\n    _extract(" ",True)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/extractor.py", line 95, in _extract\n    sapresponse =  _make_http_call_to_sap(url,headers)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/extractor.py", line 195, in _make_http_call_to_sap\n    return requests.get( url,auth=HTTPBasicAuth(sapUser,sapPassword), headers=headers,verify=verify)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/api.py", line 75, in get\n    return request(\'get\', url, params=params, **kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/api.py", line 60, in request\n    return session.request(method=method, url=url, **kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/sessions.py", line 533, in request\n    resp = self.send(prep, **send_kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/sessions.py", line 646, in send\n    r = adapter.send(request, **kwargs)\n  File "/home/ec2-user/environment/aws-lambda-sap-odp-extractor/lib/lambda/layers/aws-sap-odp-extractor/python/requests/adapters.py", line 514, in send\n    raise SSLError(e, request=request)\nrequests.exceptions.SSLError: HTTPSConnectionPool(host=\'10.76.20.65\', port=8010): Max retries exceeded with url: /sap/opu/odata/SAP/ZPROJ_BW_EXTRACTORS_SRV/EntityOf0DOC_CATEG_TEXT?$format=json (Caused by SSLError(SSLError(1, \'[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1091)\')))\n',
	'data': None,
	'numberofrecs': 0
}
```