Azure / Azure/azure-quickstart-templates

ARM deploy timeout with expressroute circuit, internal server error

Open
#3,245 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

### Issue Details
We where in the process of enabling express route, we hit the following issue, the circuit was deployed but our BGP sessions on our side have not been configured, in this state when we added the following snippet to our complete RG deployment. The case number 117031715470485.

` {
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/connections",
"name": "fra-ams-erc",
"location": "[resourceGroup().location]",
"dependsOn": [
"Microsoft.Network/virtualNetworkGateways/az-erc"
],
"properties": {
"virtualNetworkGateway1": {
"id": "[resourceId('Microsoft.Network/virtualNetworkGateways', parameters('er_NetworkGateway_name'))]"
},
"peer": {
"id": "[resourceId('Microsoft.Network/expressRouteCircuits',parameters('circuitName'))]"
},
"connectionType": "ExpressRoute",
"routingWeight": "20"
}
},
`
This leads to the resouce being created, but the deployment takes forever and finaly fails with internal server error. It seems that this relates to the missing BGP neighbor config on our side, but I would not expect this behaviour of this kind of errror message.

### Repro steps
1.Create VNET with expressroute circuit but BGP sessions down
2.As soon as the connection resource is part of the template it runs into a timeout and internal server error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ARM JSON connection snippet and the two listed repro steps, focusing on deployment when the ExpressRoute circuit's BGP sessions are down. Reproduce the timeout and internal server error, then establish whether the behavior is expected and record a concrete template or service-level finding.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.