https://bugzilla.wikimedia.org/show_bug.cgi?id=40428

       Web browser: ---
             Bug #: 40428
           Summary: many api request not sucessful
           Product: Wikimedia
           Version: wmf-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: Unprioritized
         Component: Apache configuration
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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:

1) Some http requests are not answered, so i am getting a timeout exception
(after 30 seconds as is set on my config)

2) 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

3) 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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to