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

QueueFullError: JSON-RPC requests queue is full #1745

Closed
josepot opened this issue Apr 3, 2024 · 0 comments · Fixed by #1747
Closed

QueueFullError: JSON-RPC requests queue is full #1745

josepot opened this issue Apr 3, 2024 · 0 comments · Fixed by #1747

Comments

@josepot
Copy link
Contributor

josepot commented Apr 3, 2024

According to the JSON-RPC spec if a storage request can't be started because the requests queue is full, then the response should be either a LimitReached result, or a started event stating the number of discarded items.

Polkadot-API knows how to effectively deal with these cases.

However, in version 2.0.23 smoldot triggers the following error:

QueueFullError: JSON-RPC requests queue is full
    at Object.sendJsonRpc (file:///Users/josep/Projects/acala-papi-demo/node_modules/.pnpm/[email protected]/node_modules/smoldot/dist/mjs/internals/client.js:323:39)

The logs: smoldot-logs.txt

It's worth pointing out that this only happens on version 2.0.23. So, it is probably a side-effect of #1685 and the CHANGELOG already warned us that:

The JSON-RPC server has been rewritten in order to simplify the code flow. It is unfortunately possible for new bugs to have appeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant