Skip to content

Commit

Permalink
Retry if DNS lookup fails (#35790)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleugpn committed Jan 5, 2021
1 parent 4686f22 commit 006180a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/DetectsLostConnections.php
Expand Up @@ -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',
Expand Down

0 comments on commit 006180a

Please sign in to comment.