azure-functionsazure-api-appsazure-function-app-proxy

Azure function proxy returns error 500


Currently I am having Azure API app located in UK but I would like to create a Proxy in HK for my users in china to access the servers without much performance impact in connecting the DB server that's allocated in EU.

I just setting up the proxy functionality on Azure function, which is located in East Asia. Unfortunately, I kept getting error code 500 with the api request though postman.

How can I trace the error which is causing error code 500?


Solution

  • Adding to Hamid's Answer,

    When you add the header "Proxy-Trace-Enabled: true" to the request, you will see a Response Header "Proxy-Trace-Location" giving a link to access the trace log for that request. The link also gives the Trace ID for the particular call.