I created a custom connector using https and the on-premises data-gateway.
When testing the connector, the test fails with the following error:
... System.Net.WebException: The remote server returned an error: (502) Bad Gateway. ...
When analyzing the log-files of the on-prem data gateway I can see, that the protocol for the request was changed from https to http:
"[ {""ConnectorType"": ""HTTP"", ""FullPath"": ""http://esap001e21.xxxxx:44301/sap/opu/odata/SAP/Z_IM_RAUMVERRECHNUNG_SRV/ZCO_ODATA_ENTITY_GET_DATASe...')""} ]",Fail,35660.50,36213,35108,DirectQuery,,,,2
Any ideas, what causes the on-prem data gateway to change the protocol?
Thanks a lot.
Hi @Enver-TR ,
no we didn't find a solution for this. We are actually using a work-around with PowerAutomate for Desktop. This allows us to use the API from within our company network and we don't need the on-prem data gateway.
Cheers
Hi @Franz30 ,
Did you find a solution for this error? I am having the same issue with the https connection through on premise gateway.
Altough both http and https endpoints are active , i cant seem to go through with https
Thanks