phacility/phabricator · error · Exception

This repository request (for repository "%s") has been incor

Error message

This repository request (for repository "%s") has been incorrectly routed to a cluster host (with device name "%s", and hostname "%s") which can not serve the request.

The Almanac device address for the correct device may improperly point at this host, or the "device.id" configuration file on this host may be incorrect.

Requests routed within the cluster are always expected to be sent to a node which can serve the request. To prevent loops, this request will not be proxied again.

%s

What it means

Error "This repository request (for repository "%s") has been incorrectly routed to a cluster host (with device name "%s", and hostname "%s") which can not serve the request. The Almanac device address for the correct device may improperly point at this host, or the "device.id" configuration file on this host may be incorrect. Requests routed within the cluster are always expected to be sent to a node which can serve the request. To prevent loops, this request will not be proxied again. %s" thrown in phacility/phabricator.

Source

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

      throw new Exception(
        pht(
          'The Almanac service for this repository is not bound to any '.
          'interfaces which support the required protocols (%s).',
          implode(', ', $protocols)));
    }

    if ($never_proxy) {
      // See PHI1030. This error can arise from various device name/address
      // mismatches which are hard to detect, so try to provide as much
      // information as we can.

      if ($writable) {
        $request_type = pht('(This is a write request.)');
      } else {
        $request_type = pht('(This is a read request.)');
      }

      throw new Exception(
        pht(
          'This repository request (for repository "%s") has been '.
          'incorrectly routed to a cluster host (with device name "%s", '.
          'and hostname "%s") which can not serve the request.'.
          "\n\n".
          'The Almanac device address for the correct device may improperly '.
          'point at this host, or the "device.id" configuration file on '.
          'this host may be incorrect.'.
          "\n\n".
          'Requests routed within the cluster are always '.
          'expected to be sent to a node which can serve the request. To '.
          'prevent loops, this request will not be proxied again.'.
          "\n\n".
          "%s",
          $this->getDisplayName(),
          $local_device,
          php_uname('n'),
          $request_type));

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/storage/PhabricatorRepository.php:1940 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/4c323e0df85f1f4d. Report an issue: GitHub.