Symptom
- Testing a remote source connection through CloudDataIntegrationAdapter fails.
- Testing the same endpoint through a third-party API testing tool (e.g. Postman) works.
- Error in framework.trc file:
[ERROR] [] ODataV4Handler | ODataV4Handler.connectToSource [] - Failed to get odata metadata from https://<URL>/api/v1/dataexport/administration/$metadata, remote exception: org.apache.olingo.client.api.communication.ODataClientErrorException: (403) Forbidden [HTTP/1.1 403 Forbidden]
[ERROR] [] DPFramework | WorkerThread.processRequest [] - com.sap.hana.dp.adapter.sdk.AdapterException: Invalid odata connection! Getting odata metadata failed because of (403) Forbidden [HTTP/1.1 403 Forbidden] Context: Invalid odata connection! Getting odata metadata failed because of (403) Forbidden [HTTP/1.1 403 Forbidden]
[...]
Invalid odata connection! Getting odata metadata failed because of (403) Forbidden [HTTP/1.1 403 Forbidden] - HTTP trace examples:
- Example 1:
>> "CONNECT ***:443 HTTP/1.1[\r][\n]"
>> "Host: ***:443[\r][\n]"
>> "User-Agent: Apache-HttpClient/4.5.14 (Java/1.8.0_381)[\r][\n]"
>> "[\r][\n]"
<< "HTTP/1.1 403 Forbidden[\r][\n]"
<< "</head><body id="ERR_ACCESS_DENIED">[\n]"
<< "<div id="titles">[\n]" - Example 2:
<< " <title>The URL you requested has been blocked</title>[\n]"
<< " </head>[\n]"
<< " <body><div class="message-container">[\n]"
<< " <div class="logo"></div>[\n]"
<< " <h1><Firewall> Intrusion Prevention - Access Blocked</h1>[\n]"
<< " <h3>Web Page Blocked</h3>[\n]"
<< " <p>The page you have requested has been blocked because the URL is banned.</p>[\n]"
<< " <table><tbody>[\n]"
<< " <tr>[\n]"
<< " <td>URL</td>[\n]"
<< " <td>https://<SAC_URL>/</td>[\n]"
<< " </tr>[\n]"
<< " <tr>[\n]"
<< " <td>Description</td>[\n]"
<< " <td></td>[\n]"
<< " </tr>[\n]"
<< " <tr>[\n]"
<< " <td>URL Source</td>[\n]"
<< " <td>Local URLfilter Block</td>[\n]"
- Example 1:
Read more...
Environment
SAP HANA Smart Data Integration
Product
SAP HANA smart data integration 2.0
Keywords
DP Agent, CDIAdapter, 403, proxy server, forbidden, clouddataintegrationadapter , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview