Skip to content

Commit

Permalink
[11.x] Refine error messages for detecting lost connections (Debian b…
Browse files Browse the repository at this point in the history
…ookworm compatibility) (#54111)

Same as #53794 , which was for
L10, but this time for L11
  • Loading branch information
mfn authored Jan 9, 2025
1 parent 0914011 commit f7bee97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ protected function causedByLostConnection(Throwable $e)
'Reason: Server is in script upgrade mode. Only administrator can connect at this time.',
'Unknown $curl_error_code: 77',
'SSL: Handshake timed out',
'SQLSTATE[08006] [7] SSL error: sslv3 alert unexpected message',
'SQLSTATE[08006] [7] unrecognized SSL error code:',
'SSL error: sslv3 alert unexpected message',
'unrecognized SSL error code:',
'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it',
'SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',
'SQLSTATE[HY000] [2002] Network is unreachable',
Expand Down

0 comments on commit f7bee97

Please sign in to comment.