bynk.deploy.duplicate_hostname
Error A route or custom domain is claimed twice across [deploy.workers.<key>] groups.
A route or custom domain sends the requests that match it to one Worker. If two [deploy.workers.<key>] groups claimed the same one, only one Worker could have it, and which would depend on the order they were deployed in. So each route and each custom domain is claimed once across all the groups. Hosts are compared without regard to case, and the same host with a different path is a different route. Remove the repeat, or give one group another route.
Example
[deploy.workers.core]contexts = ["shop.orders"]routes = ["shop.example.com/*"]
[deploy.workers.edge]contexts = ["shop.billing"]routes = ["shop.example.com/*"] // ✗ `core` claims it
routes = ["shop.example.com/billing/*"] // ✓ another path, another routeIn the Book
See also
- Every code in its category, Deployment, on the diagnostic index.
bynk explain bynk.deploy.duplicate_hostnameshows the same from the installed toolchain, without a network.