Page MenuHomePhabricator

action=createaccount
Closed, DeclinedPublic

Description

When sending the post request for createaccount action to get the token, the API successfully returns results. When feeding the createaccount function the same parameters with the token from the first request, it will successfully create the account and hang-up and return nothing. The bot continues to wait for a reply from the API and is receiving none. All other post requests work fine. It is only when the API creates an account when given a token, does it not reply with a result.


Version: 1.21.x
Severity: normal
OS: Windows 7
Platform: PC

Details

Reference
bz46070

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:14 AM
bzimport set Reference to bz46070.
bzimport added a subscriber: Unknown Object (MLST).

It worked fine for me as a logged-in user on test2.wikipedia.org just now (as an anon on en.wikipedia.beta.wmflabs.org, I found bug 46072).

Can you attach a dump of the raw HTTP request and response? Obscure tokens, cookies, and such, of course.

(In reply to comment #1)

It worked fine for me as a logged-in user on test2.wikipedia.org just now (as
an anon on en.wikipedia.beta.wmflabs.org, I found bug 46072).

Can you attach a dump of the raw HTTP request and response? Obscure tokens,
cookies, and such, of course.

What did the API return?

Just did it again. It returned about what you'd expect:

{"createaccount":{"username":"TestForBug46070 2","userid":2016,"token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","result":"success"}}

I know what it is. It hangs up on the test.wikipedia site. I just ran a test on en.wikipedia and it worked with a result being returned.(In reply to comment #3)

Just did it again. It returned about what you'd expect:

{"createaccount":{"username":"TestForBug46070
2","userid":2016,"token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","result":
"success"}}

I know what it is. It hangs up on the test.wikipedia site. I just ran a test on en.wikipedia and it worked with a result being returned.

It was slow, but it just succeeded for me on test.wikipedia.org too.

Since it works for both of us, I'm going to close this bug now.

(In reply to comment #5)

It was slow, but it just succeeded for me on test.wikipedia.org too.

Since it works for both of us, I'm going to close this bug now.

How long did it take?

(In reply to comment #7)

About 42 seconds.

That's very long. Any idea why that is?