Skip to content
Weik.ioDocs
2026.2
Try Weik.io

APIM instance problems

Weik.io 2026.2

The problems of the gateway process that serves APIs. Its tables and entrances raise some. The caller addresses and limits it reads raise the rest.

On this page

An APIM instance is one running gateway process. These problems come from what it serves and what it can read. A row about a gateway goes to everyone who can read the gateway’s environment. A row about the instance goes to platform administrators.

Problem Kind Severity
An APIM instance is behind its gateway apim-instance-behind Warning
A hub APIM instance doesn’t listen on an entrance apim-instance-entrance-missing Error
An APIM instance refuses a table apim-instance-table-refused Error
An APIM instance sees no caller address apim-instance-no-caller-address Warning
An APIM instance counts limits alone apim-instance-limits-counted-alone Warning

An APIM instance is behind its gateway#

The instance serves an older revision of a gateway’s table, or an older certificate for one of its names. A newer one has been current for more than two minutes, so callers that reach this instance get the older routes or the older certificate. The row gives the revisions or the name.

An instance catches up when it reads the hub’s tables. Check that it reaches the hub, and read its lines:

Terminal
$ weikio platform logs apim

A hub APIM instance doesn’t listen on an entrance#

A hub instance listens on some of the hub’s entrances and not on the one the row gives, so the gateways on that entrance aren’t served by it. The row gives the entrances it does listen on. Check the instance on its hub server:

Terminal
$ docker compose run --rm infra weikio-backend doctor

An APIM instance refuses a table#

The instance doesn’t serve a gateway’s hostnames because it refused the gateway’s table. The row gives the reason. Run the instance at the platform’s version, the one its stack’s images.env gives.

An APIM instance sees no caller address#

Requests reached the instance without the caller’s address, so it applied neither caller limits nor address ranges to them. The row gives how many requests and on which entrance.

The address comes through the load balancer and the terminator. Check that the balancer sends the PROXY protocol and that the terminator accepts it from the balancer’s addresses, which WEIKIO_BALANCER_ADDRESSES lists.

An APIM instance counts limits alone#

The instance can’t reach the shared counts of the subscriptions, so each instance counts a subscription’s limit on its own. A subscription can then use its full limit on every instance. Check that the instance reaches the hub.

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