Skip to content
Weik.ioDocs
2026.2
Try Weik.io

Gateway problems

Weik.io 2026.2

The 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-served-nowhere Warning
A gateway has no hostname gateway-no-hostname Warning
A gateway refuses relayed calls gateway-relay-not-admitted Warning
A gateway’s CA certificate expires gateway-authority-expiring Warning
A gateway’s CA certificate has expired gateway-authority-expired 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:

Terminal
$ 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:

Terminal
$ 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:

Terminal
$ 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:

Terminal
$ 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:

Terminal
$ weikio gateway set <gateway> --authority <authority>=<expired.pem>,<renewed.pem>

The row clears once callers can present certificates the new CA signed.

Sign in to the live demo

Sign in with the shared viewer account. It can open every screen of the example projects but can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo