Bug ID: 63338
           Summary: proxy'd labs MediaWiki instance times out contacting
                    itself to runjobs
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
       Web browser: ---
   Mobile Platform: ---

At the end of every wiki request, triggerJobs() in includes/Wiki.php uses
wfParseUrl( $wgServer ) to get the host name and then makes an http API request
to it to run jobs.

If you configure a MediaWiki labs instance (see ) and use
Special:NovaProxy to make it visible at http://<instancename> ,
this times out because the instance can't access its proxy hostname; its
runJobs log file may contain
  [runJobs] Failed to start cron API (socket error 110): Connection timed out

Erik Bernhardson reduced the timeout from 60 seconds to 0.1 seconds in gerrit
120958 , but it would be better if the instance was able to contact itself; on
a single-node instance triggerJobs() could make the HTTP request to localhost
or to $HOSTNAME.

One workaround is to modify /etc/hosts on the labs instance to add the proxy
name: localhost

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

Reply via email to