https://bugzilla.wikimedia.org/show_bug.cgi?id=17512


Roan Kattouw <roan.katt...@home.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roan.katt...@home.nl




--- Comment #4 from Roan Kattouw <roan.katt...@home.nl>  2009-02-16 11:04:29 
UTC ---
(In reply to comment #3)
> Yes. I just ran into the bug again a moment ago. First I got a 'WrongPass'
> response a few times. Then I hit the throttle and got 'Throttled' for 300
> seconds. Then I was able to log in successfully. All of this was with the 
> exact
> same code. Is three anything I can do to help debug this? 
> 

The only cause I can think of is that one server is broken and rejects your
login while the others don't (that'd explain the intermittent part).

It'd be nice if you could aggressively try to reproduce the bug, logging in and
out over and over again, and log the server name and success/failure for each
attempt. If my theory is correct, all failures will come from the same server
(or a few servers in the worst case), while the successes will be pretty much
evenly distributed over the rest.

For the login request, use format=xmlfm (or another pretty-printed format),
which will get you pretty-printed XML (or JSON or ...) in HTML with a comment
after the closing </html> saying something like

<!-- Served by srv103 in 0.047 secs. -->

where srv103 is the server name. Distinguishing between success and failure is
a little harder when working with HTML gibberish your client doesn't
understand, but I guess searching for the word "Success" (or "WrongPass" or
"Throttled" or ...) should do the trick.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to