15:08:45 Greetings. I was trying to perform a very simple JSON RPC call to `monero-wallet-cli` which is running on port 28088. I first call `open_wallet` method, according to the docs: 15:08:45 ``` 15:08:47 IP=127.0.0.1 15:08:49 PORT=28088 15:08:51 METHOD="open_wallet" 15:08:53 PARAMS='{"filename":"wallet","password":"pass1234"}' 15:08:55 curl \ 15:08:57 -u monero:password --digest \ 15:08:59 http://$IP:$PORT/json_rpc \ 15:09:01 -d '{"jsonrpc":"2.0","id":"0","method":"'$METHOD'","params":'"$PARAMS"'}' \ 15:09:03 -H 'Content-Type: application/json' 15:10:00 The params for get_transfers, along with wallet and password: `{"in": true, "account_index": 1}` 15:13:36 Am I doing it wrong? I tried different public nodes as well. 15:29:17 did you try rpc wallet? 15:40:59 I created a normal wallet using `monero-wallet-cli`. 15:58:49 Does RPC commands not work for a normal wallet? The open_wallet seems to be working tho. 16:00:02 monero-wallet-cli does not do RPC. 16:01:04 I don't think it listens to any port either. 16:04:23 Shoot. I thought it did. Apologies. 16:05:10 You're using the rpc wallet 16:05:46 "i'm running monero-wallet-cli with this command: `monero-wallet-rpc`" 16:06:53 Your command flags dont make sense though 16:07:05 What's wrong? 16:07:51 Youre using --wallet-dir, so --password shouldnt be used 16:08:34 Yeah, that's incorrectly pasted. Not intending to use that flag. 16:09:52 Are there any wrong flags for the get_transfers? 16:09:56 if open_wallet works, then other methods should too. If the wallet us not synced / is brand new, it will have to sync the checkpoints before it will respond 16:10:29 [#monero-support:monero.social](https://matrix.to/#/%23monero-support:monero.social) 16:10:34 If it's monero-wallet-cli, and the wallet is already open from command line args, it might *look* like open_wallet is working when it's failing. 16:10:35 I don't see any syncing logs in the RPC daemon which is running in foreground. 16:11:44 --log-level=4 16:16:02 Thanks. I am getting this logs: 16:16:03 ``` 16:16:05 2025-06-06 16:15:36.253 D Skipped block by height: 3386368 16:16:07 2025-06-06 16:15:36.253 D Skipped block by height: 3387392 16:16:09 2025-06-06 16:15:36.253 D Skipped block by height: 3388416 16:16:11 2025-06-06 16:15:36.253 D Skipped block by height: 3389440 16:16:13 2025-06-06 16:15:36.253 D Skipped block by height: 3390464 16:16:15 2025-06-06 16:15:36.253 D Skipped block by height: 3391488 16:16:17 2025-06-06 16:15:36.253 D Skipped block by height: 3392512 16:16:19 2025-06-06 16:15:36.253 D Skipped block by height: 3393536 16:16:21 2025-06-06 16:15:36.253 D Skipped block by height: 3394560 16:16:23 I am assuming it's syncing. 16:17:52 Now, it's just spam of this: 16:17:53 ``` 16:17:55 2025-06-06 16:17:21.863 T READ ENDS: Success. bytes_tr: 16384 16:17:57 2025-06-06 16:17:23.365 T READ ENDS: Success. bytes_tr: 16384 16:17:59 2025-06-06 16:17:24.309 T READ ENDS: Success. bytes_tr: 16384 16:18:01 2025-06-06 16:17:25.359 T READ ENDS: Success. bytes_tr: 16384 16:18:03 2025-06-06 16:17:26.463 T READ ENDS: Success. bytes_tr: 16384 16:18:05 2025-06-06 16:17:27.783 T READ ENDS: Success. bytes_tr: 16384 16:18:07 2025-06-06 16:17:28.679 T READ ENDS: Success. bytes_tr: 16384 16:18:09 2025-06-06 16:17:30.310 T READ ENDS: Success. bytes_tr: 16384 16:18:11 ``` 16:20:18 If it's syncing, wait. It might not listen to RPC while syncing. 16:21:30 It was showing the block height but now it's a constant spam of the logs pasted above. 16:21:50 Its syncing through the checkpoints 16:22:16 Will take a few minutes because youre using a remote node. Locally takes like 1min 16:22:24 It has stopped now, does it mean it's done? 16:22:36 Probably 16:23:07 Still the same, it's stuck. 16:23:16 Still the same, it's stuck when I call get_transfers. 16:24:29 https://zerobin.net << paste your command here 16:24:45 Also try a simple command like get_height 16:25:16 if its not finished, its because the wallet is still not synced. Will take a few mins 16:26:05 [#monero-support:monero.social](https://matrix.to/#/%23monero-support:monero.social) (-dev is got development, not support) 16:26:28 or #monero-support on irc 23:17:56 hi 23:18:26 there is a bug in monero-wallet-cli 23:19:05 if you type --wallet-file test.keys and change password he save the password in a way that its corrupt 23:19:14 can someone explain how the filename is used in password change? 23:21:04 I assume you are the same person that reported here -> https://github.com/monero-project/monero/issues/9943 ? 23:21:23 yes 23:21:39 I changed the password of my wallet with my lalbels and descriptions 23:21:47 I cannot login back 23:24:31 vtnerd: why asking? 23:25:00 this was already being tracked in the issue system, didn’t need to report here too 23:26:14 I dont report it here 23:26:32 I have asked a question to understand the code base better 23:34:18 I would like to understand the code structure better. You have some documentation for it? 23:35:15 "Is there a way to restore the wallet with the incorrect password setting?" 23:35:15 Use your seed / mnemonic 23:35:39 I know but I lose labels and descriptions 23:59:20 vtnerd: do you have an idea where the problem could come from?