You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/16 20:15:00 UTC

[jira] [Commented] (JUNEAU-88) AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed

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

ASF GitHub Bot commented on JUNEAU-88:
--------------------------------------

garydgregory opened a new pull request #9: [JUNEAU-88] AddressBookResourceTest fails with
URL: https://github.com/apache/juneau/pull/9
 
 
   org.apache.juneau.rest.client.RestCallException: Software caused
   connection abort: recv failed. Update Apache HttpClient from 4.5.4 to
   4.5.6.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JUNEAU-88
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-88
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>            Reporter: Gary Gregory
>            Priority: Major
>
> AddressBookResourceTest fails with org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
> {noformat}
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.juneau.examples.rest._TestSuite
> Running class 'RestMicroservice' using config file 'examples.cfg'.
> Server started on port 10000
> List of available commands:
>         exit -- Shut down service
>         restart -- Restarts service
>         help -- Commands help
>         echo -- Echo command
> > log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> WARNING:  RestClient garbage collected before it was finalized.
> Creation stack traces can be displayed by setting the system property 'org.apache.juneau.rest.client.RestClient.trackLifecycle' to true.
> Stopping server.
> Server stopped.
> [ERROR] Tests run: 31, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.43 s <<< FAILURE! - in org.apache.juneau.examples.rest._TestSuite
> [ERROR] testProxyInterface(org.apache.juneau.examples.rest.AddressBookResourceTest)  Time elapsed: 0.048 s  <<< ERROR!
> java.lang.RuntimeException: org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
>         at org.apache.juneau.examples.rest.AddressBookResourceTest.testProxyInterface(AddressBookResourceTest.java:299)
> Caused by: org.apache.juneau.rest.client.RestCallException: Software caused connection abort: recv failed
>         at org.apache.juneau.examples.rest.AddressBookResourceTest.testProxyInterface(AddressBookResourceTest.java:299)
> Caused by: java.net.SocketException: Software caused connection abort: recv failed
>         at org.apache.juneau.examples.rest.AddressBookResourceTest.testProxyInterface(AddressBookResourceTest.java:299)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   AddressBookResourceTest.testProxyInterface:299 ยป Runtime org.apache.juneau.res...
> [INFO]
> [ERROR] Tests run: 31, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> {noformat}
> This always fails for me from Maven. From Eclipse it works. Updating HttpClient from 4.5.4 to 4.5.6 caused my local build to pass from Maven. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)