Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure CLI connect fail #27985

Closed
Clairelala opened this issue Dec 8, 2023 · 3 comments
Closed

Azure CLI connect fail #27985

Clairelala opened this issue Dec 8, 2023 · 3 comments
Assignees
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue Storage az storage
Milestone

Comments

@Clairelala
Copy link

Describe the bug

I'm encountering a connectivity issue when trying to run the following Azure CLI command

az storage blob list --container-name mycontainer --account-name mycvstorage --sas-token 'mytoken'

Related command

az storage blob list

Errors

<urllib3.connection.HTTPSConnection object at 0x000001EA965D9ED0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

Issue script & Debug output

<urllib3.connection.HTTPSConnection object at 0x000001F0ECC07090>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

Expected behavior

list the container

Environment Summary

azure-cli 2.55.0

core 2.55.0
telemetry 1.1.0

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

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\liangcl01.azure\cliextensions'

Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

@Clairelala Clairelala added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 8, 2023
Copy link

Hi @Clairelala
Find similar issue #23780.

Issue title Erro ao tentar usar o az find
Create time 2022-09-03
Comment number 1

Please confirm if this resolves your issue.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage az storage labels Dec 8, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 8, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 8, 2023

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

@yonzhan yonzhan added this to the Backlog milestone Dec 8, 2023
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 8, 2023
@calvinhzy
Copy link
Member

Hi @Clairelala do the other commands work like az storage account create and az storage container create?
Did you get the sas token through this command?
az storage container generate-sas --permissions rl --account-name satestbloblist --name container1 --start "2023-12-07T00:00:00Z" --expiry "2024-01-01T00:00:00Z" -o tsv
Another thing to try is run az login again.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue Storage az storage
Projects
None yet
Development

No branches or pull requests

4 participants