[ 
https://issues.apache.org/jira/browse/SOLR-13778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004885#comment-17004885
 ] 

Dawid Weiss commented on SOLR-13778:
------------------------------------

Ouch. That's makes it even worse than I thought! An additional element of 
difficulty is that the implementation in the JDK is different from JDK13 on and 
the error message is different (and localized). Uwe and I have been in touch 
with Alan Bateman -- I'll also post this issue to OpenJDK's net-dev mailing 
list.

These differences in handling the situation of reading/writing to a closed 
socket only enforce my opinion that this isn't something we should really try 
to fix. If a socket/ node goes down it should be up to a higher application 
layer to retry the request -- not even http client but higher than that. I 
don't think it'll be possible to detect what's retriable and what isn't if the 
socket behavior varies between systems and everything sits on top of an SSL 
layer (which is also changing between different jdk versions).

> Windows JDK SSL Test Failure trend: SSLException: Software caused connection 
> abort: recv failed
> -----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-13778
>                 URL: https://issues.apache.org/jira/browse/SOLR-13778
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Priority: Major
>         Attachments: RecvFailedTest.java, RecvRepro.java, SOLR-13778.patch, 
> dumps-LegacyCloud.zip, logs-2019-12-12-1.zip, recv-multiple-2019-12-18.zip
>
>
> Now that Uwe's jenkins build has been correctly reporting it's build results 
> for my [automated 
> reports|http://fucit.org/solr-jenkins-reports/failure-report.html] to pick 
> up, I've noticed a pattern of failures that indicate a definite problem with 
> using SSL on Windows (even with java 11.0.4
>  )
>  The symptommatic stack traces all contain...
> {noformat}
> ...
>    [junit4]    > Caused by: javax.net.ssl.SSLException: Software caused 
> connection abort: recv failed
>    [junit4]    >        at 
> java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
> ...
>    [junit4]    > Caused by: java.net.SocketException: Software caused 
> connection abort: recv failed
>    [junit4]    >        at 
> java.base/java.net.SocketInputStream.socketRead0(Native Method)
> ...
> {noformat}
> I suspect this may be related to 
> [https://bugs.openjdk.java.net/browse/JDK-8209333] but i have no concrete 
> evidence to back this up.
> I'll post some details of my analysis in comments...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to