-
Notifications
You must be signed in to change notification settings - Fork 135
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
owner api not working #572
Comments
Cannot reproduce on v5.0.2. Probably an error with the encryption scheme I'm guessing? |
NB: probably unrelated but this is missing from master 2160813. |
here is an example that causes crash, V4.0 works fine
|
Can you run manually I'm guessing this is your issue here. I have ran several additional tests and I do not find any issue with the grin-wallet owner API. |
Another way to test Quentins theory is to use |
Is it possible that you are neglecting to first call "open_wallet" and get a token? |
grin-wallet info works: (removed amounts)
here is the panic shown by grin-wallet owner when running retrieve_summary_info command referenced above:
never had to open_wallet in previous version, im assuming it is opened when i provide the password to grin-wallet owner_api and everything worked fine there with same token: null. in fact i just now tried with v4.0.0 and it worked. also, setting refresh_from_node to false works |
Please restart the owner_api to get it back into a working state and test with a call to open_wallet: shared_ecdh_key = call to "init_secure_api" btw, there is a python owner_api example here: https://github.com/grinfans/grin.py/blob/main/wallet_v3_tests.py |
i tried using open_wallet and including the keychain_mask in the call to retrieve_summary_info with the same panic, no success |
Ok, I see the same results as you. |
The problem does not occur to me when running the code in #573, could anyone double check? |
the code in #573 appears to fix it |
Thanks for verifying! We will be releasing v5.0.3 shortly, which includes this fix. |
using latest v5.0.2, commands sent to /v3/owner with encrypted_request_v3 cause a panic message and no data is returned. node_height request causes this:
The text was updated successfully, but these errors were encountered: