Closed tinder-tder closed 3 weeks ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Hey @tinder-tder, my apologies for the late response. Could you please try the above using the latest version(0.21.3) of Steampipe?
@bigdatasourav it looks like those warnings no longer showup with the latest steampipe version and latest plugin version (0.12) but now the query doesnt complete.
2024-01-22 20:32:14.156 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: doList callHydrateWithRetries (net-1705955491598) returned err read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout
2024-01-22 20:32:14.156 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: QueryData StreamError read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout (net-1705955491598)
2024-01-22 20:32:14.156 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: streamRows execution has failed: net-1705955491598 - calling queryCache.AbortSet (net: read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout)
2024-01-22 20:32:14.159 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: QueryCache AbortSet - aborting request with error net: read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout (1 subscriber) (net-1705955491598)
2024-01-22 20:32:14.159 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: queryData.streamRows returned error: net: read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout
2024-01-22 20:32:14.159 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: executeForConnection net returned error net: read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout, writing to CHAN
2024-01-22 20:32:14.159 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: error channel received net: read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout
2024-01-22 20:32:14.180 UTC [WARN] steampipe-plugin-net.plugin: [WARN] 1705955491598: readAndStreamAsync failed to read previous rows from cache: net: read udp 10.24.166.252:39462->1.1.1.1:53: i/o timeout publisher net-1705955491598 (net-1705955491598)
@tinder-tder, When you said that the query doesn't complete
, does this mean that query execution was not completed in the terminal, or are you getting an error in the terminal?
@bigdatasourav no errors it just hangs, i have tried to change the query around and it looks like it just takes longer now. Connecting in service mode via redash it used to finish but now its timing out (client connection dies and the transaction gets rolled back). I can connect locally and run the same query via psql and it will eventually finish.
@kaidaguerre, as discussed on the above Slack thread, could you please look into it when you get a chance?
Hi @tinder-tder are you still seeing this issue?
@kaidaguerre Yes, we are basically splitting up queries now into smaller chunks to get around it for now. The cache erros are not showing up in the logs. we can close this if there isnt anything we can do
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 90 days with no activity.
Describe the bug Caching errors/corruption(?) causing plugin to exit or not complete queries. It seems to happen only when doing a large amount of queries for a domain list > 2k. I have attempted to throttle the plugin with the limiter block config but it doesn't not fix it.
Error running query: rpc error: code = Unknown desc = IterateSet called for callId net-1699322677353 but there is no in-progress ‘set’ operation
which is also logged in the plugin log)select from steampipe_internal.meta_cache(‘off’);
before running the query prevents errors/warnings in the plugin and seems to run faster when it does complete (works in redash)sample of logs when caching is ON:
and
Steampipe version (
steampipe -v
) v0.21.1Plugin version (
steampipe plugin list
) 0.11.1To reproduce
create a large list of domains to scan and run a query against the
net_dns_record
table with all domains in the listExpected behavior query to complete
Additional context slack thread