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

"Unsupported version" error using neofs-cli v0.21.1 with recent dev-env #655

Closed
roman-khimov opened this issue Jun 30, 2021 · 3 comments · Fixed by #660
Closed

"Unsupported version" error using neofs-cli v0.21.1 with recent dev-env #655

roman-khimov opened this issue Jun 30, 2021 · 3 comments · Fixed by #660
Labels
bug Something isn't working
Milestone

Comments

@roman-khimov
Copy link
Member

Setup

dev-env 74717177c088b0833161a4a0bb2067412a69a18c, neofs-cli v0.21.1:

$ ~/bin/neofs-cli container get -r 192.168.130.73:8080 --cid 5LSSzNunga4kN2Q5yAPnACaSN3HjzkVVgbVGT3hXeLNE -k KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr
Error: rpc error: unsupported version 2.8

Expected Behavior

Container data returned successfully.

@roman-khimov
Copy link
Member Author

It works with neofs-cli v0.22.0.

@alexvanin
Copy link
Contributor

This is expected when latest neofs-cli v0.22.0 (with API v2.8) connects to neofs-node v0.21.1 (with API v2.7). Client does not support auto negotiation yet, but it definitely will.

However it is not expected for neofs-cli v0.21.1 to throw such error when connecting to neofs-node v0.21.1 or later.

@cthulhu-rider
Copy link
Contributor

The problem is caused by the fact that API client returns an error if container version is newer than corresponding API Go library version. It is checked here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants