RKemper added a comment.

  The current approach we're trying to work towards is recording the nginx 
response codes for requests. That will give us insight into the number of 
failures we're seeing.
  
  At a high level, these are the various response codes we expect for different 
scenarios:
  
  **User throttled** => **429**  ("Too Many Requests - Please retry in %s 
seconds.")
  
  **User banned** => **403** ("You have been banned until %s, please respect 
throttling and retry-after headers.")
  
  **Successful request** => **2xx**
  
  **Failed request** => **5xx**
  
  - One common failure mode is a specific wdqs host's blazegraph instance being 
deadlocked. In this case, nginx will never hear back from blazegraph, and will 
issue some sort of 5xx code (not yet sure which exact code)

TASK DETAIL
  https://phabricator.wikimedia.org/T313751

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: RKemper
Cc: MPhamWMF, Aklapper, Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, 
maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to