From 1c6442ea17d10857f84fd31dd28e5259e3788167 Mon Sep 17 00:00:00 2001 From: Khin Nyunt <33210614+cragonnyunt@users.noreply.github.com> Date: Sun, 12 May 2024 20:59:27 +0630 Subject: [PATCH] Change ssl: broken pipe to broken pipe Without using SSL connection to database does not include string `SSL` in error message --- src/Illuminate/Database/DetectsLostConnections.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/DetectsLostConnections.php b/src/Illuminate/Database/DetectsLostConnections.php index 8cb1187a8bb7..4a0208075e02 100644 --- a/src/Illuminate/Database/DetectsLostConnections.php +++ b/src/Illuminate/Database/DetectsLostConnections.php @@ -52,7 +52,7 @@ protected function causedByLostConnection(Throwable $e) 'SSL: Connection timed out', 'SQLSTATE[HY000]: General error: 1105 The last transaction was aborted due to Seamless Scaling. Please retry.', 'Temporary failure in name resolution', - 'SSL: Broken pipe', + 'Broken pipe', 'SQLSTATE[08S01]: Communication link failure', 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host', 'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: No route to host',