Errors

tunnel_timeout

504: The agent did not answer.

The agent did not answer. Answered with 504.

What it means

The Tunnel's agent did not open the data connection for this stream within the data-connect window. Only the window's end is answered this: a wait ended by a revoke is tunnel_offline, and one ended by a spent transfer allowance is tunnel_quota_exceeded.

What to do

Retry with backoff; the agent may be overloaded or reconnecting.

The body

{
  "type": "https://tigby.eu/problems/tunnel_timeout",
  "title": "The agent did not answer",
  "status": 504,
  "detail": "…what was refused, naming this request's own values",
  "code": "tunnel_timeout",
  "doc_url": "https://docs.tigby.eu/errors/tunnel_timeout",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.