plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

getplotlyoffline fails to download latest plotly.js over HTTPS

Open BRONSOLO opened this issue 7 years ago • 4 comments

>> 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');

BRONSOLO avatar May 23 '17 13:05 BRONSOLO

** temporarily updated the doc to recommend http

cldougl avatar Jun 12 '17 19:06 cldougl

>>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');

bldulam1 avatar Oct 19 '18 02:10 bldulam1

what is the solution for this error

Pureti avatar Dec 24 '18 10:12 Pureti

@Pureti Use getplotlyoffline('http://cdn.plot.ly/plotly-latest.min.js'), i.e. change https to http.

CsatiZoltan avatar Jun 03 '19 16:06 CsatiZoltan