Argo timeout error

Hi there !

I enable Argo tunnel just a few days ago. It run perfect for some time, but today I got some “500 Server Internal Error”.

I checked the Argo service tunnel and found the following errors:

INFO[2020-07-27T13:49:35-04:00] Route propagating, it may take up to 1 minute for your new route to become functional
ERROR[2020-07-27T14:25:16-04:00] Serve tunnel error: Application error: 3002 connection dropped
INFO[2020-07-27T14:25:16-04:00] Retrying connection 0 in 1s seconds
ERROR[2020-07-27T14:25:20-04:00] Serve tunnel error: Application error: 3002 connection dropped
INFO[2020-07-27T14:25:20-04:00] Retrying connection 1 in 1s seconds
ERROR[2020-07-27T14:25:21-04:00] Serve tunnel error: Application error: 3002 connection dropped
INFO[2020-07-27T14:25:21-04:00] Retrying connection 2 in 1s seconds
ERROR[2020-07-27T14:25:22-04:00] Connection 1 unable to dial edge: DialContext error: dial tcp 198.41.192.7:7844: connect: no route to host
INFO[2020-07-27T14:25:22-04:00] Retrying connection 1 in 2s seconds
ERROR[2020-07-27T14:25:25-04:00] Connection 1 unable to dial edge: DialContext error: dial tcp 198.41.192.7:7844: connect: no route to host
INFO[2020-07-27T14:25:25-04:00] Retrying connection 1 in 4s seconds
ERROR[2020-07-27T14:25:26-04:00] Serve tunnel error: tls: use of closed connection
INFO[2020-07-27T14:25:26-04:00] Retrying connection 3 in 1s seconds
INFO[2020-07-27T14:25:26-04:00] Connected to SCL
INFO[2020-07-27T14:25:26-04:00] Reconnect skipped provisioning
INFO[2020-07-27T14:25:26-04:00] Each HA connection's tunnel IDs: map[0:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 1:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 2:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 3:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0]
INFO[2020-07-27T14:25:26-04:00] Route propagating, it may take up to 1 minute for your new route to become functional
INFO[2020-07-27T14:25:27-04:00] Connected to SCL
INFO[2020-07-27T14:25:27-04:00] Reconnect skipped provisioning
INFO[2020-07-27T14:25:27-04:00] Each HA connection's tunnel IDs: map[0:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 1:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 2:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 3:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0]
INFO[2020-07-27T14:25:27-04:00] Route propagating, it may take up to 1 minute for your new route to become functional
INFO[2020-07-27T14:25:29-04:00] Connected to SCL
INFO[2020-07-27T14:25:29-04:00] Reconnect skipped provisioning
INFO[2020-07-27T14:25:29-04:00] Each HA connection's tunnel IDs: map[0:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 1:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 2:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0 3:z2fqlv91921qp4zyar60x2q4ut7y39k8npdfnn05nxv5eb3k59g0]
INFO[2020-07-27T14:25:29-04:00] Route propagating, it may take up to 1 minute for your new route to become functional
ERROR[2020-07-27T14:25:32-04:00] Connection 0 unable to dial edge: DialContext error: dial tcp 198.41.200.13:7844: i/o timeout

I restarted the Argo service, and all was fixed.

What should I do in order to prevent future interruptions ? The error shows:

  • Serve tunnel error: Application error: 3002 connection dropped
  • Connection 1 unable to dial edge: DialContext error: dial tcp 198.41.192.7:7844: connect: no route to host
  • Connection 0 unable to dial edge: DialContext error: dial tcp 198.41.200.13:7844: i/o timeout

Thanks !. I need a solution so I can prevent future downtime.

Nicolas

Hi Nicolas,

Serve tunnel error: Application error: 3002 connection dropped means the connection from your tunnel to Cloudflare’s network were dropped. Please make sure you can make outbound connections from your sever to port 7844.
Based on your logs, it looks like there were still healthy connections from your tunnel. By default your tunnel makes 4 connections with Cloudflare’s network, so requests should be served through one of the health connection. Next time you run into this problem, can you take note of the rayID of your request?