brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Macartney (JIRA)" <>
Subject [jira] [Commented] (BROOKLYN-302) SSLException: close_notify in ResourceUtils getResourceAsString against https url
Date Tue, 26 Jul 2016 10:45:20 GMT


Geoff Macartney commented on BROOKLYN-302:

I had a very similar problem when running container service from home. When it tried to load
the include ``,
I got 

` Received fatal alert: close_notify` 

For me it turned out to be because I have Virgin Media as ISP and had Virgin’s “Web Safe”
parental protection mode on. Turning this off fixed the problem. What highlighted the problem
for me was doing an nslookup on the address it gave me was a Virgin
Media address rather than the github one.


> SSLException: close_notify in ResourceUtils getResourceAsString against https url
> ---------------------------------------------------------------------------------
>                 Key: BROOKLYN-302
>                 URL:
>             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("");
>         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( ~[brooklyn-utils-common-0.10.0-20160613.090333-51.jar:0.10.0-SNAPSHOT]
> Caused by: Received fatal alert: close_notify
> 	at ~[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

View raw message