From 4611ba6cdcc3fcd17822c7b6bcfe28f18d892aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Aur=C3=A9lio=20Deleu?= Date: Tue, 5 Jan 2021 19:50:42 -0300 Subject: [PATCH] Retry if DNS lookup fails (#35790) --- DetectsLostConnections.php | 1 + 1 file changed, 1 insertion(+) diff --git a/DetectsLostConnections.php b/DetectsLostConnections.php index 6ba3c4939..07630c590 100644 --- a/DetectsLostConnections.php +++ b/DetectsLostConnections.php @@ -44,6 +44,7 @@ protected function causedByLostConnection(Throwable $e) 'running with the --read-only option so it cannot execute this statement', 'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.', 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again', + 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known', 'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected', 'SQLSTATE[HY000] [2002] Connection timed out', 'SSL: Connection timed out',