Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
381 stars 1.2k forks source link

AZ cli-translator: HTTPSConnectionPool(host='portal2cli.azurewebsites.net', port=443): Max retries exceeded with url: /api/v1 #6814

Open triple-it opened 12 months ago

triple-it commented 12 months ago

Describe the bug

It looks like 'az cli-translator' is infrastructure-wise not working!

Related command

az configure --defaults group=rg-aVM az cli-translator arm translate --target-subscription 0-0-0-0-0 --template template.json --parameters parameters.json

Errors

Fail to translate, please try a few minutes later. HTTPSConnectionPool(host='portal2cli.azurewebsites.net', port=443): Max retries exceeded with url: /api/v1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5eab65a920>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Issue script & Debug output

az cli-translator arm translate --target-subscription 0-0-0-0-0 --template template.json --parameters parameters.json

Fail to translate, please try a few minutes later. HTTPSConnectionPool(host='portal2cli.azurewebsites.net', port=443): Max retries exceeded with url: /api/v1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5eab65a920>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Expected behavior

I would expect that I could see some az cli script being generated as output!

Environment Summary

azure-cli 2.52.0 *

core 2.52.0 * telemetry 1.1.0

Extensions: aks-preview 0.5.160 cli-translator 0.3.0 connectedk8s 1.4.2 k8s-configuration 1.7.0 k8s-extension 1.4.5

Dependencies: msal 1.24.0b1 azure-mgmt-resource 23.1.0b2

Additional context

No response

yonzhan commented 12 months ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 12 months ago

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

racinmat commented 3 months ago

I got it too, any update on this?