Mysterious HTTPSConnectionPool error deploying (too many 500 error responses) when comments are added before first curly brace
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az group deployment create
Errors:
Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/e5ef2b13-6478-4887-ad57-1aa6b9475040/resourcegroups/deleteme/providers/Microsoft.Resources/deployments/comment-bug?api-version=2019-07-01 (Caused by ResponseError('too many 500 error responses'))
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Use this deployment template:
// COMMENTS HERE CAUSE MYSTERIOUS ERROR
{
// COMMENTS HERE ARE OKAY
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
]
}
az group deployment create -g {} --template-file {} --handle-extended-json-format
Expected Behavior
- Should deploy successfully, or at least give an actionable error message. Took a while to figure out what was going wrong
Environment Summary
macOS-10.14.6-x86_64-i386-64bit
Python 3.8.1
Shell: bash
azure-cli 2.0.80 *
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Better handle of related service being down - greenwave
In this situation, greenwave returns a 500 error without any explanations. ... by ResponseError('too many 500 error responses')) During handling of the ...
Read more >Max retries exceeded with URL in requests - Stack Overflow
The full error is: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.google.com', port=80): Max retries exceeded with url: / (Caused by ...
Read more >Getting syntax error due to curly braces with multiple commands
I am trying to run the following multiple commands a command prompt but I get syntax error near unexpected token '}'. The following...
Read more >Error code 111 cbs
CBS Registry Errors. Page 2 of 2 First 12. ... The table below lists the SQL numeric error codes and their error messages...
Read more >Untitled
Az scratchers codes! ... Comment dire simplement merci, Etrier frana dacia 1310! ... Garden hose spray gun set, Kalkunbryst saus, Mp-gt1 device error, ......
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
Yes, since 2 days I was facing the same issue. I thought might be azure-cli is not installed properly on my system, i reinstalled it several times. But, yes commented ARM code before the { $schema: was giving the HTTPSConnectionPool error. Now its working when i removed that commented code. Thanks @StephenWeatherford . Please do look into this. This causes the ARM template az deployment to have error as : RetryError: HTTPSConnectionPool(host=‘management.azure.com’, port=443): Max retries exceeded
Just now had the same issue for a template that I took from the template repo.