-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
monero-wallet-rpc freezes during getting height and synchronization #8561
Comments
I found the reason why it's unresponsive #7431 |
Did you try running your own daemon, or connect to a clearnet one? |
Thanks. I'm trying to use remote daemons from this list https://monero.fail/ |
Restoring a wallet from height 0 will takes a while with a remote node. |
Got it. Is there some approach to increase speed of synchronization? Maybe multichannel connection to different daemons or something like this? |
Run a local node :) |
Thanks :) |
Hello, I'm trying to use monero-wallet-rpc for automation of creation and sync monero wallets and something went wrong:
$ monero-wallet-rpc --proxy 127.0.0.1:9050 --daemon-address http://6dsdenp6vjkvqzy4wzsnzn6wixkdzihx3khiumyzieauxuxslmcaeiad.onion:18081 --rpc-bind-port 9999 --disable-rpc-login
$ curl -X POST http://127.0.0.1:9999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"generate_from_keys", "params"={"restore_height":0,"filename":"wallet_name","address":"42gt8cXJSHAL4up8XoZh7fikVuswDU7itAoaCjSQyo6fFoeTQpAcAwrQ1cs8KvFynLFSBdabhmk7HEe3HS7UsAz4LYnVPYM","spendkey":"11d3fd247672c4cb29b6e38791dcf07629cd2d68d868f0b78811ce584a6b0d01","viewkey":"97cf64f2cd6c930242e9bed5f14f8f16a33047229aca3eababf4af7e8d113209","password":"pass","autosave_current":true}},' -H 'Content-Type: application/json'
$ curl http://127.0.0.1:9999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_height"}' -H 'Content-Type: application/json'
and sometimes it responds "1", sometimes rpc server is freezing.
Finally, single way to kill rcp server and starting all from scratch.
Please help to resolve the issue.
I tested it on 2 devices (debian 11 in virtualbox and debian 10 on the remote VPS ) and had the same freezing.
Monero vestion is 'Fluorine Fermi' (v0.18.0.0-release).
Also I tried to wait 24 hours when it unfreezes but it didn't help.
Also tried to change daemons - the same issue (sometimes works, sometimes doesn't).
I need a stable working for my app, hope it's my mistake in settings and not a bug of rpc server.
The text was updated successfully, but these errors were encountered: