Moon
Moon

Reputation: 4160

504 gateway timeout error in angular application when backend server is online

I am facing one strange issue since many days in angular website deployed on production. few random users are facing 504 gateway timeout error and website keep loading and continuously making login request API. When I have checked backend server logs I have not found any logs for such error and backend server is online and up from many days.

After some R&D, I have found below possible cases in which 504 gateway timeout occurs without hitting the backend server or even if backend server is online.

  1. service workers also can give 504 gateway timeout error without contacting the server. I have tried to reproduce this error but not able to reproduce. if anyone can help me to reproduce this error it would be great help.
  2. cloudflare services also give 504 error without hitting the backend server.
  3. sometimes ad blocker like extension also cause 504 gateway timeout error.

what could be possible cases for 504 gateway timeout error with online backend server?

Upvotes: 0

Views: 408

Answers (0)

Related Questions