OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

shares.Client#GetProperties: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded

  • Thread starter Thread starter teamdever
  • Start date Start date
T

teamdever

Guest
I've deployed a new file share on a storage account I have in Azure and ever since I did that I am no longer able to perform terraform plan and instead getting the following error:

Code:
azurerm_storage_account_customer_managed_key.this[0]: Refreshing state... [id=/subscriptions/**********/resourceGroups/myrg/providers/Microsoft.Storage/storageAccounts/myaccount]
╷
│ Error: shares.Client#GetProperties: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded
│ 
│   with azurerm_storage_share.this["share1"],
│   on main.tf line 155, in resource "azurerm_storage_share" "this":
│  155: resource "azurerm_storage_share" "this" {
│ 
╵
Destroy False detailedExitCode: 1
Error detected by Terraform
##[error]Script failed with exit code: 1

I've tried setting the storage account networking to public (Enable from all networks) and still the same. I've tried different Terraform versions (1.2.6, 1.0.4, 1.2.7, 1.2.0) - same outcome.

I've looked it up online and came up with these two tickets that seem similar but have yet to receive an answer (though they are not from Stack Overflow):

https://github.com/hashicorp/terraform-provider-azurerm/issues/17851

https://github.com/hashicorp/terraform-provider-azurerm/issues/2977

I have run out of leads to investigate at the moment , and I'd appreciate if someone might have new ideas as to what's causing the issue.

Let me know if I can share more information.
<p>I've deployed a new file share on a storage account I have in Azure and ever since I did that I am no longer able to perform terraform plan and instead getting the following error:</p>
<pre class="lang-bash prettyprint-override"><code>azurerm_storage_account_customer_managed_key.this[0]: Refreshing state... [id=/subscriptions/**********/resourceGroups/myrg/providers/Microsoft.Storage/storageAccounts/myaccount]

│ Error: shares.Client#GetProperties: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded

│ with azurerm_storage_share.this["share1"],
│ on main.tf line 155, in resource "azurerm_storage_share" "this":
│ 155: resource "azurerm_storage_share" "this" {


Destroy False detailedExitCode: 1
Error detected by Terraform
##[error]Script failed with exit code: 1
</code></pre>
<p>I've tried setting the storage account networking to public (Enable from all networks) and still the same.
I've tried different Terraform versions (1.2.6, 1.0.4, 1.2.7, 1.2.0) - same outcome.</p>
<p>I've looked it up online and came up with these two tickets that seem similar but have yet to receive an answer (though they are not from Stack Overflow):</p>
<p><a href="https://github.com/hashicorp/terraform-provider-azurerm/issues/17851" rel="nofollow noreferrer">https://github.com/hashicorp/terraform-provider-azurerm/issues/17851</a></p>
<p><a href="https://github.com/hashicorp/terraform-provider-azurerm/issues/2977" rel="nofollow noreferrer">https://github.com/hashicorp/terraform-provider-azurerm/issues/2977</a></p>
<p>I have run out of leads to investigate at the moment , and I'd appreciate if someone might have new ideas as to what's causing the issue.</p>
<p>Let me know if I can share more information.</p>
Continue reading...
 

Latest posts

I
Replies
0
Views
1
impact christian
I
Top