[xwiki-users] getURLContent problem
Hi, This URL https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDe... 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=getClanDe...') 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
Hi Pascal, On 23 Jan 2016 at 23:03:48, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
Hi,
This URL https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDe... 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=getClanDe...')
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=getClanDe...] 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
participants (2)
-
Pascal BASTIEN -
vincent@massol.net