This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 86b2fd0cc3 Update error message now root cause and fixed kernel 
version are known
86b2fd0cc3 is described below

commit 86b2fd0cc31d34434e7ae3fbf96453c9654252c9
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sat Apr 23 11:06:29 2022 +0100

    Update error message now root cause and fixed kernel version are known
    
    Thanks to Christopher Gual for the research into this issue.
---
 java/org/apache/tomcat/util/net/LocalStrings.properties       | 2 +-
 java/org/apache/tomcat/util/net/LocalStrings_fr.properties    | 1 -
 java/org/apache/tomcat/util/net/LocalStrings_ja.properties    | 1 -
 java/org/apache/tomcat/util/net/LocalStrings_ko.properties    | 1 -
 java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties | 1 -
 webapps/docs/changelog.xml                                    | 8 ++++++++
 6 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/LocalStrings.properties 
b/java/org/apache/tomcat/util/net/LocalStrings.properties
index 1f8f1c3e86..77add9f56f 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings.properties
@@ -82,7 +82,7 @@ endpoint.duplicateSslHostName=Multiple SSLHostConfig elements 
were provided for
 endpoint.err.accept=Failed to accept socket for end point [{0}]
 endpoint.err.attach=Failed to attach SSLContext to socket - error [{0}]
 endpoint.err.close=Caught exception trying to close socket
-endpoint.err.duplicateAccept=Duplicate accept detected. This is a known OS 
bug. Please consider reporting that you are affected: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924298
+endpoint.err.duplicateAccept=Duplicate socket accept detected. This is a known 
Linux kernel bug. The original connection has been processed normally and the 
duplicate has been ignored. The client should be unaffected. Updating the OS to 
a version that uses kernel 5.10 or later should fix the duplicate accept bug.
 endpoint.err.handshake=Handshake failed
 endpoint.err.unexpected=Unexpected error processing socket
 endpoint.executor.fail=Executor rejected socket [{0}] for processing
diff --git a/java/org/apache/tomcat/util/net/LocalStrings_fr.properties 
b/java/org/apache/tomcat/util/net/LocalStrings_fr.properties
index 87c69f4f52..c4a51810ed 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings_fr.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings_fr.properties
@@ -80,7 +80,6 @@ endpoint.debug.unlock.localFail=Impossible de déterminer 
l''adresse locales pou
 endpoint.debug.unlock.localNone=Impossible de débloquer l''accepteur pour 
[{0}] car l''adresse locale n''était pas disponible
 endpoint.duplicateSslHostName=Plusieurs éléments SSLHostConfig ont été fournis 
pour le nom d''hôte [{0}], les noms d''hôte doivent être uniques
 endpoint.err.close=Une exception s'est produite en essayant de fermer le socket
-endpoint.err.duplicateAccept=Une double acceptation a été détectée, ce qui est 
un bug connu de l'OS. Please consider reporting that you are affected: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924298
 endpoint.err.handshake=Echec de négociation
 endpoint.err.unexpected=Erreur inattendue lors du traitement du socket
 endpoint.executor.fail=L''exécuteur a rejeté le traitement du socket [{0}]
diff --git a/java/org/apache/tomcat/util/net/LocalStrings_ja.properties 
b/java/org/apache/tomcat/util/net/LocalStrings_ja.properties
index 59046e6a41..0c8d2b93ba 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings_ja.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings_ja.properties
@@ -80,7 +80,6 @@ endpoint.debug.unlock.localFail=[{0}]のローカルアドレスを特定でき
 endpoint.debug.unlock.localNone=ローカルアドレスが利用できなかったため、[{0}]のアクセプタのロックを解除できませんでした。
 endpoint.duplicateSslHostName=ホスト名[{0}]に複数のSSLHostConfig要素が提供されました。 
ホスト名は一意でなければなりません。
 endpoint.err.close=ソケットをクローズしようとした際に例外が発生しました
-endpoint.err.duplicateAccept=重複した接続受け入れが検出されました。 これは既知のOSのバグです。 
影響を受けていることを報告することを検討してください: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924298
 endpoint.err.handshake=ハンドシェイク失敗
 endpoint.err.unexpected=ソケット処理中の予期せぬエラー
 endpoint.executor.fail=エグゼキュータは処理するソケット [{0}] を拒否しました
diff --git a/java/org/apache/tomcat/util/net/LocalStrings_ko.properties 
b/java/org/apache/tomcat/util/net/LocalStrings_ko.properties
index ac8f453a9f..53ff26e8be 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings_ko.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings_ko.properties
@@ -80,7 +80,6 @@ endpoint.debug.unlock.localFail=[{0}]을(를) 위한 로컬 주소를 결정할
 endpoint.debug.unlock.localNone=로컬 주소가 가용하지 않기 때문에, [{0}]을(를) 위한 acceptor의 잠금 
상태를 풀지 못했습니다.
 endpoint.duplicateSslHostName=호스트 이름 [{0}]을(를) 위해 여러 개의 SSLHostConfig 엘리먼트들이 
제공되었습니다. 호스트 이름들은 반드시 유일해야 합니다.
 endpoint.err.close=소켓을 닫으려 시도하는 중 예외 발생
-endpoint.err.duplicateAccept=이중의 accept가 탐지되었습니다. 이는 이미 알려진 운영체계 버그입니다. 버그 
리포팅을 고려해 보십시오: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924298
 endpoint.err.handshake=Handshake가 실패했습니다.
 endpoint.err.unexpected=소켓 처리 중 예기치 않은 오류 발생
 endpoint.executor.fail=Executor가 소켓 [{0}]을(를) 처리하기를 거부했습니다.
diff --git a/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties 
b/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties
index cfe9434821..73d1618384 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings_zh_CN.properties
@@ -80,7 +80,6 @@ endpoint.debug.unlock.localFail=无法确定[{0}]的本地地址
 endpoint.debug.unlock.localNone=无法解除 [{0}] 的接受器,因为本地地址不可用
 endpoint.duplicateSslHostName=为主机名[{0}]提供了多个SSLHostConfig元素。主机名必须唯一
 endpoint.err.close=抓住异常试图关闭socket
-endpoint.err.duplicateAccept=检测到重复接收。这是一个已知的操作系统错误。请考虑报告您受到影响:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924298
 endpoint.err.handshake=握手失败
 endpoint.err.unexpected=处理套接字时意外错误
 endpoint.executor.fail=执行器拒绝了用于处理的套接字[{0}]
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index a3bca901cc..b17701fa92 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -129,6 +129,14 @@
         value of the <code>maxHttpHeaderSize</code> connector attribute will
         be used. Submitted by Zhongming Hua. (remm)
       </add>
+      <fix>
+        The root cause of the Linux kernel duplicate accept bug has been
+        identified along with the version of the kernel that includes the fix.
+        The error message displayed when this bug occurs has been updated to
+        reflect this new information and to advise users to update to a version
+        of the OS that uses kernel 5.10 or later. Thanks to Christopher Gual 
for
+        the research into this issue. (markt)
+      </fix>
     </changelog>
   </subsection>
 </section>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to