brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aled Sage (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-302) SSLException: close_notify in ResourceUtils getResourceAsString against https url
Date Thu, 27 Apr 2017 21:05:04 GMT

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

Aled Sage commented on BROOKLYN-302:
------------------------------------

I suggest we close this as "won't fix" - users have the workaround you identified.

[~duncangrant] you could add it to the docs troubleshooting section (as well as this jira
being indexed by search engines)?

> SSLException: close_notify in ResourceUtils getResourceAsString against https url
> ---------------------------------------------------------------------------------
>
>                 Key: BROOKLYN-302
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-302
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Duncan Grant
>            Priority: Minor
>
> This can be reproduced by running the following in the groovy console of brooklyn but
I'm not sure when it will fail.
> {code}
> org.apache.brooklyn.util.core.ResourceUtils utils = org.apache.brooklyn.util.core.ResourceUtils.create();
>         String result = utils.getResourceAsString("https://github.com/apache/brooklyn-library/raw/master/examples/simple-web-cluster/src/main/resources/visitors-creation-script.sql");
>         System.out.println(result);
> {code}
> I have seen this consistently fail for the last few days and have tried with java versions
1.7.0_71, 1.8.0_45, and 1.8.0_92.
> Error on failure is:
> {noformat}
> 2016-06-14 16:43:13,301 WARN  Problem in user-supplied script: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
SSLException: Received fatal alert: close_notify
> org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: 
> 	at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:128) ~[brooklyn-utils-common-0.10.0-20160613.090333-51.jar:0.10.0-SNAPSHOT]
> Caused by: javax.net.ssl.SSLException: Received fatal alert: close_notify
> 	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[na:1.8.0_92]
> {noformat}
> However this is working for me today.  This may be because I am running this from the
office rather than from home so I will try again at home this evening.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message