-
Notifications
You must be signed in to change notification settings - Fork 982
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
Frequent query failures on Decentralized Network #3839
Comments
Hi! I think this is therefore a subgraph / indexer specific issue on the network - I expect that this error is a timeout from the Indexer or the Gateway. There are a reasonably large number of entities in the subgraph, but I think there are lots of prior values of the snapshots, which likely slow the query down. I think indexers could likely benefit from applying the account-like optimisation here, but interested in @lutter's thoughts |
I just ran this query against the hosted service (by using the URL The first time, the query took 20s, subsequent executions, even with small changes in the timestamp, take < 1s. I think it is likely that the failure is due to a timeout caused by the indexer taking a long time to respond to the query. |
Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it. |
Closing this issue 🙏 |
Do you want to request a feature or report a bug? BUG
What is the current behavior?
Subgraph ID:
6tGbL7WBx287EZwGUvvcQdL6m67JGMJrma3JSTtt5SV7
When querying a particular subgraph, we're encountering occasional server error messages. It does not happen all the time, only on occasional queries.
Error message:
Querying on Postman and Playgrounds encounter the same errors, albeit a slightly different error message.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Postman query: https://thegraph.com/explorer/subgraph?id=6tGbL7WBx287EZwGUvvcQdL6m67JGMJrma3JSTtt5SV7&view=Playground
https://thegraph.com/explorer/subgraph?id=6tGbL7WBx287EZwGUvvcQdL6m67JGMJrma3JSTtt5SV7&view=Playground
I'm only seeing this error when querying this particular subgraph. I've yet to see this error on other subgraphs that we’ve deployed to the decentralized network. I’ve tried to make the same query on the playground and am getting a Failed to fetch error. Occasionally, I’m getting a “No indexer available” error too.
I've lowered the batch size (list of MarketIDs passed in as parameters), but the errors still occur occasionally. I can't conclusively say if lowering the batch size reduces the frequency of errors.
Example query body:
What is the expected behavior?
No errors and values returned.
The text was updated successfully, but these errors were encountered: