azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

SSLError: HTTPSConnectionPool when registering ML model on Azure

Open jay2017-git opened this issue 6 years ago • 3 comments

Hi Everyone,

Please I have my Databricks instance in a VNET. I’m trying to deploy my Machine learning model using the Azure ML workspace on Azure Container Instance (ACI).

I’m able to create an ML workspace. I get an SSLERROR when I try to register the Model using Model.register().

Using this code -

` from azureml.core import Workspace from azureml.core.model import Model import azureml.core from azureml.core.workspace import Workspace from azureml.core.model import Model

from azureml.core import Workspace ws = Workspace.create(name='myworkspace', subscription_id='', resource_group='myresourcegroup', location='eastus' )

model_reg = Model.register(model_path = “./model_dir”, model_name = "ModelX", workspace = ws) `

Find below the error when I try to deploy my model.

  SSL Error: SSLError: HTTPSConnectionPool(host='eastus.experiments.azureml.net', port=443): Max retries exceeded with url: /discovery (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')")))   Please note only the Azure Databricks is in a VNET on Azure. How do I resolve it and deploy my model as a webservice on ACI.

Thank you.

jay2017-git avatar Sep 10 '20 04:09 jay2017-git

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.

ghost avatar Sep 10 '20 17:09 ghost

@jay2017-git apologies for the delayed response. is this still an issue?

swatig007 avatar Feb 20 '21 02:02 swatig007

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Feb 27 '21 08:02 ghost