Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.
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:.
docker logs proxylink-gateway
A normal start
The log says
What it means
gateway v0.2.0 starting
The release that runs.
made a new key for this gateway
First start with an empty volume.
ready. Gateway 10.100.0.7 forwards to 192.168.1.0/24, 192.168.40.0/24 only; the agent asks ProxyLink which networks it carries, and runs nothing. Connecting to ProxyLink.
The rules are set, for the networks named. The agent is on.
ready. Gateway 10.100.0.7 forwards to 192.168.1.0/24 only; connecting to ProxyLink.
The same, without the agent line.
OK. Connected to ProxyLink.
ProxyLink answered. The gateway is online.
networks changed. This gateway now forwards to 192.168.1.0/24, 192.168.40.0/24 only.
A network was added or removed on the gateway’s page, and the container has applied it.
ProxyLink could not be asked yet; starting with the networks this gateway carried last time.
ProxyLink could not be reached at the start. The saved list is used.
It keeps trying by itself
The log says
What it means and what to do
could not reach ProxyLink yet: … Trying again in 5s
The host has no way out to ProxyLink yet. Check its internet connection and DNS. The wait grows up to five minutes.
ProxyLink answered 503. Trying again in 5s
ProxyLink was busy. Wait.
no answer from ProxyLink for 3 minutes. Check this host's internet connection; if this gateway was removed in ProxyLink, stop this container.
The gateway is offline. Check the host’s internet connection, and that outgoing UDP is not blocked at the site.
ProxyLink answered 404 to the question about networks (404: this gateway is not known there, was it removed? 429: asked too often). Keeping the networks it has; asking again every ten minutes.
With 404: the gateway was removed in ProxyLink. Stop the container and run docker compose down -v. With 429: nothing to do.
PROXYLINK_URL is missing or is not a ProxyLink link, so the agent stays off: this gateway carries 192.168.1.0/24 only.
The PROXYLINK_URL line was taken out of the Compose file. Put it back as it was.
the list of networks could not be saved in /data; it is applied, and will be asked again after a restart.
The volume is full or not writable. The networks work now. Check the volume.
”not carried, and why”
When the container refuses a network, it says so once:
ProxyLink: not carried, and why: 192.168.50.0/24>10.128.9.0/24=overlap-docker
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.
The log says
What to do
ProxyLink refused this link (410): this link has expired; create a new one on the Devices page. With a new link from the Devices page, start again with an empty volume (docker compose down -v).
The 30 minutes passed. Run docker compose down -v, generate a new Compose file, start again.
A line that begins ProxyLink refused this link (409)
The link was used before. Most often the container was started again with an emptied volume, so it has another key: remove the gateway in ProxyLink and add it again. If it was not you, see the warning below.
this container is running in the host's network (it sees 'docker0'). It must run in its own network, as in the Compose file from ProxyLink: remove 'network_mode: host'. Nothing was changed on the host.
Remove network_mode: host. Use the Compose file as ProxyLink gave it.
the /data volume is missing or not writable. Keep the volume from the Compose file ProxyLink gave you.
Put the volumes: lines back.
/run is not writable. Keep 'tmpfs: /run' from the Compose file.
Put the tmpfs: lines back.
PROXYLINK_LAN is missing or is not a private network like 192.168.1.0/24. Copy the Compose file again from the Devices page.
The line was changed or removed. Generate the file again.
PROXYLINK_URL is missing or is not a ProxyLink link. Copy the Compose file again from the Devices page.
The same, for the link.
IP forwarding is off in this container. Keep 'sysctls: net.ipv4.ip_forward=1' from the Compose file.
Put the sysctls: lines back.
your network 192.168.1.0/24 overlaps the Docker network this container is on (192.168.0.2/20). Give the container's network another range in the Compose file (networks: ipam), or use a router as the gateway.
Docker gave the container a network that overlaps yours. Set another range for it in the Compose file.
this host's kernel has no WireGuard, or the container may not use it (it needs cap_add: NET_ADMIN). …
Keep cap_add as in the file. If it is there, the host’s kernel is too old or built without WireGuard.
A line that begins the firewall rule or the firewall rules were refused
The host’s kernel lacks something the container’s rules need. Use another host, or a router gateway.
the stored key is damaged. Remove the volume (docker compose down -v), remove this gateway in ProxyLink and add it again.
Do what it says.
A line that begins ProxyLink's answer was not what this gateway may accept
The container did not trust what it was told at its first start, for example a first network other than PROXYLINK_LAN. Run docker compose down -v, remove the gateway in ProxyLink if it is listed, and add it again. If it repeats, contact us.
“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.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"ProxyLink","colors":{"primary":"#C98A2E","light":"#F0A93B","dark":"#F0A93B"},"favicon":"https://mintcdn.com/proxylink/m5NNWmTGNdQOT_hc/favicon.svg?fit=max\u0026auto=format\u0026n=m5NNWmTGNdQOT_hc\u0026q=85\u0026s=3875dd704ab3aee1b2a1823b66f9d60d","logo":{"light":"https://mintcdn.com/proxylink/m5NNWmTGNdQOT_hc/logo/light.svg?fit=max\u0026auto=format\u0026n=m5NNWmTGNdQOT_hc\u0026q=85\u0026s=9dbd6e7fdf1635585e96700bf40a334b","dark":"https://mintcdn.com/proxylink/m5NNWmTGNdQOT_hc/logo/dark.svg?fit=max\u0026auto=format\u0026n=m5NNWmTGNdQOT_hc\u0026q=85\u0026s=4cc4d8fac34a8c79b4a7f4e7834fa4ad"},"navbar":{"links":[{"label":"Sign In","href":"https://app.proxylink.dev/login"}],"primary":{"type":"button","label":"Get Free Access","href":"https://app.proxylink.dev/register"}},"footer":{"socials":{"website":"https://proxylink.dev"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","href":"https://app.proxylink.dev","icon":"gauge"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"proxylink","hasAudioNarration":false,"actualSubdomain":"proxylink","customDomains":["proxylink.dev"],"gitSource":{"type":"github","owner":"proxylinkadmin","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10e8909ffae5051c41450a"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b13fc71116df4e5d6ac02df","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Documentation","count":47},{"language":"default","tag":"MSP Features","count":10},{"language":"default","tag":"Tunnels","count":8},{"language":"default","tag":"Monitoring \u0026 Automations","count":7},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Proxy Links","count":5},{"language":"default","tag":"Reference","count":5},{"language":"default","tag":"Browser Terminals","count":4},{"language":"default","tag":"Integrations","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"tunnels/docker-gateway-troubleshooting","slug":"/tunnels/docker-gateway-troubleshooting","pageMetadata":{"title":"Docker gateway: the log and what to do","sidebarTitle":"Docker Gateway Log","description":"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.","href":"/tunnels/docker-gateway-troubleshooting"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This page belongs to `,_jsx(_components.a,{href:`/tunnels/docker-gateway`,children:`Docker gateway`}),`. It describes release `,_jsx(_components.strong,{children:`v0.2.0`}),` of the container.`]}),`\n`,_jsxs(_components.p,{children:[`Start with the container’s own log. Every line begins with `,_jsx(_components.code,{children:`ProxyLink:`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` proxylink-gateway`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`a-normal-start`,children:`A normal start`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The log says`}),_jsx(_components.th,{children:`What it means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gateway v0.2.0 starting`})}),_jsx(_components.td,{children:`The release that runs.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`made a new key for this gateway`})}),_jsx(_components.td,{children:`First start with an empty volume.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ready. Gateway 10.100.0.7 forwards to 192.168.1.0/24, 192.168.40.0/24 only; the agent asks ProxyLink which networks it carries, and runs nothing. Connecting to ProxyLink.`})}),_jsx(_components.td,{children:`The rules are set, for the networks named. The agent is on.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ready. Gateway 10.100.0.7 forwards to 192.168.1.0/24 only; connecting to ProxyLink.`})}),_jsx(_components.td,{children:`The same, without the agent line.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OK. Connected to ProxyLink.`})}),_jsx(_components.td,{children:`ProxyLink answered. The gateway is online.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`networks changed. This gateway now forwards to 192.168.1.0/24, 192.168.40.0/24 only.`})}),_jsx(_components.td,{children:`A network was added or removed on the gateway’s page, and the container has applied it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProxyLink could not be asked yet; starting with the networks this gateway carried last time.`})}),_jsx(_components.td,{children:`ProxyLink could not be reached at the start. The saved list is used.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`it-keeps-trying-by-itself`,children:`It keeps trying by itself`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The log says`}),_jsx(_components.th,{children:`What it means and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`could not reach ProxyLink yet: … Trying again in 5s`})}),_jsx(_components.td,{children:`The host has no way out to ProxyLink yet. Check its internet connection and DNS. The wait grows up to five minutes.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProxyLink answered 503. Trying again in 5s`})}),_jsx(_components.td,{children:`ProxyLink was busy. Wait.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no answer from ProxyLink for 3 minutes. Check this host's internet connection; if this gateway was removed in ProxyLink, stop this container.`})}),_jsx(_components.td,{children:`The gateway is offline. Check the host’s internet connection, and that outgoing UDP is not blocked at the site.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProxyLink answered 404 to the question about networks (404: this gateway is not known there, was it removed? 429: asked too often). Keeping the networks it has; asking again every ten minutes.`})}),_jsxs(_components.td,{children:[`With 404: the gateway was removed in ProxyLink. Stop the container and run `,_jsx(_components.code,{children:`docker compose down -v`}),`. With 429: nothing to do.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PROXYLINK_URL is missing or is not a ProxyLink link, so the agent stays off: this gateway carries 192.168.1.0/24 only.`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`PROXYLINK_URL`}),` line was taken out of the Compose file. Put it back as it was.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`the list of networks could not be saved in /data; it is applied, and will be asked again after a restart.`})}),_jsx(_components.td,{children:`The volume is full or not writable. The networks work now. Check the volume.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`”not-carried-and-why”`,children:`”not carried, and why”`}),`\n`,_jsx(_components.p,{children:`When the container refuses a network, it says so once:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ProxyLink: not carried, and why: 192.168.50.0/24>10.128.9.0/24=overlap-docker`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`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 `,_jsx(_components.a,{href:`/tunnels/docker-gateway#when-the-container-refuses-a-network`,children:`When the container refuses a network`}),`. The networks that are not named in the line are carried.`]}),`\n`,_jsxs(_components.p,{children:[`A related line is `,_jsx(_components.code,{children:`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.`]}),`\n`,_jsx(Heading,{level:`2`,id:`it-stopped-and-waits`,children:`It stopped and waits`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The log says`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ProxyLink refused this link (410): this link has expired; create a new one on the Devices page. With a new link from the Devices page, start again with an empty volume (docker compose down -v).`})}),_jsxs(_components.td,{children:[`The 30 minutes passed. Run `,_jsx(_components.code,{children:`docker compose down -v`}),`, generate a new Compose file, start again.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`A line that begins `,_jsx(_components.code,{children:`ProxyLink refused this link (409)`})]}),_jsx(_components.td,{children:`The link was used before. Most often the container was started again with an emptied volume, so it has another key: remove the gateway in ProxyLink and add it again. If it was not you, see the warning below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`this container is running in the host's network (it sees 'docker0'). It must run in its own network, as in the Compose file from ProxyLink: remove 'network_mode: host'. Nothing was changed on the host.`})}),_jsxs(_components.td,{children:[`Remove `,_jsx(_components.code,{children:`network_mode: host`}),`. Use the Compose file as ProxyLink gave it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`the /data volume is missing or not writable. Keep the volume from the Compose file ProxyLink gave you.`})}),_jsxs(_components.td,{children:[`Put the `,_jsx(_components.code,{children:`volumes:`}),` lines back.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/run is not writable. Keep 'tmpfs: /run' from the Compose file.`})}),_jsxs(_components.td,{children:[`Put the `,_jsx(_components.code,{children:`tmpfs:`}),` lines back.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PROXYLINK_LAN is missing or is not a private network like 192.168.1.0/24. Copy the Compose file again from the Devices page.`})}),_jsx(_components.td,{children:`The line was changed or removed. Generate the file again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PROXYLINK_URL is missing or is not a ProxyLink link. Copy the Compose file again from the Devices page.`})}),_jsx(_components.td,{children:`The same, for the link.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`IP forwarding is off in this container. Keep 'sysctls: net.ipv4.ip_forward=1' from the Compose file.`})}),_jsxs(_components.td,{children:[`Put the `,_jsx(_components.code,{children:`sysctls:`}),` lines back.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`your network 192.168.1.0/24 overlaps the Docker network this container is on (192.168.0.2/20). Give the container's network another range in the Compose file (networks: ipam), or use a router as the gateway.`})}),_jsx(_components.td,{children:`Docker gave the container a network that overlaps yours. Set another range for it in the Compose file.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`this host's kernel has no WireGuard, or the container may not use it (it needs cap_add: NET_ADMIN). …`})}),_jsxs(_components.td,{children:[`Keep `,_jsx(_components.code,{children:`cap_add`}),` as in the file. If it is there, the host’s kernel is too old or built without WireGuard.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`A line that begins `,_jsx(_components.code,{children:`the firewall rule`}),` or `,_jsx(_components.code,{children:`the firewall rules were refused`})]}),_jsx(_components.td,{children:`The host’s kernel lacks something the container’s rules need. Use another host, or a router gateway.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`the stored key is damaged. Remove the volume (docker compose down -v), remove this gateway in ProxyLink and add it again.`})}),_jsx(_components.td,{children:`Do what it says.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`A line that begins `,_jsx(_components.code,{children:`ProxyLink's answer was not what this gateway may accept`})]}),_jsxs(_components.td,{children:[`The container did not trust what it was told at its first start, for example a first network other than `,_jsx(_components.code,{children:`PROXYLINK_LAN`}),`. Run `,_jsx(_components.code,{children:`docker compose down -v`}),`, remove the gateway in ProxyLink if it is listed, and add it again. If it repeats, contact us.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`“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.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`the-health-check`,children:`The health check`}),`\n`,_jsxs(_components.p,{children:[`The image has a health check, so `,_jsx(_components.code,{children:`docker ps`}),` shows `,_jsx(_components.code,{children:`healthy`}),` or `,_jsx(_components.code,{children:`unhealthy`}),` beside the container. Docker runs it once a minute.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`healthy`}),`: no standing error, and ProxyLink answered within the last three minutes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`unhealthy`}),`: the container stopped and waits (see above), or ProxyLink has not answered for more than three minutes.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`During the first two minutes after a start Docker shows `,_jsx(_components.code,{children:`health: starting`}),`. The health check only reports: read the log to see why.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-gateway-is-online-but-a-device-does-not-answer`,children:`The gateway is online but a device does not answer`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Check that the device’s address is inside a network the page shows as `,_jsx(_components.strong,{children:`On the gateway`}),`.`]}),`\n`,_jsx(_components.li,{children:`For a network you added: check that the Docker host itself can reach an address in it.`}),`\n`,_jsx(_components.li,{children:`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.`}),`\n`,_jsx(_components.li,{children:`A scan of the network also comes from the Docker host’s own address, so a firewall there will name that machine.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Docker gateway: the log and what to do","sidebarTitle":"Docker Gateway Log","description":"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.","href":"/tunnels/docker-gateway-troubleshooting"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"A normal start","slug":"a-normal-start","depth":2,"children":[]},{"title":"It keeps trying by itself","slug":"it-keeps-trying-by-itself","depth":2,"children":[]},{"title":"”not carried, and why”","slug":"”not-carried-and-why”","depth":2,"children":[]},{"title":"It stopped and waits","slug":"it-stopped-and-waits","depth":2,"children":[]},{"title":"The health check","slug":"the-health-check","depth":2,"children":[]},{"title":"The gateway is online but a device does not answer","slug":"the-gateway-is-online-but-a-device-does-not-answer","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"proxylink","siteName":"ProxyLink","title":"Docker gateway: the log and what to do - ProxyLink","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-05T11:29:43.170Z","originalFileLocation":"tunnels/docker-gateway-troubleshooting.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ProxyLink\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Docker gateway: the log and what to do - ProxyLink\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ProxyLink\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://proxylink.mintlify.site/docs/_mintlify/api/og/v2?division=Tunnels\u0026amp;title=Docker+gateway%3A+the+log+and+what+to+do\u0026amp;description=Every+sentence+the+ProxyLink+gateway+container+prints+in+its+log%2C+what+it+means+and+what+to+do.+The+health+check%2C+and+a+device+that+does+not+answer.\u0026amp;theme=18d1ec2847ff3837bf19c6e2\u0026amp;signature=5db51812f8184dda1c0b6b258ae004f8ea7ae58d55ed356bc50e5f652a95071e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Docker gateway: the log and what to do - ProxyLink\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://proxylink.mintlify.site/docs/_mintlify/api/og/v2?division=Tunnels\u0026amp;title=Docker+gateway%3A+the+log+and+what+to+do\u0026amp;description=Every+sentence+the+ProxyLink+gateway+container+prints+in+its+log%2C+what+it+means+and+what+to+do.+The+health+check%2C+and+a+device+that+does+not+answer.\u0026amp;theme=18d1ec2847ff3837bf19c6e2\u0026amp;signature=5db51812f8184dda1c0b6b258ae004f8ea7ae58d55ed356bc50e5f652a95071e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/proxylink/Fc17m8RbwvQA6Syc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ProxyLink\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#C98A2E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/tunnels/docker-gateway-troubleshooting.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://proxylink.dev/#organization\",\"name\":\"ProxyLink\",\"url\":\"https://proxylink.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/proxylink/m5NNWmTGNdQOT_hc/logo/light.svg?fit=max\u0026auto=format\u0026n=m5NNWmTGNdQOT_hc\u0026q=85\u0026s=9dbd6e7fdf1635585e96700bf40a334b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://proxylink.dev/docs#website\",\"name\":\"ProxyLink\",\"url\":\"https://proxylink.dev/docs\",\"publisher\":{\"@id\":\"https://proxylink.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting#webpage\",\"url\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting\",\"name\":\"Docker gateway: the log and what to do\",\"description\":\"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.\",\"dateModified\":\"2026-12-05T11:29:43.170Z\",\"isPartOf\":{\"@id\":\"https://proxylink.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tunnels\",\"item\":\"https://proxylink.dev/docs/tunnels/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docker gateway: the log and what to do\",\"item\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting#article\",\"headline\":\"Docker gateway: the log and what to do\",\"name\":\"Docker gateway: the log and what to do\",\"description\":\"Every sentence the ProxyLink gateway container prints in its log, what it means and what to do. The health check, and a device that does not answer.\",\"url\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting\",\"mainEntityOfPage\":{\"@id\":\"https://proxylink.dev/docs/tunnels/docker-gateway-troubleshooting#webpage\"},\"dateModified\":\"2026-12-05T11:29:43.170Z\",\"publisher\":{\"@id\":\"https://proxylink.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://proxylink.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ProxyLink\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ProxyLink\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/tunnels/docker-gateway-troubleshooting.md","siteName":"ProxyLink","nav":{"global":{"anchors":[{"anchor":"Dashboard","href":"https://app.proxylink.dev","icon":"gauge"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"What is ProxyLink?","href":"/introduction"},{"title":"Windows PC - 30 Second Deploy","href":"/quickstart-windows"},{"title":"Router / Gateway - Full LAN Access","href":"/quickstart-router"},{"title":"Quickstart: connect a Linux server","sidebarTitle":"Linux Server","href":"/quickstart-linux"},{"title":"Pricing","href":"/pricing"}]},{"group":"Tunnels","pages":[{"title":"Tunnels Overview","href":"/tunnels/overview"},{"title":"Windows PC","href":"/tunnels/windows-pc"},{"title":"Router / Gateway","href":"/tunnels/router-gateway"},{"title":"Docker gateway","sidebarTitle":"Docker Gateway","description":"Run the ProxyLink gateway as a container on a NAS, a mini PC or a server that is already in the network. How to add it, give it more networks, update it, move it and remove it.","href":"/tunnels/docker-gateway"},{"title":"Docker gateway: the log and what to do","sidebarTitle":"Docker Gateway Log","href":"/tunnels/docker-gateway-troubleshooting"},{"title":"Linux server tunnels","sidebarTitle":"Linux Server","description":"How a single Linux server, VM, or VPS joins ProxyLink over WireGuard, the manual config, and how it differs from a router or gateway tunnel.","href":"/tunnels/linux-server"},{"title":"Multi-VLAN Support","href":"/tunnels/multi-vlan"},{"title":"Wake-on-LAN","href":"/tunnels/wake-on-lan"}]},{"group":"Proxy Links","pages":[{"title":"Proxy Links Overview","href":"/proxy-links/overview"},{"title":"HTTP / HTTPS Proxy Links","href":"/proxy-links/http-https"},{"title":"TCP / UDP Tunnel Links","href":"/proxy-links/tcp-udp"},{"title":"Access Policies","href":"/proxy-links/access-policies"},{"title":"Custom Domains","href":"/proxy-links/custom-domains"}]},{"group":"Browser Terminals","pages":[{"title":"SSH Terminal","href":"/terminals/ssh"},{"title":"RDP Terminal","href":"/terminals/rdp"},{"title":"VNC Terminal","href":"/terminals/vnc"},{"title":"Session Recording","href":"/terminals/session-recording"}]},{"group":"MSP Features","pages":[{"title":"Teams \u0026 Roles","href":"/msp/teams"},{"title":"Client Groups","href":"/msp/client-groups"},{"title":"Engineer VPN","href":"/msp/engineer-vpn"},{"title":"Sharing Devices With Another Company","href":"/msp/device-sharing"},{"title":"Access Links","href":"/msp/access-links"},{"title":"Remote Support sessions","href":"/msp/remote-support"},{"title":"NOC Dashboard","href":"/msp/noc-dashboard"},{"title":"Asset Inventory","href":"/msp/asset-inventory"},{"title":"Audit Log","href":"/msp/audit-log"},{"title":"NIS2 Compliance","href":"/msp/nis2-compliance"}]},{"group":"Monitoring \u0026 Automations","pages":[{"title":"Since Yesterday","href":"/monitoring/since-yesterday"},{"title":"Up/Down Monitoring","href":"/monitoring/updown-monitoring"},{"title":"Alert Channels","href":"/monitoring/alerts"},{"title":"Network Automations","href":"/monitoring/network-automations"},{"title":"LAN Auto-Discovery","href":"/monitoring/lan-discovery"},{"title":"Network Changes","href":"/monitoring/network-changes"},{"title":"Config History","href":"/monitoring/config-history"}]},{"group":"Integrations","pages":[{"title":"RMM Deployment","href":"/integrations/rmm-deploy"},{"title":"MikroTik Auto-Config","href":"/integrations/mikrotik-autoconfig"},{"title":"Webhook Reference","href":"/integrations/webhooks"}]},{"group":"Reference","pages":[{"title":"Frequently Asked Questions","href":"/reference/faq"},{"title":"The Menu","href":"/reference/navigation"},{"title":"Security","href":"/reference/security"},{"title":"Two-factor sign-in","href":"/reference/two-factor"},{"title":"Changelog","href":"/reference/changelog"}]}]}]},"basePath":"","title":"Docker gateway: the log and what to do - ProxyLink","deploymentId":"dpl_2Ja9WRbxdgSB12oQLm2PJEkKFtyF","buildId":"dpl_2Ja9WRbxdgSB12oQLm2PJEkKFtyF","dynamics":[],"chunks":[]}