Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 664
SzeLee Lai Avatar asked Sep 24 '26 14:09

SzeLee Lai


1 Answers

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.

like image 59
Omkar More - MSFT Avatar answered Sep 28 '26 11:09

Omkar More - MSFT