phacility/phabricator · error · Exception

Unable to handle proxied service request. This device is not

Error message

Unable to handle proxied service request. This device is not registered, so it can not identify local services. Register this device before sending requests here.

What it means

Error "Unable to handle proxied service request. This device is not registered, so it can not identify local services. Register this device before sending requests here." thrown in phacility/phabricator.

Source

Thrown at src/applications/repository/storage/PhabricatorRepository.php:1893

      return array();
    }

    $cache = PhabricatorCaches::getMutableStructureCache();
    $uris = $cache->getKey($cache_key, false);

    // If we haven't built the cache yet, build it now.
    if ($uris === false) {
      $uris = $this->buildAlmanacServiceURIs();
      $cache->setKey($cache_key, $uris);
    }

    if ($uris === null) {
      return array();
    }

    $local_device = AlmanacKeys::getDeviceID();
    if ($never_proxy && !$local_device) {
      throw new Exception(
        pht(
          'Unable to handle proxied service request. This device is not '.
          'registered, so it can not identify local services. Register '.
          'this device before sending requests here.'));
    }

    $protocol_map = array_fuse($protocols);

    $results = array();
    foreach ($uris as $uri) {
      // If we're never proxying this and it's locally satisfiable, return
      // `null` to tell the caller to handle it locally. If we're allowed to
      // proxy, we skip this check and may proxy the request to ourselves.
      // (That proxied request will end up here with proxying forbidden,
      // return `null`, and then the request will actually run.)

      if ($local_device && $never_proxy) {
        if ($uri['device'] == $local_device) {

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/storage/PhabricatorRepository.php:1893 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/e4a14c62f7888462. Report an issue: GitHub.