Skip to main content
This page belongs to Docker gateway. It describes release v0.2.0 of the container. Start with the container’s own log. Every line begins with ProxyLink:.

A normal start

It keeps trying by itself

”not carried, and why”

When the container refuses a network, it says so once:
Each item is the network, the range ProxyLink uses for it, and a code. The code is the reason, and the gateway’s page shows the same reason as a sentence: see When the container refuses a network. The networks that are not named in the line are carried. A related line is the rules for a changed list of networks were refused: … Nothing was changed. The host’s kernel refused the new rules, and the container kept what it had.

It stopped and waits

When something is wrong that a restart cannot fix, the container says what once, takes its connection to ProxyLink down, reports itself unhealthy and waits. It does not exit and it does not loop. Fix the cause, then start it again.
“A gateway link was used twice.” If a second machine presents the link of your gateway, ProxyLink refuses it, sends you one email, and shows a notice on the gateway’s page. If you started the container again with an empty volume, nothing is wrong: remove the gateway and add it again. If you did not, somebody else may have the Compose file. Check that the gateway shown as connected is your machine. If you are not sure, remove it now.

The health check

The image has a health check, so docker ps shows healthy or unhealthy beside the container. Docker runs it once a minute.
  • healthy: no standing error, and ProxyLink answered within the last three minutes.
  • unhealthy: the container stopped and waits (see above), or ProxyLink has not answered for more than three minutes.
During the first two minutes after a start Docker shows health: starting. The health check only reports: read the log to see why. healthy is about the container and its connection to ProxyLink. It does not say that a device on your network answers: a device that is switched off, or a network the Docker host cannot reach, leaves the container healthy. For that, see the last part of this page.

The gateway is online but a device does not answer

  • Check that the device’s address is inside a network the page shows as On the gateway.
  • For a network you added: check that the Docker host itself can reach an address in it.
  • Remember that devices see the connection as coming from the Docker host. A firewall on the device, or between the networks, must allow that address.
  • A scan of the network also comes from the Docker host’s own address, so a firewall there will name that machine.