Wednesday, June 06, 2018

How To Debug Http Request Timeout

Symptom:

   When users click a we link, it spins and timeout (normally 5 min per default).
   The http error code could be 502

Proxy Error
The request could not be processed. An invalid response was received by the proxy or gateway server.

Diagnosis:

   The reasons of timeout could be many. Network traffic, Server busy, Local client issue.....etc
   To analyse which part has issues, we can generate HAR file and do some analysis.
    HAR file not only for this timeout issue, but all other http related issues. It basically gathers all related web traffic and pack them.

   Google has toolbox to help you generate the HAR file and analyse it. Below screenshot is detailed timing of a timeout url
   https://toolbox.googleapps.com/apps/har_analyzer/



No comments:

Post a Comment