Results 1 to 4 of 4

Thread: 500 internal server error

  1. #1
    Basic Member
    Join Date
    Jan 2014
    Posts
    14

    Question 500 internal server error

    I'm grabbing matches by seq_num:
    https://api.steampowered.com/IDOTA2Match_570/GetMatchHistoryBySequenceNum/V001/?start_at_match_seq_num=640728518&format=xml&key=< key>&language=en_us

    This same request will fail with http 500 several times but eventually succeed 30 seconds or a minute later. Anyone else having this? I'm using php and doing
    Code:
    sleep(1);
    after every request, so I don't believe I'm violating the speed limit. Any insights?

  2. #2
    Basic Member MuppetMaster42's Avatar
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    585
    it just happens.
    search the forum and you'll find people complaining about it.
    sometimes the servers go down without warning.
    Just configure your application to wait for 5 mins or so before continuing.

  3. #3
    Basic Member
    Join Date
    Dec 2013
    Posts
    24
    In general this happens in long streaks. It's not, like, a % chance that any given request will fail. It's that the API servers crash and will respond with 500 errors to all requests for a period of some minutes. That might help to design around this issue; what MuppetMaster suggests usually makes sense because once you get one 500 you're going to keep getting 500s for a while.

  4. #4
    Basic Member
    Join Date
    Aug 2013
    Posts
    22
    Yeah I have this exact problem. I just brute force through it, I haven't found anything that will fix it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •