Error:1411809D:SSL routines - When trying to make https call from inside R module in AzureML

拈花ヽ惹草 提交于 2019-12-24 17:16:03

问题


I have an experiment in AzureML which has a R module at its core. Additionally, I have some .RData files stored in Azure blob storage. The blob container is set as private (no anonymous access).

Now, I am trying to make a https call from inside the R script to the azure blob storage container in order to download some files. I am using the httr package's GET() function and properly set up the url, authentication etc...The code works in R on my local machine but the same code gives me the following error when called from inside the R module in the experiment

error:1411809D:SSL routines:SSL_CHECK_SERVERHELLO_TLSEXT:tls invalid ecpointformat list

Apparently this is an error from the underlying OpenSSL library (which got fixed a while ago). Some suggested workarounds I found here were to set sslversion = 3 and ssl_verifypeer = 1, or turn off verification ssl_verifypeer = 0. Both of these approaches returned the same error.

I am guessing that this has something to do with the internal Azure certificate / validation...? Or maybe I am missing or overseeing something?

Any help or ideas would be greatly appreciated. Thanks in advance.

Regards


回答1:


After a while, an answer came back from the support team, so I am going to post the relevant part as an answer here for anyone who lands here with the same problem.

"This is a known issue. The container (a sandbox technology known as "drawbridge" running on top of Azure PaaS VM) executing the Execute R module doesn't support outbound HTTPS traffic. Please try to switch to HTTP and that should work."

As well as that a solution is on the way :

"We are actively looking at how to fix this bug. "

Here is the original link as a reference. hth



来源:https://stackoverflow.com/questions/33802274/error1411809dssl-routines-when-trying-to-make-https-call-from-inside-r-modul

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!