-
Notifications
You must be signed in to change notification settings - Fork 89
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
Preview 2.0 Panic error #248
Comments
Hi thanks for reporting. Can you please set the |
Hello, [Aug 20 11:36:11.379389] Retry: response 200 goroutine 58 [running]: |
We have Regards, |
This seems to be yet another issue. If you run with the env variable and the --debug flag you should see the ARG query that causes the issues. Can you share please share it? |
Throttling is been handled and is not the cause of these Panic errors |
Hello, [Aug 20 11:36:10.816275] Retry: response 429
|
Hmm sorry about that. If you use the DBG // Azure Resource Graph Query
// This resource graph query will return all storage accounts that does not have a Private Endpoint Connection or where a private endpoint exists but public access is enabled
resources
| where type =~ "Microsoft.Storage/StorageAccounts"
| where isnull(properties.privateEndpointConnections) or properties.privateEndpointConnections[0].properties.provisioningState != ("Succeeded") or (isnull(properties.networkAcls) and properties.publicNetworkAccess == 'Enabled')
| extend param1 = strcat('Private Endpoint: ', iif(isnotnull(properties.privateEndpointConnections),split(properties.privateEndpointConnections[0].properties.privateEndpoint.id,'/')[8],'No Private Endpoint'))
| extend param2 = strcat('Access: ', iif(properties.publicNetworkAccess == 'Disabled', 'Public Access Disabled', iif(isnotnull(properties.networkAcls), 'NetworkACLs in place','Public Access Enabled')))
| project recommendationId = "dc55be60-6f8c-461e-a9d5-a3c7686ed94e", name, id, tags, param1, param2 If possible share with me the Azure Resource Graph Query that shows right before the panic error. Thanks for your patience and help! |
Hello, [90m2024-08-20T12:40:03+02:00�[0m DBG // Azure Resource Graph Query but not sure since I don't see it on session screen but only using > debug.txt (where I don't see the panic error) The command line is: The env is quite huge Regards, |
Just released: v.2.0.0-preview.4 Please check if it fixes the issue for you. |
seems to be running, but very slow Keep you updated. 2024-08-20T14:41:07+02:00 FTL Failed to get diagnostic settings error="Post "https://management.azure.com/batch?api-version=2020-06-01\": dial tcp [2603:1030:a0c::10]:443: bind: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." Running again with debug option Red. |
Now it seems that due to the huge size of your environment, azqr is attempting more than 13.000 diagnostics settings queries in parallel and failing. Let me see what I can do to fix this. In the mean time please use the |
Hello,
just tried and received this
Last line was: INF Scanning subscriptions for Microsoft.SignalRService/webPubSub
panic: interface conversion: interface {} is map[string]interface {}, not string
goroutine 80 [running]:
github.com/Azure/azqr/internal.AprlScanner.graphScan({}, {0x2431e68, 0xc0000916d0}, 0xc00040e168, {0xc000352b40, 0xc, 0x0?}, 0xc000279350)
D:/a/azqr/azqr/internal/aprl_scanner.go:198 +0xb94
github.com/Azure/azqr/internal.AprlScanner.Scan.func2({0xc000352b40?, 0xc?, 0x8f?}, 0xa9aa0a9aa0a9aa0?)
D:/a/azqr/azqr/internal/aprl_scanner.go:154 +0x125
created by github.com/Azure/azqr/internal.AprlScanner.Scan in goroutine 1
D:/a/azqr/azqr/internal/aprl_scanner.go:146 +0x254
Regards,
Red.
The text was updated successfully, but these errors were encountered: