Page MenuHomePhabricator

PHP Warning: socket_sendto(): Host lookup failed [-10002]: Host name lookup failure
Open, LowPublic

Description

Error

MediaWiki version: 1.35.0-wmf.36

message
PHP Warning: socket_sendto(): Host lookup failed [-10002]: Host name lookup failure

Impact

API usage logs and error telemetry sometimes missing due to dns/socket failure

Notes

Noticed around a thousand of these earlier today, ca. 13:05 with a smaller cluster a bit later. Brief network failure?

Details

Request ID
ecb90aeb-7d8b-4e66-a21b-ff9fe9284b8c
Request URL
https://en.wikipedia.org/w/api.php?action=opensearch&format=json&formatversion=2&search=getting%20&namespace=0&limit=10
Stack Trace
exception.trace
#0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.35.0-wmf.36/includes/debug/logger/monolog/LegacyHandler.php(217): socket_sendto(resource, string, integer, integer, string, integer)
#2 /srv/mediawiki/php-1.35.0-wmf.36/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): MediaWiki\Logger\Monolog\LegacyHandler->write(array)
#3 /srv/mediawiki/php-1.35.0-wmf.36/vendor/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php(35): Monolog\Handler\AbstractProcessingHandler->handle(array)
#4 /srv/mediawiki/php-1.35.0-wmf.36/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\WhatFailureGroupHandler->handle(array)
#5 /srv/mediawiki/php-1.35.0-wmf.36/vendor/monolog/monolog/src/Monolog/Logger.php(642): Monolog\Logger->addRecord(integer, string, array)
#6 /srv/mediawiki/php-1.35.0-wmf.36/includes/GlobalFunctions.php(998): Monolog\Logger->info(string, array)
#7 /srv/mediawiki/php-1.35.0-wmf.36/includes/api/ApiMain.php(1688): wfDebugLog(string, string, string)
#8 /srv/mediawiki/php-1.35.0-wmf.36/includes/api/ApiMain.php(527): ApiMain->logRequest(double)
#9 /srv/mediawiki/php-1.35.0-wmf.36/includes/api/ApiMain.php(496): ApiMain->executeActionWithErrorHandling()
#10 /srv/mediawiki/php-1.35.0-wmf.36/api.php(84): ApiMain->execute()
#11 /srv/mediawiki/w/api.php(3): require(string)
#12 {main}