Closed maximuslee1226 closed 7 years ago
We could probably catch the error better and display a better error message.
Doing a readLines()
shows the root cause:
> readLines("https://studioapi.azureml.net")
Error in file(con, "r") : cannot open connection
In addition: Warning message:
In file(con, "r") :
URL 'https://studioapi.azureml.net/': status was 'Problem with the SSL CA cert (path? access rights?)'
And the solution is documented at the AzureDataLake blog on MSDN: "Solving the problem of “Problem with the SSL CA cert (path? access rights?)” for R server on HDInsight".
Try this:
install.packages(c("curl", "httr"))
Then run your code and it should work.
Thank you so much Andrie, That worked! Brandon
When I run the following code running in HDInsight 3.6 with R server option, I get the following error
Even after I changed the json config file to https://ussouthcentral.stuido.azureml.net/, I still have the same error.
Please help!