-
Notifications
You must be signed in to change notification settings - Fork 278
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
[BUG] Queries fail with "Unknown query cursor" #5085
Comments
With #5086: $ iroha --config <PATH_TO_CONFIG_TOML> domain list all
Error: Failed to run the command
├╴at crates/iroha_cli/src/main.rs:211:34
│
╰─▶ Failed to get all accounts
├╴at crates/iroha_cli/src/main.rs:210:10
├╴Query validation error
├╴Query execution failed
╰╴The server's cursor does not match the provided cursor. |
Turned out to be a conflict between dockerized irohad and a bare-metal one left over from old pytests running in the background. |
Hm, so one request went to one server and another to the other? Did they manage to simultaneously listen on the same port? UPD: Or was it actually just a version mismatch? (I think older iroha will give you the |
Yeah, just a version mismatch |
OS and Environment
macOS m1
GIT commit hash
e680397
Minimum working example / Steps to reproduce
With the client SDK:
With the client CLI:
Actual result
All:
Single:
CLI:
Error: Failed to run the command ├╴at client_cli/src/main.rs:211:34 │ ╰─▶ Failed to get all accounts ├╴at client_cli/src/main.rs:210:10 ├╴Query validation error ├╴Query execution failed ╰╴Unknown query cursor
Expected result
The object(s) or an appropriate error is returned
Logs
Who can help to reproduce?
@DCNick3
Notes
No response
The text was updated successfully, but these errors were encountered: