plotly_matlab
plotly_matlab copied to clipboard
getplotlyoffline fails to download latest plotly.js over HTTPS
>> getplotlyoffline('https://cdn.plot.ly/plotly-latest.min.js')
Response stream is undefined
below is a Java Error dump (truncated):
Error using urlread2 (line 217)
Java exception occurred:
javax.net.ssl.SSLException: Received fatal alert: protocol_version
Error in getplotlyoffline (line 4)
[plotly_bundle, extras] = urlread2(plotly_bundle_url, 'get');
** temporarily updated the doc to recommend http
>>getplotlyoffline('http://cdn.plot.ly/plotly-latest.min.js') Response stream is undefined below is a Java Error dump (truncated): Error using urlread2 (line 217) Java exception occurred: java.net.SocketException: Unexpected end of file from server
Error in getplotlyoffline (line 4) [plotly_bundle, extras] = urlread2(plotly_bundle_url, 'get');
what is the solution for this error
@Pureti Use getplotlyoffline('http://cdn.plot.ly/plotly-latest.min.js')
, i.e. change https to http.