Skip to content
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_application_insights_web_test failing with status code 201 #16826

Closed
1 task done
protoblade opened this issue May 17, 2022 · 3 comments
Closed
1 task done

azurerm_application_insights_web_test failing with status code 201 #16826

protoblade opened this issue May 17, 2022 · 3 comments
Labels
bug duplicate service/application-insights upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR v/2.x (legacy)

Comments

@protoblade
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.1.9

AzureRM Provider Version

2.97.0

Affected Resource(s)/Data Source(s)

azurerm_application_insights_web_test

Terraform Configuration Files

resource "azurerm_application_insights_web_test" "ui-webtest" {
  name                    = "ui-webtest-${var.naming}"
  location                = var.location_name
  resource_group_name     = var.rsg_name
  application_insights_id = azurerm_application_insights.appinsights.id
  kind                    = "ping"
  frequency               = 300
  timeout                 = 60
  retry_enabled           = true
  enabled                 = true
  geo_locations           = ["emea-nl-ams-azr", "emea-se-sto-edge", "emea-fr-pra-edge", "emea-gb-db3-azr"]
  configuration           = templatefile("${path.module}/monitoring.xml", { name = "UI", url = "https://${var.ui_url}/" })
}

Debug Output/Panic Output

creating/updating Application Insights Web Test: (Name "ui-webtest-euwe-pdsk-pddev-2956" / Resource Group "rsg-euwe-pdsk-pddev-2956"): insights.WebTestsClient#CreateOrUpdate: Failure responding to request: StatusCode=201 -- Original Error: autorest/azure: Service returned an error. Status=201 Code="Unknown" Message="Unknown service error" Details=[{"etag":"\"4b009a5b-0000-0200-0000-628382b30000\"","id":"/subscriptions/***/resourceGroups/rsg-euwe-pdsk-pddev-2956/providers/microsoft.insights/webtests/ui-webtest-euwe-pdsk-pddev-2956","kind":"ping","location":"westeurope","name":"ui-webtest-euwe-pdsk-pddev-2956","properties":{"Configuration":{"WebTest":"\u003cWebTest Name=\"UI\" Enabled=\"true\" CssProjectStructure=\"\" CssIteration=\"\" Timeout=\"30\" WorkItemIds=\"\" xmlns=\"http://microsoft.com/schemas/VisualStudio/TeamTest/2010\" Description=\"\" CredentialUserName=\"\" CredentialPassword=\"\" PreAuthenticate=\"True\" Proxy=\"default\" StopOnError=\"False\" RecordedResultFile=\"\" ResultsLocale=\"\"\u003e\n    \u003cItems\u003e\n        \u003cRequest Method=\"GET\" Version=\"1.1\" Url=\"https://pddev-2956.feature.bradypowerdesk.com/\" ThinkTime=\"0\" Timeout=\"30\" ParseDependentRequests=\"False\" FollowRedirects=\"True\" RecordResult=\"True\" Cache=\"False\" ResponseTimeGoal=\"0\" Encoding=\"utf-8\" ExpectedHttpStatusCode=\"200\" ExpectedResponseUrl=\"\" ReportingName=\"\" IgnoreHttpStatusCode=\"False\" /\u003e\n    \u003c/Items\u003e\n\u003c/WebTest\u003e"},"Description":"","Enabled":true,"Frequency":300,"Kind":"ping","Locations":[{"Id":"emea-nl-ams-azr"},{"Id":"emea-se-sto-edge"},{"Id":"emea-fr-pra-edge"},{"Id":"emea-gb-db3-azr"}],"Name":"ui-webtest-euwe-pdsk-pddev-2956","Request":null,"RetryEnabled":true,"SyntheticMonitorId":"ui-webtest-euwe-pdsk-pddev-2956","Timeout":60,"ValidationRules":null,"provisioningState":"Succeeded"},"tags":{"hidden-link:/subscriptions/***/resourceGroups/rsg-euwe-pdsk-pddev-2956/providers/Microsoft.Insights/components/appinsights-euwe-pdsk-pddev-2956":"Resource"},"type":"microsoft.insights/webtests"}]

Expected Behaviour

this code has been successfully deployed until last week, started to fail since monday

Actual Behaviour

fails

Steps to Reproduce

terraform apply

Important Factoids

No response

References

No response

@protoblade protoblade added the bug label May 17, 2022
@github-actions github-actions bot removed the bug label May 17, 2022
@sebader
Copy link
Contributor

sebader commented May 17, 2022

duplicate #16805

@tombuildsstuff
Copy link
Contributor

duplicate of #16805 - thanks @sebader

@tombuildsstuff tombuildsstuff added bug duplicate upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR service/application-insights labels May 17, 2022
@github-actions
Copy link

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug duplicate service/application-insights upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR v/2.x (legacy)
Projects
None yet
Development

No branches or pull requests

4 participants