Unable to create Virtual Network due to "too many 502 error responses"

Karthick Narendran 1 Reputation point Microsoft Employee
2020-06-04T13:13:36.663+00:00

Hello,

Trying to create a Virtual Network using the ARM template results in the following error on the command line, using the Azure portal shows Bad Gateway status.

CLI:


fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error creating or updating virtual network kn-testing-vnet - Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/XXXX/providers/Microsoft.Network/locations/westus2/operations/be3be45e-95be-4940-a3cc-3dc85ddc3f36?api-version=2018-08-01 (Caused by ResponseError('too many 502 error responses',))"

Portal:


{
"error": {
"code": "InvalidGatewayHost",
"message": "Host name resolution failed for 'Microsoft.Network'; cannot fulfill the request."
}
}

Not sure if there is any ongoing issue with Virtual Network currently?, as this was all working fine yesterday.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,142 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karthick Narendran 1 Reputation point Microsoft Employee
    2020-06-04T13:28:25.247+00:00

    Thanks @Cedersved for sharing the status link, not have known of this link earlier. Very useful!.

    0 comments No comments