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:
- create a new azureml workspace resource
- pip install --upgrade azure-sdk
- 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.
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:
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.