Skip to content

SSL error on ws.compute_targets #1107

@AndrewLouw

Description

@AndrewLouw

Trying to get ws.compute_targets hangs for a long time (max retries) then eventually produces an error. The actual error is:
Max retries exceeded
but this is due to an underlying bad handshake

This does not happen on 1.0.85

To replicate:

  1. create a new azureml workspace resource
  2. pip install --upgrade azure-sdk
  3. download config file
    4 run below:

import azureml
from azureml.core import Workspace
print(f"version: {azureml.core.version}")
ws = Workspace.from_config(config)
ws.compute_targets

Out:
version: 1.12.0

...Traceback...

SSLError: HTTPSConnectionPool( REDACTED_PII ) Max retries exceeded with url: REDACTED_PII api-version=2020-02-02 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions