Az login "getaddrinfo" failed for api-dogfod.resources.windows-int.net
See original GitHub issueRelated command
az cloud register --name Dogfood --endpoint-active-directory-graph-resource-id https://graph.ppe.windows.net/ \
--endpoint-active-directory-resource-id https://management.core.windows.net/ \
--endpoint-gallery https://df.gallery.azure-test.net/ \
--endpoint-resource-manager https://api-dogfood.resources.windows-int.net/ \
--endpoint-active-directory https://login.windows-ppe.net
az cloud set --name Dogfood
az login
Describe the bug
<urllib3.connection.HTTPSConnection object at 0x04F97760>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
To Reproduce
az cloud register --name Dogfood --endpoint-active-directory-graph-resource-id https://graph.ppe.windows.net/ \
--endpoint-active-directory-resource-id https://management.core.windows.net/ \
--endpoint-gallery https://df.gallery.azure-test.net/ \
--endpoint-resource-manager https://api-dogfood.resources.windows-int.net/ \
--endpoint-active-directory https://login.windows-ppe.net
az cloud set --name Dogfood
az login
After the above cmdlets, login through the auto pop-up window (https://login.windows-ppe.net/organizations/oauth2/v2.0/authorize
Environment summary Shell type: Powershell (run as Admin) { “azure-cli”: “2.41.0”, “azure-cli-core”: “2.41.0”, “azure-cli-telemetry”: “1.0.8”, “extensions”: { “connectedk8s”: “1.3.4”, “k8s-configuration”: “1.6.0” } }
Additional context I am running az login after setting cloud to Dogfood environment. I’ve already checked my firewall and proxy settings. I have turned on Defender firewall, and proxy is off as well.
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
ERROR Azure CLI behind a proxy that intercepts traffic
AZ LOGIN | ERROR Azure CLI behind a proxy that intercepts traffic. Hi,. Can anyone please help with this, currently I'm on VPN...
Read more >Setting up az cli, however I cannot connect due to max retries ...
I'm trying to connect to our company's Org on dev.azure.com. I've searched and have not come across anything that helps. Thanks - please...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this is simply because
api-dogfod.resources.windows-int.net
is not a valid domain:According to https://github.com/Azure/azure-cli/issues/20846#issue-1089659664, it should be
I guess you missed an
o
in the URL.@jiasli Oops, yes, after adding an o it worked. Thanks so much for taking a close look into it 😃