-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
HTTP 404 response on any resource group containing an Application Gateway resource #39
Comments
I am also having the same issue, would love a fix! |
Looks like the same issue on Load Balancers: No HTTP resource was found that matches the request URI 'https://northeurope.network.azure.com:30060/{removed}/132593330479865294/subscriptions/{removed}/resourceGroups/{removed}/pr |
Same issue here with a gateway. ▶ Starting to generate Azure visualization... 179ms Get-AzResource: Documents\PowerShell\Modules\AzViz\1.1.2\src\private\ConvertFrom-Network.ps1:90 |
I was able to reproduce the issue when REASON: Often network associations as not limited to current Resource group and point to different resource groups and even subscriptions in many cases, and when 'Export-AzViz' cmdlet as of today only intends to target all resources within the target resource groups and there is no need to visualize dependencies or network associations outside the resource group. So, to fix this: Only target Resource IDs which has target resource group in the string, and skip all external associations, see the below lines of code to understand what has been implemented👇 At some later stage as and when this module evolves, I want to add a feature\enhancement to visualize any external dependencies as well, so creating another issue #58 and closing this one. |
Can any one tell what could be the reason for this error. dot.exe : Warning: Two clusters named clusterWebPortal - the second will be ignored
|
I've tried against multiple subscriptions and resource groups, they all seem to work except for resource groups containing Application Gateway resources. I get an HTTP 404 not found response, as seen below
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com//subscriptions/[removed]/resourceGroups/[removed]/providers/Microsoft.Network/applicationGateways/[removed]/frontendIPConfigurations/appGatewayFrontendIP?api-version=2016-09-01
Headers:
x-ms-client-request-id : [removed]
Accept-Language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
NotFound
Headers:
Cache-Control : no-cache
Pragma : no-cache
Strict-Transport-Security : max-age=31536000; includeSubDomains
Server : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 11998
x-ms-request-id : [removed]
x-ms-correlation-request-id : [removed]
x-ms-routing-request-id : [location]:20210428T131307Z:[removed]
X-Content-Type-Options : nosniff
Date : Wed, 28 Apr 2021 13:13:06 GMT
Body:
{
"Message": "No HTTP resource was found that matches the request URI 'https://[location].network.azure.com:30010/[removed]/132615493315838172/subscriptions/[removed]/resourceGroups/[removed]/providers/Microsoft.Network/applicationGateways/[removed]/frontendIPConfigurations/appGatewayFrontendIP?api-version=2016-09-01'."
}
Get-AzResource: PowerShell\Modules\AzViz\1.1.2\src\private\ConvertFrom-Network.ps1:90
Line |
90 | … toCateg = (Get-AzResource -ResourceId $to.ResourceId).Resour …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| No HTTP resource was found that matches the request URI
| 'https://[location].network.azure.com:30010/[removed]/132615493315838172/subscriptions/[removed]/resourceGroups/[removed]/providers/Microsoft.Network/applicationGateways/[removed]/frontendIPConfigurations/appGatewayFrontendIP?api-version=2016-09-01'. StatusCode: 404 ReasonPhrase: Not Found OperationID : [removed]
Testing a little bit on my own, I get the same HTTP 404 response on the following uris
applicationGateways/[appgwname]/frontendIPConfigurations/appGatewayPublicIP?api-version=2016-09-01
applicationGateways/[appgwname]/backendAddressPools/[poolname1]?api-version=2016-09-01
applicationGateways/[appgwname]/backendAddressPools/[poolname2]?api-version=2016-09-01
The text was updated successfully, but these errors were encountered: