From e86bd7fcd68763dfeefb549ebe2c3623f9830a44 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Sun, 27 Sep 2026 17:02:05 +0900 Subject: [PATCH] Handle Errno::EPIPE in LDAP authentication to avoid a 500 error --- app/models/auth_source_ldap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb index 576828470..a0d8dab21 100644 --- a/app/models/auth_source_ldap.rb +++ b/app/models/auth_source_ldap.rb @@ -25,7 +25,7 @@ class AuthSourceLdap < AuthSource NETWORK_EXCEPTIONS = [ Net::LDAP::Error, Errno::ECONNABORTED, Errno::ECONNREFUSED, Errno::ECONNRESET, - Errno::EHOSTDOWN, Errno::EHOSTUNREACH, + Errno::EHOSTDOWN, Errno::EHOSTUNREACH, Errno::EPIPE, SocketError ] -- 2.55.0