near / near-cli-rs

near CLI is your human-friendly companion that helps to interact with NEAR Protocol from command line.
https://near.cli.rs
Apache License 2.0
86 stars 52 forks source link

delete-keys not working #337

Closed PierreLeGuen closed 1 month ago

PierreLeGuen commented 1 month ago

When you want to create a delete key request, the tool fails:

near account delete-keys root.near public-keys

Preventing you to go any further, you can't chose which network to use etc.

Here is your console command if you need to script it or re-run:
    near account delete-keys root.near public-keys

Error:
   0: Failed to fetch query AccessKeyList for root.near
   1: error while sending payload: [error sending request for url (https://rpc.statelessnet.near.org/): error trying to connect: connection closed via error]

Location:
   src/commands/account/delete_key/public_keys_to_delete.rs:96

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.