Last modified: 2014-09-27 06:30:04 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 T71017, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69017 - Warning: Invalid argument supplied for foreach() in TorExitNodes.php on line 210
Warning: Invalid argument supplied for foreach() in TorExitNodes.php on line 210
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TorBlock (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-01 17:40 UTC by Nemo
Modified: 2014-09-27 06:30 UTC (History)
3 users (show)

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


Attachments

Description Nemo 2014-08-01 17:40:02 UTC
Warning: Invalid argument supplied for foreach() in /srv/vagrant/mediawiki/extensions/TorBlock/TorExitNodes.php on line 210

When doing hhvm phpunit.php with a bunch of extensions loaded (during initalisation of unit tests), but not with php5. I don't know more.

ii  hhvm                          3.3-dev+20140728+wm amd64               HipHop Virtual Machine, a JIT replacement for PHP
Comment 1 Sam Reed (reedy) 2014-08-14 17:48:17 UTC
What version of the extension?

On master line 210 is }
Comment 2 Arlo Breault 2014-08-24 04:49:55 UTC
The Http::get there is probably failing. Onionoo (the service it's querying) has been under a DOS sporadically the past few weeks.

The changes in https://gerrit.wikimedia.org/r/#/c/62026/ will more gracefully handle these transient errors.
Comment 3 Ori Livneh 2014-09-27 02:00:49 UTC
Nemo, is this still an issue?
Comment 4 Nemo 2014-09-27 06:29:43 UTC
(In reply to Ori Livneh from comment #3)
> Nemo, is this still an issue?

If comment 2 is right, certainly yes; that patch has not been merged yet, but perhaps the tests should avoid failing for network problems.

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


Navigation
Links