Gateway problems
Weik.io 2026.2The problems of a gateway's serving and hostname. The gateways it relays from and the CA certificates it trusts raise the rest.
On this page
These problems go to everyone who can read a gateway’s environment.
| Problem | Kind | Severity |
|---|---|---|
| A gateway is served nowhere | gateway- |
Warning |
| A gateway has no hostname | gateway- |
Warning |
| A gateway refuses relayed calls | gateway- |
Warning |
| A gateway’s CA certificate expires | gateway- |
Warning |
| A gateway’s CA certificate has expired | gateway- |
Error |
A gateway is served nowhere#
No APIM instance has reported for the gateway. Either no site agent has the capability gateway=<name>, or the instances of the sites that do haven’t reported in the last two minutes. The row says which. Add the capability to an agent, or check the gateway at the site:
$ weikio agent set-capabilities <agent> <its current capabilities> gateway=<name>A gateway has no hostname#
An API is deployed on the gateway, which has no hostname, so the API answers nowhere. The row lists the APIs deployed on it. Add a hostname:
$ weikio gateway set <name> --hostname <hostname>A gateway refuses relayed calls#
A site gateway answers 404 to calls relayed from a hub gateway that isn’t on its relay list, so the APIs deployed on it don’t serve those callers. Admit the hub gateway, or take the API off the relaying gateway:
$ weikio gateway set <name> --relay-from <gateways>
$ weikio api set-gateways <project>/<api>@<version> --env <environment> --remove <hub gateway>A gateway’s CA certificate expires#
An authority the gateway trusts for client certificates has a CA certificate that expires on the date the row gives. From that day, the gateway refuses every certificate the authority issued. Add the renewed CA certificate beside the current one:
$ weikio gateway set <gateway> --authority <authority>=<current.pem>,<renewed.pem>A gateway’s CA certificate has expired#
The CA certificate ended, so the gateway refuses every certificate the authority issued. Add the renewed CA certificate beside the expired one:
$ weikio gateway set <gateway> --authority <authority>=<expired.pem>,<renewed.pem>The row clears once callers can present certificates the new CA signed.