504 Gateway timeout when fetching historical data in 3.7% of the requests

KamalChhirang
KamalChhirang edited July 2023 in General
I started updating historical data in my database after the market closed at 3:30.

I noticed that today, around 3.7% of the requests are getting a gateway timeout error. My python script is catching the exception, and raising request again and they are working.

So I am able to update the data, but many requests are getting failed also.

This is the output:
[Errno Expecting value] <html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
: 0 <Response [504]>
Tagged:
  • KamalChhirang
    KamalChhirang edited July 2023
    Note: I successfully updated my data between 3:30 and 4:00. After that, I did not check if this error is still happening. I just wanted to bring this issue to the attention of the API team.
  • sujith
    We have informed the team to check this.
Sign In or Register to comment.