Re: [xwiki-users] getURLContent problem

2016-01-24 Thread vinc...@massol.net
Hi Pascal,

On 23 Jan 2016 at 23:03:48, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

> Hi,
>  
> This URL 
> https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC
>  returns json text but from myxwiki.org this velocity code didn't display 
> json data...
>  
> $xwiki.getURLContent('https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC')
>  
> Could you tell me if the internet domain is forbidden from myxwiki.org?
> May be I must escape some characters?

The issue is with the HTTPS protocol used in the URL.

In the logs of myxwiki.org there’s:

Failed to retrieve content from 
[https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC]
 
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

At this point I don’t know what’s the problem. We’re using httpclient in 
getURLContent() which supports HTTP over SSL out of the box.

Thanks
-Vincent


> Thxs for your help.
>  
> Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] getURLContent problem

2016-01-23 Thread Pascal BASTIEN
Hi,

This URL 
https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC
 returns json text but from myxwiki.org this velocity code didn't display json 
data...

$xwiki.getURLContent('https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC')

Could you tell me if the internet domain is forbidden from myxwiki.org?
May be I must escape some characters?

Thxs for your help.

Pascal B

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users