Last modified: 2014-07-18 21:19:33 UTC
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 https://wikitech.wikimedia.org/wiki/Help:Single_Node_MediaWiki ) and use Special:NovaProxy to make it visible at http://<instancename>.wmflabs.org , 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 change #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: 127.0.0.1 localhost instancename.wmflabs.org
*** Bug 62551 has been marked as a duplicate of this bug. ***
So, I set up an instance with mediawiki named proxytest-singlenode with a proxy at proxytest-singlenode.wmflabs.org. When logged into that instance, I can do this: $ wget http://proxytest-singlenode.wmflabs.org So "the instance can't access its proxy hostname" seems to not be true... does that mean that this has been fixed on the proxy, or am I misunderstanding the issue?