-
Notifications
You must be signed in to change notification settings - Fork 48
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
bug: safe wallet send debits the wallet if the send fails and uploading seems to hit problems with the wallet #1991
Comments
I have 7 of 76 chunks to go from the upload I was testing but only 18 nanos left. 450 were eaten by the network though, so 69 chunks cost 1200 nanos or 18 per chunk which seems very reasonable. This confirms the earlier bugfix 🙏 |
Just to confirm I'm seeing repeated loss of nanos due to a This morning I sent 300, and then 300 again and both failed and 600 nanos were deducted from the sending wallet, and of course nothing was received:
|
Others have been sending to me no problem, so I wondered if this was because the VPS I was doing the send on was overloaded with nodes which might affect connectivity. So I shut them all down as a test and sent 10. No problem! Sent 100. No problem! 🤔 ahah, problem solved… Sent 200. It snaffled them (same error) so that’s 800 down today 🤦♂️. So it isn’t just the VPS was overloaded with nodes. It’s like there’s a malevolent force in this beta. It isn't a very powerful VPS but maybe there is some other issue with that particular system that makes it more prone to this. However, the bug remains that if there's a failure to register a transfer, nanos are being lost and should be recoverable. |
I've set up two wallets which I use for receiving donations (savings wallet) and one which I use to pay for uploads (uploads wallet). These are on a VPS so I can do uploads from there and eliminate the possibility that my mobile broadband connection is in part causing the issues I'm seeing when uploading to the beta.
Starting with donations of 1650 in my 'savings' wallet, I tried to send 450 to my 'uploads' wallet. That failed to register the transfer on the network (see below), but the wallet was still debited and so only has 1250 left. I sent 450 again, this time successfully, and the wallet then had 750 left.
Here's the transfer which failed, but which still debited the wallet.
Wallet status shows:
safe client:
The VPS is running Ubuntu 20.04
__
Is there a way to recover nanos lost in a failed send? I'm losing lots of nanos this way which is making testing my app very difficult!
Alternatively can Autonomi supply me with more nanos on request. I've just spent two days creating a script to manage wallets and
safe
client commands on my VPS, to reduce the chances of losing nanos when uploading with my client as happened recently, but now I'm losing nanos when transferring from the 'savings' wallet to the 'uploads' wallet! 🤦♂️__
@mickvandijke I've only tried one upload so far, starting with 450 nanos in the uploads wallet. This failed when the wallet had dropped to 250 nanos, saying it wanted 317 nanos for a chunk - I think that message may be misleading though. I think it means for all remaining chunks. Also, that command doesn't tell you how many chunks are uploaded or remaining which is unhelpful.
Also, more nanos would help if you can provide them because I'm still losing them due to problems with
safe wallet send
even now I'm being super careful with the wallets.Not sure whether to put this in a separate issue, but trying the upload again from the 'uploads' wallet I got a report of "Pre-Unconfirmed transactions" which it seemed to clear. Then warns not to close the client, but I've been staring at this message for over 30 minutes and nothing is happening.
Wallets surely should not be corrupted if a connection is lost, a client crashes etc. Especially if they lock up like this. And this is using
safe files upload
from a VPS:Just as I finished typing the above the following appeared in the terminal:
And now I'm waiting again ... and after another 20-30+ minutes it has errored out with this:
I've now only 18 nanos left (of 1650 donated) by a kind community member so cannot do more testing for now. Send more please!
The text was updated successfully, but these errors were encountered: