Last modified: 2011-10-18 17:28:33 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 T33756, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31756 - API requests fail on SSL
API requests fail on SSL
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
SSL related (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-16 17:01 UTC by Mark A. Hershberger
Modified: 2011-10-18 17:28 UTC (History)
1 user (show)

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


Attachments

Description Mark A. Hershberger 2011-10-16 17:01:13 UTC
SSL POSTs to /w/api.php are getting "400 Bad Request".

Sample POST:  http://paste2.org/p/1721585
Result: http://paste2.org/p/1721603

Note that I've since changed my password.
Comment 1 Ryan Lane 2011-10-16 21:54:14 UTC
A possible fix pushed in change I9cba40a7: https://gerrit.wikimedia.org/r/391
Comment 2 Ryan Lane 2011-10-16 22:21:48 UTC
Seems this is only a problem with HTTP/1.1 requests. HTTP/1.0 requests work properly. I can't figure out why. I'll investigate this more.
Comment 3 Ryan Lane 2011-10-16 23:02:38 UTC
Actually, I take this back. I tested this, and it's all working for me.
Comment 4 MZMcBride 2011-10-17 22:28:58 UTC
I just tested logging in to <https://en.wikipedia.org/> via the API (<https://en.wikipedia.org/w/api.php>) and it seems to be working fine for me. Are there (still) steps to reproduce a failure? Otherwise, I'm inclined to mark this bug resolved as "fixed" or "worksforme."
Comment 5 Mark A. Hershberger 2011-10-18 13:30:43 UTC
I wonder if this could be caused by how my client is doing SSL using gnutls-cli.  I'll try with openssl.
Comment 6 Mark A. Hershberger 2011-10-18 13:43:25 UTC
Yep, openssl works.  I'll have to check gnutls-cli.

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


Navigation
Links