SAP Knowledge Base Article - Preview

3511323 - Error: "HTTP/1.1 403 Forbidden" while test remote source connection through CloudDataIntegrationAdapter - SAP HANA Smart Data Integration

Symptom

  • Test remote source connection through CloudDataIntegrationAdapter failed with error
  • Error detail in framework.trc file
    ODataV4Handler | ODataV4Handler.connectToSource [] - Failed to get odata metadata from https://***/$metadata, remote exception: org.apache.olingo.client.api.communication.ODataClientErrorException: (403) Forbidden [HTTP/1.1 403 Forbidden]
  • Test the same connection information through postman is working
  • Update dpagentconfig.ini with http trace below and see error
    framework.log.level=DEBUG
    odataadapter.enableHttpLogging=true
    odataadapter.enableHttpLogging.wire=true
  • Error detail in framework.trc file after enable http trace
    >> "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]"


Read more...

Environment

SAP HANA Smart Data Integration

Product

SAP HANA smart data integration 2.0

Keywords

DP Agent, CDIAdapter, 403, proxy server , 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.