Since some time my interwiki bot has much of errors when doing api requests. Many requests pass without any problems but some fail.
There are two kind of errors which i think are related:
- Some http requests are not answered, so i am getting a timeout exception (after 30 seconds as is set on my config)
- When requesting action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb&format=xml i am getting an error response (/api/error): siincludeAllDenied:Cannot view all servers info unless $wgShowHostnames is true
headers of an example for ja.wikipedia.org:
Date: Fri, 21 Sep 2012 14:38:44 GMT
Server: Apache/2.2.14 (Ubuntu)
X-Powered-By: PHP/5.3.2-2wm1
X-Content-Type-Options: nosniff
MediaWiki-API-Error: siincludeAllDenied
X-Frame-Options: DENY
Cache-Control: private
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 132
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
- Also some api edit requests using maxlag are failing although all replags are low.
Especially because of the api error message i think there are some internal connection problems at wmf. My bot is using the pmtpa load balancer.
Also reusing a connection because of a keep-alive header isn't working, too.
Version: wmf-deployment
Severity: blocker