All my grins and transaction history gone in my Niffler Wallet!? [solved]

I used Niffler 0.5.0 and Grin 3.11 (fully synced) on my WIndows 7 machine while simultaniosly browsing reddit. Suddenly both my web browser and niffler+grin crashed.

When I started my niffler+grin again, all my balance as well as my transaction history was missing.

I am still required to imput my password when I start niffler.

I have tried to run the “Check Balance”-thing in niffler but it just stops at 99% with the follownig error message:

20200406 13:03:31.397 ERROR grin_wallet_impls::node_clients::http - get_outputs_by_pmmr_index: error contacting http://127.0.0.1:3413. Error: Request error: Wrong response code: 404 Not Found with data Body
20200406 13:03:31.398 ERROR grin_wallet_controller::command - Wallet check failed: Client Callback Error: outputs by pmmr index: Request error: Wrong response code: 404 Not Found with data Body
20200406 13:03:31.398 ERROR grin_wallet_controller::command - Backtrace:
Wallet command failed: LibWallet Error: Client Callback Error: outputs by pmmr index: Request error: Wrong response code: 404 Not Found with data Body

1 Like

What went wrong and what steps am i required to take to restore my wallet balance?

I have a backup of the original wallet.seed file. Although when i open the file, the seed seems to be encrypted. I dont think I have the seed stored in an unencrypted format.

Please help! :disappointed:

1 Like

Is the ‘import wallet backup file’ greyed out and not clickable for you as well?

Not really sure about Niffler, but this might look like your connection to the Grin-Node has a problem. Did you try restarting the Grin-Node first ?

Wow. I went out biking in the forest for a couple of hours and when I came back home and started niffler+grin my balance and transaction history was back :grin:

I guess it somehow selfhealed. The crash was due to 0 MB pagefile and firefox + grin using up all available RAM.

Grumpy: I never saw that option. I did see the option “Remove current wallet” but was afraid to try it when I was unsure if unencrypted seed was somehow necessary to restore wallet.

1 Like

Yes, I restarted my Grin-Node as well as Niffler several times.

Now when I have got my balance back again and try “Check balance”, I still get the same error. So I guess that issue was unrelated to the vanishing of my grin balance :thinking:

The problem is , I am seeing similar errors on our Grinnode API and I am still debugging if its a Grin-Node problem.

20200406 16:44:45.208 DEBUG grin_wallet_impls::node_clients::http - Indices start
20200406 16:44:45.588 ERROR grin_wallet_impls::node_clients::http - heightstopmmr: error contacting https://grinnode.live. Error: Request error: Wrong response code: 404 Not Found with data Body
20200406 16:44:45.604 DEBUG grin_wallet_libwallet::api_impl::owner_updater - Starting UTXO scan
20200406 16:44:45.604 WARN grin_wallet_libwallet::api_impl::owner_updater - Scanning - 0% complete
Wallet command failed: LibWallet Error: Client Callback Error: : Request error: Wrong response code: 404 Not Found with data Body

We found the problem, sadly not to your problem @tonki, but perhaps this helps you.

We found this error on one of our Grinnode-Cluster:

>     Apr  6 16:47:10 c-node02 grin[16123]: 20200406 16:47:10.242 ERROR grin_servers::grin::sync::syncer - unexpected error: Error { inner:
>     Apr  6 16:47:10 c-node02 grin[16123]: Other Error: failed to find head hash }
>     Apr  6 16:47:11 c-node02 grin[16123]: 20200406 16:47:11.253 INFO grin_servers::grin::sync::syncer - sync: total_difficulty 1594050471240697, peer_difficulty 1594319307996247, threshold 2755485226 (last 5 blocks), enabling sync

Solution:
We did restart Grin-Node and it worked again.