Last modified: 2013-09-18 15:36:50 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 T42701, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40701 - Utils::insertDefaultSites sometimes fails when using https
Utils::insertDefaultSites sometimes fails when using https
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-02 11:01 UTC by Daniel Kinzler
Modified: 2013-09-18 15:36 UTC (History)
6 users (show)

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


Attachments

Description Daniel Kinzler 2012-10-02 11:01:32 UTC
Reportedly, Idf0a6547 causes insertDefaultSites to fail with an error:

"Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/wikidata-repo/extensions/Wikibase/lib/includes/Utils.php on line 88"

I was not able to reproduce this, but to allow for easier investigation of the issue, I have submitted changes that report more meaningful errors on failure: Iab7e750e for Wikibase and Iad3995a6 for core. If you experience the problem described above, please patch these in and report your findings.
Comment 1 Daniel Kinzler 2012-10-02 11:07:09 UTC
The problem seems to be cause by CRUL not trusting any SSL CA by default on some systems:

http://unitstep.net/blog/2009/05/05/using-curl-in-php-to-access-https-ssltls-protected-sites/

We may need a configuration setting to allow people to disable the "HTTPS per default" behavior.

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


Navigation
Links