Last modified: 2013-03-14 09:36:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48070, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46070 - action=createaccount
action=createaccount
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.21.x
PC Windows 7
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-13 16:11 UTC by Cyberpower678
Modified: 2013-03-14 09:36 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Cyberpower678 2013-03-13 16:11:21 UTC
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.
Comment 1 Brad Jorsch 2013-03-13 16:30:35 UTC
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.
Comment 2 Cyberpower678 2013-03-13 16:32:41 UTC
(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?
Comment 3 Brad Jorsch 2013-03-13 16:43:51 UTC
Just did it again. It returned about what you'd expect:

 {"createaccount":{"username":"TestForBug46070 2","userid":2016,"token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","result":"success"}}
Comment 4 Cyberpower678 2013-03-13 16:56:49 UTC
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.
Comment 5 Brad Jorsch 2013-03-13 17:28:11 UTC
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.
Comment 6 Cyberpower678 2013-03-13 17:29:26 UTC
(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?
Comment 7 Brad Jorsch 2013-03-13 17:31:38 UTC
About 42 seconds.
Comment 8 Cyberpower678 2013-03-13 17:32:37 UTC
(In reply to comment #7)
> About 42 seconds.

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links