Page MenuHomePhabricator

LegacyHandler.php: PHP Warning: Host lookup failed [-10002]: Unknown error -10002
Closed, InvalidPublic

Description

Error

Request ID: XV609wpAAEoAAItTxNkAAADP
Request URL: zh.wikipedia.org/w/api.php...

message
[XV609wpAAEoAAItTxNkAAADP] /w/api.php?format=json&formatversion=2&errorformat=plaintext&action=query&redirects=&converttitles=&prop=extracts|pageimages|pageprops&exsentences=5&piprop=thumbnail|name&pilicense=any&explaintext=&pithumbsize=320&titles=%E8%A8%B1%E6%8C%AF%E5%BE%97&uselang=zh-tw   ErrorException from line 218 of /srv/mediawiki/php-1.34.0-wmf.19/includes/debug/logger/monolog/LegacyHandler.php: PHP Warning: Host lookup failed [-10002]: Unknown error -10002
trace
#0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.34.0-wmf.19/includes/debug/logger/monolog/LegacyHandler.php(218): socket_sendto(resource, string, integer, integer, string, integer)
#2 /srv/mediawiki/php-1.34.0-wmf.19/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): MediaWiki\Logger\Monolog\LegacyHandler->write(array)
#3 /srv/mediawiki/php-1.34.0-wmf.19/vendor/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php(35): Monolog\Handler\AbstractProcessingHandler->handle(array)
#4 /srv/mediawiki/php-1.34.0-wmf.19/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\WhatFailureGroupHandler->handle(array)
#5 /srv/mediawiki/php-1.34.0-wmf.19/vendor/monolog/monolog/src/Monolog/Logger.php(637): Monolog\Logger->addRecord(integer, string, array)
#6 /srv/mediawiki/php-1.34.0-wmf.19/includes/GlobalFunctions.php(1013): Monolog\Logger->info(string, array)
#7 /srv/mediawiki/php-1.34.0-wmf.19/includes/api/ApiMain.php(1691): wfDebugLog(string, string, string)
#8 /srv/mediawiki/php-1.34.0-wmf.19/includes/api/ApiMain.php(535): ApiMain->logRequest(double)
#9 /srv/mediawiki/php-1.34.0-wmf.19/includes/api/ApiMain.php(504): ApiMain->executeActionWithErrorHandling()
#10 /srv/mediawiki/php-1.34.0-wmf.19/api.php(86): ApiMain->execute()
#11 /srv/mediawiki/w/api.php(3): include(string)
#12 {main}
Impact

6 hits in the last hour, 7 hits in the last 24 hours, not seen before that.

Notes

Since it's not happening frequently not reverting the train, but blocking next week's train.

Event Timeline

Restricted Application added subscribers: Cosine02, Aklapper. · View Herald TranscriptThu, Aug 22, 3:45 PM
zeljkofilipin triaged this task as Unbreak Now! priority.Thu, Aug 22, 3:45 PM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptThu, Aug 22, 3:46 PM
hashar added a subscriber: hashar.Thu, Aug 22, 3:55 PM

Looking up for "Host lookup failed" over 7 days, there are 11 hits

mw1277 2
mw1279 2
mw1261 1
mw1262 1
mw1263 1
mw1264 1
mw1265 1
mw1276 1
mw1278 1

All near 15:30 UTC.

Messages

6 [{exception_id}] {exception_url} ErrorException from line 218 of /srv/mediawiki/php-1.34.0-wmf.19/includes/debug/logger/monolog/LegacyHandler.php: PHP Warning: Host lookup failed [-10002]: Unknown error -10002

3 [{exception_id}] {exception_url} ErrorException from line 47 of /srv/mediawiki/php-1.34.0-wmf.19/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SocketSender.php: PHP Warning: Host lookup failed [-10002]: Unknown error -10002

2 [{exception_id}] {exception_url} ErrorException from line 47 of /srv/mediawiki/php-1.34.0-wmf.19/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SocketSender.php: PHP Warning: socket_sendto(): Host lookup failed [-10002]: Host name look

My only guess is that DNS resolution failed for some reason.

hashar closed this task as Resolved.Thu, Aug 22, 3:56 PM
Jdforrester-WMF changed the task status from Resolved to Invalid.Mon, Aug 26, 2:46 PM
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

That'd be Invalid rather than Resolved then. ;-)

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptMon, Aug 26, 2:46 PM
mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:05 PM