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

Svetoslav Neykov commented on BROOKLYN-302:
-------------------------------------------

Github could be experimenting with tightened security on servers or just have a 
misconfigured instance. Could you note down the IP of the server next time you 
get a failure.

> 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.4#6332)

Reply via email to