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

Robert Muir commented on SOLR-13778:
------------------------------------

With the attached RecvRepro.java I see the following: (all with jdk13):

Linux:
Exception in thread "main" java.lang.RuntimeException: Unreachable?
        at RecvRepro.main(RecvRepro.java:46)

Mac OS X:
Received: java.net.SocketException: Connection reset

FreeBSD:
Received: java.net.SocketException: Connection reset

So besides the linux vs windows difference (where windows gets SocketException: 
recv failed), we see on the BSDs (including mac os X) that you also get a 
SocketException. It is just that the JDK must be handling this one different? I 
ran truss to trace the system calls, just so we are sure:

{noformat}
read(7,0x824416000,100)                          ERR#54 'Connection reset by 
peer'
...
errno.h:#define ECONNRESET      54              /* Connection reset by peer */
{noformat}



> 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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to