-
Notifications
You must be signed in to change notification settings - Fork 112
ZEN Cash Wallet error #64
Comments
This appears to be the known problem of a broken/corrupt block-chain. In most cases it can be fixed safely. Some manual repairs will be necessary. The ZEN private keys are located in the wallet.dat file in directory: Once you make sure you have a wallet backup in a safe place, this problem is most commonly solved by re-indexing the block-chain. For details of how to reindex, see the troubleshooting guide: https://github.com/ZencashOfficial/zencash-swing-wallet-ui/blob/master/docs/TroubleshootingGuide.md |
What does reindexing do? Does it simps reindex the local copy or does it redownload the whole block chain? |
Reindexing does not re-download the blockchain data from the network. It only recreates the blockchain database and rechecks the data in it. |
/// I am having the same issue. 2 items worth noting. I am on a Mac.
Thanks in advance! |
The issue with the wallet not starting properly is due to a broken local block-chain. The underlying technical cause is not in the GUI itself but in the ZEN core/node. The problem is being investigated as a priority by the ZEN core team. It started occurring recently with high frequency without any software changes - it is related to network load/transactions/block content. Once a fix is made available a new wallet release will be made. The workaround to do reindexing is not very convenient but still allows uses to recover from the problem. As to the questions/issues: Users who encounter the problem more than once may also store a “good” copy of the blockchain for later re-use as mentioned in this post: https://miningwithnvidia.com/2018/02/09/zencash-wallet-eof-reached-code-1/ |
Mine doesn't show my old balance..shows no balance. |
Have your addresses changed? |
No, my address hasn't changed. So I was reindexing and it wasn't showing any balances. Then after the reindex my balances showed correctly. I closed the wallet then reopened it and I'm back to my original "EOF" error. |
I am having this same error on start up. When I run the zend -reindex command it says 'zend' is not recognized as an internal or external command, operable program or batch file. The directions say "On Windows you first have to locate zend.exe. It is in the /app sub-directory of the wallet installation." I have located that but what exactly do you do once you locate it? Thanks |
You need to make sure you're in the "zen" directory. I made the same mistake yesterday. %appdata%\zen |
Thank you. So I just need to go to that directory then run the command? Because I did that and still get the same message. :( |
I'm sorry...I gave you bad info...you need to go to the "app" folder...where your wallet.exe is located and run zend -reindex from there. |
Dang. That doesn't work either. Well... I have backups and the private keys so hopefully when I get the chance to reinstall a fresh wallet I can restore it that way. |
what directory did you go to? Make sure your wallet gui isn't up when you do. |
here's my path; C:\Users\wegen\Downloads\ZENCashDesktopGUIWallet_0.75.8\app Inside the "app" directory is where your zend.exe should be. |
here is mine. Maybe I'm in the wrong spot? But the zend.exe is there |
@zenmonies You need to open a Windows command prompt and change the current directory to where zend.exe is located, like:
To make sure zend.exe is located there use the
should work. |
@vaklinov I think I am getting somewhere now. It is running through the validation process. Thank you! |
@vaklinov having same issue and I am not computer savvy. this is the location of my zend.exe file: in terminal: Complete noob on my end i did not get private keys before having the issue and do not know what program to use to open my wallet.bat file |
Here is what you need to do based on vaklinov's instructions. (Worked for me) open run command and type (for you): cd C:\Users\Demetrius\Desktop\zencash\app hit enter, then type: dir hit enter, then type: zend -reindex hit enter and it should start the process. Takes several hours. Once completed my wallet opened right up. |
@zenmonies THX!! work perfectly. I wasn't aware about hitting enter then typing zend -reindex. once again thx for help |
The following step-by-step guide for Windows users (created by a third party) is handy: https://miningwithnvidia.com/2018/02/09/zencash-wallet-eof-reached-code-1/ to help with reindexing in case of encountering the common block-chain problem. |
is there any info how to use with imac not having to keep terminal open? I have to leave terminal open for Wallet to open correctly. Allowed all day for my wallet to sync 100%. kept on for 5 minutes after. closed wallet and terminal, tried to reopen wallet and same error "code -1". reopened terminal and opened wallet. Blockchain started from 0% again... |
@i8avet If you are experiencing the "broken blockchain" too often and you cannot keep the terminal open, unfortunately only other option is maybe to use a different wallet like Arizen that does not have the problem: The underlying technical cause is not in the GUI itself but in the ZEN core/node. The problem is being investigated as a priority by the ZEN core team. It started occurring recently with high frequency without any software changes - it is related to network load/transactions/block content. Once a fix is made available a new wallet release will be made. The workaround to do reindexing is not very convenient but still allows uses to recover from the problem. |
Thank you!
… On Feb 19, 2018, at 12:08 PM, vaklinov ***@***.***> wrote:
@i8avet If you are experiencing the "broken blockchain" too often and you cannot keep the terminal open, unfortunately only other option is maybe to use a different wallet like Arizen that does not have the problem:
https://github.com/ZencashOfficial/arizen
The underlying technical cause is not in the GUI itself but in the ZEN core/node. The problem is being investigated as a priority by the ZEN core team. It started occurring recently with high frequency without any software changes - it is related to network load/transactions/block content. Once a fix is made available a new wallet release will be made. The workaround to do reindexing is not very convenient but still allows uses to recover from the problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
A new release of the ZEN core node has been made that contains a stability fix for the “broken blockchain” problems that many users have experienced recently, that cause the GUI wallet to fail on startup: This new ZEN core version will be used in the next GUI wallet releases to fix the problem. Users who do not wish to wait for a new GUI wallet release may use the new ZEN core/node binaries by replacing them in the GUI wallet installation manually. Some details on how to do this: the ZENCash Desktop GUI Wallet includes a full ZEN node and the UI is in effect an interface to the locally running ZEN node. The ZEN node binaries are located in: Mac OS (absolute file paths): Windows: having as a base directory the place where the GUI wallet was unzipped from ZENCashDesktopGUIWallet_0.75.8.zip the binaries are: If a user has experienced the “broken blockchain” problem more than once before he may replace the ZEN binaries with the ones from the latest release to gain better stability. Note: If the ZEN blockchain is currently in a broken state, even with the new/fixed binaries users may have to do one final reixdexing operation to avoid the problems. For details on how to reindex the following articles may be consulted: |
Hello, "error: cannot find the zcash network parameters in the following directory: C:....\roaming\ZcashParams. When running eather of those commands it tell me they're not recognized as internal or external command, executable file or batch file. |
What OS are you on? Windows? |
Yes, Windows. 8.1 |
I also ran into code -1, and it was because sync'ing the block chain took so long I had to risk closing the wallet to move the machine; sadly I paid the price I hoped I wouldn't (code -1) which appears to be mean corrupted block chain file (and that explanation matches the actions I took). The app couldn't handle a close while sync'ing apparently. So I'm on OSX for crypto (10.13) but not a Mac power user let's say and looked for /Users/[username]/Library/Application Support/ and there is no Zen folder. If I go to Macintosh HD>Library>Application Support there are folders, but not anything to do with Zen either. I have a file in a folder that I set up as my backup directory, and it's 106kb of file that OSX nor Windows (when put on a USB drive and transferred, just to look at) will show me an extension for (ugh, I'm feeling stupid now). OSX says unix executable, opening with a text editor show binary gibberish. So I'm not sure if this is my file or not, a search for wallet.dat across the whole machine doesn't pull anything. I have my private key and public address, but don't want to take any action without more guidance... input from the group? Thank you for any thoughts... |
@bahnstoermer Merely stopping the GUI wallet while the block-chain is being synchronized should not result in a broken local block-chain (tried many times). However we cannot rule out this kind of problem happening in some/rare cases :-[ If you are not an experienced Mac user as a start it may be advisable to get familiar with using the Mac terminal: https://www.macworld.co.uk/how-to/mac-software/how-use-terminal-on-mac-3608274/ I am sure the directory /Users/[username]/Library/Application Support/Zen exists. On a terminal you may list it with a command like:
Once you establish that the directory is there, you may follow the directions to backup the |
Thank you for the response. I found my wallet.dat file and have backed it up off line. I read that OSX High Sierra may have been part of the problem. Regardless, I'm scanning the above posts for OSX re-indexing instructions now. Edit: Ran /Applications/ZENCashWallet.app/Contents/Java/zend -reindex from the terminal, it appears to be re-indexing... thank you again for the posts. |
It is not necessary to stop zend's reindexing before launching the GUI wallet. If you start the GUI it will use the zend already started... and if the GUI shows 100% blockchain synchronization, then reindexing has finished. |
I am having the same error. I am a noob using a Mac and was able to get to terminal but when I enter /Applications/ZENCashWallet.app/Contents/Java/zend -reindex on the terminal command line. I get an error " -bash:/ Applications/ZENCashWallet.app/Contents/Java/zend: No such file or directory" can some tell me how I go about executing the reindexing of zend on terminal command line. I also tried typing zend -reindex while in the Zen directory and I command not found. I have attached below. Any help is appreciated. |
Try this |
LordMajestros thank you for feedback. I tried typing the above per you suggestion and I get the following message "No such file or directory. I am wondering if I am I even in the correct directory to be running zend -reindex command? The only zend file I see is zend.pid not a zend.exe file. I tried following github docs as best as I can. As far as java suggestion unfortunately I am not a savvy programmer so I would not even know where to start. Here is screenshot of my terminal inputs and the directory I am trying to perform reindex: |
Ok, the issue is you don't have the zen binary in that folder. Let's call the folder zencash. |
Let me know any issues you encounter |
Thank you LordMajestros. I went with option 2 and it seems to be synchronizing now. On Friday before it failed Blockchain synchronized was 98%. it looks like reindexing starts the synchronization from scratch back to 0%. I will let you know if I have any other issues. Do you think it is still necessary to download zen binary or can I use option 2 for reindexing if I run into issue again. I really appreciate all your help. |
You can use option 2, there is no need to download the zen binary again unless there is an update. |
LordMajestros the swing wallet stop synchronizing an got the following error after getting to 98% again. Can you please advise me on what to do. Should I download latest Swing wallet (current version is ZENCash Desktop GUI Wallet 0.75.9) and try to reindex through terminal again or should I do something else. I am afraid to do anything at this point in fear of losing my zencash. Ultimately I would like to move my zencash after full synchronization to Arizen or Ledger Nano S so I do not have to keep updating the blockchain. Is there a way to do this without the synchronizing. I really appreciate your help. |
@roguecryptovestor The error indicates that your wallet is too old. It uses zend 2.0.10-1 that is deprecated. You need to update the wallet to its newest version. The ZEN private keys are located in the wallet.dat file in directory: |
Thanks zenportodev. that is why I am trying to synchronize my swing wallet so I can backup my wallet.dat file. How do I go about updating swing wallet on Mac without overwriting information in my existing wallet. Do I just download it and start the synchronizing? I Will my zencash be safe from being lost. I am a noob and am just being cautious. I appreciate all your help. |
The blockchain is stored in ~/Library/Application Support/Zen/ (OSX) and %APPDATA%/Zen/ on windows. the swing wallet is in your Applications folder on OSX and in Program Files on Windows |
I tried the first stage, which is of reindex the block-chain with this guide " https://github.com/ZencashOfficial/zencash-swing-wallet-ui/blob/master/docs/TroubleshootingGuide.md". But I cannot even launch "Zend.exe". The "zend.exe" app dashes during 1sec then it stops working. I use win8 |
@anderson-sean The following guide for Windows is more detailed: zend that is automatically started by the wallet, stores its logs at locations: |
Backup the wallet.dat. I had this error on linux due to my zen.conf file being incorrectly setup. That file is located in your userdirectory/.zen/zen.conf and a very basic conf file should look like this:
The addnode's are just secure nodes I added. You do not need to specify an RPC port and your zen.conf may be doing so. Note: The username doesnt need to be changed. Leave it as username. Only change the password and just use a password generator to be safe. You won't need it for anything in the wallet itself. You could also navigate to the .zen folder listed above and remove the chainstate, blocks, and database folders. Reopening the swing wallet should redownload the chain and restore those folders. If necessary re-install and follow the swing install guide to the T. |
Hi. How can I back up my wallet? I’m om windows 7 Thanks in advance |
This document describes the backup in more detail, with screen-shots: |
@Andy515, windows is hiding the file extention, the wallet file is the wallet.dat file. |
Thanks @tarrenj |
Ahh, that's a quick one, you just need to update your swing wallet to the most recent version. |
And I still can't open my Zen wallet. |
@Andy515, this link should help you: https://zencash.atlassian.net/wiki/spaces/ZEN/pages/7176693/ZENCashWallet+Swing+Wallet+-+Backup+and+Upgrade |
This is how I recovered my wallet on Windows 10 :
Can this issue be closed ? |
@zennermac should be able to close this one. |
A general unexpected critical error has occurred:
error: couldn't connect to server: unknown (code -1)
(make sure server is running and you are connecting to the correct RPC port)
Hi all,
I am receiving the following error each time I started the wallet. I would remove the whole wallet from the system and install it again if I have private keys. But I don't have private keys. Could someone help me to fix this problem or how I can get my private keys?
Thanks.
The text was updated successfully, but these errors were encountered: