-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded #10015
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi again, I am reusing the exact same code on different environment, There is no refresh issue, furthermore, terraform refresh happening in lightning speed without any issues, so main differences between errored environment and working one:
|
Error: Error reading queue properties for AzureRM Storage Account "storageaccountname": queues.Client#GetServiceProperties: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded
|
Receiving the same issue. OS: RHEL
|
I am having this issue as well.
I found out it happens when you add an azurerm_private_endpoint resource for your fileshare. |
Here too, also on private endpoint for blob storage |
seeing the same here, trying to refresh state on azurerm_storage_container fails |
Having the same issue |
same issue, with azurerm 2.59, rhel and private endpoint. we deploy the same code in westus2 and southcentralus without issue, but we're seeing this in westcentralus. what region is everyone else deploying to? a bash curl call to the api (https://docs.microsoft.com/en-us/rest/api/storagerp/queue-services/get-service-properties) works fine in all cases |
we figured out our issue. for some reason querying queue properties doesn't go through the azure api, but queries the storage account directly. since we are using private endpoint, we had to open up the nsg to allow port 443 connectivity to the storage account subnet from terraform. |
Any updates on this issue? Experiencing the same error with terraform v0.14.5, azurerm v2.69.0. |
Same here I have 443 open and such, no luck OS="Alpine Linux" (atlantis) The below snippet repeats till 10 minute timeout, exact same as the issue.
|
I experienced the same as @fgarcia-cnb mentions, the query didn't go through the public Azure API, but connected to the storage accounts private endpoint. Before I opened tcp-443 in Azure Firewall to the private endpoint I got the error message: I was using the azurerm provider version 2.57.0. |
@robertbrandso or @fgarcia-cnb do you happen to have a terraform snippet for how you got this workaround running? Bit confused as to where that's being set, as I hit the same issue even without a firewall rule at the vnet level, and as far as I know according to the docs, NSG rules are ignored for private endpoints with Thank you! |
in our case, its not a tf code issue. its a matter of allowing our VM thats running terraform outbound access to the storage account private endpoint subnet. you are correct, private endpoint doesnt use nsg, but thats on the inbound side. |
In the release announcement for azurerm 3.0 it says:
Maybe that'll fix this issue? |
This'll be fixed by #2977 - please subscribe to that issue for updates |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform (and AzureRM Provider) Version
Hi, we having that on:
azurerm version = "=2.37.0"
version = "=2.41.0"
version = "=2.30.0"
Terraform Version
terraform is written in Terraform 12 features
Affected Resource(s)
azurerm_storage_share
Terraform Configuration Files
Debug Output
Expected Behaviour
We expect our state refresh successfully, it is happening on Plan stage, first apply goes without any issues, at the moment we are using -refresh=false as a workaround
Actual Behaviour
After 10 minutes of refreshing of the state,
We also have 4 other Private Endpoints (after we added them refresh took from ~30 seconds to 5 minutes, after we added fifth Private endpoint for File Share it stopped refreshing and always failing at 10 minutes)
Steps to Reproduce
terraform apply
Notes:
On azurerm providers 2.37 - 2.41 issue description not explaining anything:
Community Note
The text was updated successfully, but these errors were encountered: