From e8841c0fb35484c7d450eab6d8a20f4f77e131c2 Mon Sep 17 00:00:00 2001 From: Sudarsan Reddy Date: Wed, 26 Apr 2023 12:58:01 +0100 Subject: [PATCH] TUN-7394: Retry StartFirstTunnel on quic.ApplicationErrors This PR adds ApplicationError as one of the "try_again" error types for startfirstTunnel. This ensures that these kind of errors (which we've seen occur when a tunnel gets rate-limited) are retried. --- supervisor/supervisor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/supervisor/supervisor.go b/supervisor/supervisor.go index fa2ce2cb..d345fe7c 100644 --- a/supervisor/supervisor.go +++ b/supervisor/supervisor.go @@ -286,6 +286,7 @@ func (s *Supervisor) startFirstTunnel( } case connection.DupConnRegisterTunnelError, *quic.IdleTimeoutError, + *quic.ApplicationError, edgediscovery.DialError, *connection.EdgeQuicDialError: // Try again for these types of errors