> Markdown version of https://tuna.am/en/docs/troubleshooting/errors/tunnel-is-reconnecting/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tunnel is reconnecting

A request to the tunnel gets a short plain-text response:

```text
tunnel is reconnecting

```

The HTTP status of the response is `503`, with the `Retry-After: 5` header: retry the request in 5 seconds. A similar response appears when the Tuna node the tunnel is connected to restarts:

```text
node is starting

```

It also has the `503` status, but with `Retry-After: 1`.

## Cause

`tunnel is reconnecting` means the tuna client has just lost its connection to the server and is reconnecting. The server holds the tunnel address for about a minute and responds this way so that webhook senders retry the request: most of them don't retry on `4xx` responses. If the client doesn't come back within a minute, the address starts showing the [Tunnel is offline](https://tuna.am/en/docs/troubleshooting/errors/tunnel-offline.md) or [Tunnel not found](https://tuna.am/en/docs/troubleshooting/errors/tunnel-not-found.md) page.

`node is starting` means the Tuna node is restarting and hasn't loaded its list of tunnels yet. This usually takes seconds.

## What to do

1. Wait a minute and retry the request.
2. If the response shows up often, check the tuna CLI output: it shows why the connection drops — for example, [`connection lost, reconnecting`](https://tuna.am/en/docs/troubleshooting/errors/connection-lost-reconnecting.md) or [`keepalive timeout`](https://tuna.am/en/docs/troubleshooting/errors/keepalive-timeout.md).
3. If your own code sends requests to the tunnel, retry them on a `503` status, respecting the `Retry-After` header.

If the tunnel isn't yours, refresh the page in a few seconds.
