I'm getting this exception when doing git push/pull from phacility, and then it recovers and everything works:
[2017-04-20 07:44:25] ERROR 8: Undefined index: HTTP_HOST at [/core/lib/services/src/config/PhacilitySiteSource.php:110] arcanist(head=stable, ref.master=7d15b85a1bc0, ref.stable=3512c4ab86d6), libcore(), phabricator(head=stable, ref.stable=2d7a64783ca2), phutil(head=stable, ref.master=92882eb9404d, ref.stable=7c7b02216f33), services(head=stable, ref.master=fb2140e5b9da, ref.stable=fd90c56ec368) #0 PhacilitySiteSource::getClusterConfig() called at [<services>/config/PhacilitySiteSource.php:38] #1 PhacilitySiteSource::__construct() #2 ReflectionClass::newInstance() called at [<phutil>/src/utils/utils.php:748] #3 newv(string, array) called at [<phutil>/src/symbols/PhutilSymbolLoader.php:328] #4 PhutilSymbolLoader::loadObjects() called at [<phutil>/src/symbols/PhutilClassMapQuery.php:239] #5 PhutilClassMapQuery::loadMap() called at [<phutil>/src/symbols/PhutilClassMapQuery.php:179] #6 PhutilClassMapQuery::execute() called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:220] #7 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:95] #8 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75] #9 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phabricator>/scripts/init/lib.php:22] #10 init_phabricator_script(array) called at [<phabricator>/scripts/init/init-script.php:10] #11 require_once(string) called at [<phabricator>/scripts/__init_script__.php:3] #12 require_once(string) called at [<phabricator>/scripts/ssh/ssh-exec.php:7] # Fetch received by "web.phacility.net", forwarding to cluster host. # Waiting up to 120 second(s) for a cluster read lock on "repo014.phacility.net"... # Acquired read lock immediately. # Device "repo014.phacility.net" is already a cluster leader and does not need to be synchronized. # Cleared to fetch on cluster host "repo014.phacility.net".
I'm not sure if that's a bug or whatever, so just posting here.