ethereum / mist

[DEPRECATED] Mist. Browse and use Ðapps on the Ethereum network.
http://ethereum.org
GNU General Public License v3.0
7.45k stars 2.12k forks source link

Invalid date error #525

Closed efox29 closed 8 years ago

efox29 commented 8 years ago

Node type: geth/eth OS: Windows 10 64 bit Network type: main Mist version: 0.7.2

I participated in the DOA Creation yesterday and was transferring ETH around between accounts, and after I was done (transferring, watch contracts and watch tokens), I have been getting the same error and the program is very slow. Seems like something I did, created this problem.

Looking at my processes, geth.exe takes up about 750MB of ram, and there is disk activity (seems like something is happening).

I have checked my date, and the time and date is correct. I have also downloaded the entire blockchain again.

Error: invalid

Console: console

Film54 commented 8 years ago

I am having the exact same problem... and I have transactions that are stuck in this void. It's connected to 9 peers, and Geth is running properly in background.

I think this problem also started for me as soon as I added "Watch Token" and "Watch Contract" from my DAO Creation.

invalid date

super83 commented 8 years ago

I'm having the same problem with my wallet too. It all started yesterday after i send Ether to DAO and added "Watch Token" and "Watch Contract" in my wallet....and now i starting receiving this error, "invalid date" on top of my wallet !!!

Please somebody fix this problem soon....thanks

Film54 commented 8 years ago

Out of the blue and on its own, my issue has been resolved...

hawaii1234 commented 8 years ago

When my wallet open , I see the "Invalid date" error. stopped downloading more blocks... How to fix it ?

clund commented 8 years ago

Having similar issue on MacOSX. I hope I don't have to dl the entire chain again (for the nth time).

"Invalid date since last block"

screen shot 2016-05-02 at 19 46 41

blockq4 commented 8 years ago

Same issue started after setting my watch contract for DAO. Using 0.7.2 - Windows 10 x64

Marty45 commented 8 years ago

Same issue,

Film54 commented 8 years ago

My issue is back. It started working again randomly yesterday for about 30 minutes... now it's back to "invalid date".

speedy029 commented 8 years ago

same issue here, deleting watched DAO contract helps but that's not the solution.

Meanwhile i've reverted to Wallet 0.5.1 (Beta 9), it seems to work fine

CaseyWA commented 8 years ago

Running 0.7.2 on Win 10 64bit, same issue as described above started today. I've been watching the DAO contract and DAO token since it launched with no issues prior to 5/3/2016.

Running geth outside of Mist to download the blockchain prior to even installing Mist due to some mining. Again, haven't seen any issues prior to today when I unlocked my screen.

Closed Mist, re-opened, let run for an hour with no change. Have not attempted to reboot computer yet as it's busy running some jobs.

0ldPaul commented 8 years ago

Same Issue, invalid date running 0.7.2 on Win 10 64bit, date sync with internet date but nothing happened. Like that since 5/3/2016..

clund commented 8 years ago

Rebooted. Opened MIST, got the "invalid date" message, but after minute or so the sync started. After sync was complete the message appeared again. MacOSX, 0.7.2

luclu commented 8 years ago

Can confirm:

unbenannt-1

This happens on startup for several seconds.

blockq4 commented 8 years ago

Devs any progress on this? My balances are correct but I see no transactions into wallet, Invalid Date - have tried all ideas so far and nothing works - Windows 10 x64 0.7.2

luclu commented 8 years ago

@blockq4 this is currently high priority.

jordimorris commented 8 years ago

How are we going to recommend Mist to our friends if there's an error right in our faces?

frozeman commented 8 years ago

@karalabe @bas-vk @fjl its either the IPC connection dropping (@efox29), which could be because the node crashes, or it doesn't sync on windows (@Film54), which can be firewall issues.

Its working flawless on mac, tho.

@jordimorris i understand, we are working on it, but building such a complex system which runs on multiple platforms is not an easy one. Best is you don't recommend it for now, we have more traction than we can handle right now anyway :)

TeknoTeddy commented 8 years ago

@frozeman I only have the issue (windows 10 64bit) when I added watch contract for TheDAO. This is the only contract I have ever added. I removed it and now works fine again. I still have TheDAO added to "Watch Token" without an issue.

@jordimorris Isn't everything semi in beta still? It sucks I admit, but right now I expect some issues. We can still use command line via geth if need be (not sure how easy it is to use with contracts like this).

EDIT: I was dumb and tried added it again... Now going to take me like 30 minutes to delete it :(.

EDIT: Only solution I have found is downgrading to 6.2 for now. I have tried resetting my time, deleting block chain, delete and re-adding restarting mist, and so on.

hisnamesollie commented 8 years ago

@frozeman I'm having the same issue on Mac. Tried installing to an older version (which has worked for others), but still the same issue.

hisnamesollie commented 8 years ago

I've been running 0.7.2 and 0.6.1

alexvandesande commented 8 years ago

I've been investigating this and it seems to be a corrupted database file. If this affected you, try deleting (or just renaming) the folder /library/Ethereum/chaindata

Unfortunately it means you'll have to resend it, yes. We are still investigating the cause.

efox29 commented 8 years ago

@alexvandesande I have already deleted the chaindata folder and redownloaded the blockchain again. I still have the same issue. I followed the instructions here http://ethereum.stackexchange.com/questions/3529/how-can-i-force-a-redownload-of-the-entire-blockchain-on-the-mist-wallet

taylormiles commented 8 years ago

Same issue. Mac OSX 10.11.4 Mist version 0.7.2. Issue did start shortly after I followed the daohub.org Token and Contract. I rolled back to 0.5.2 and no more issue.

rideSpecialized commented 8 years ago

Just to add a data point. Running Win7Ent x64. 0.7.2

Wallet has been running flawlessly right up until I added TheDAO contract and watched TheDAO token.

I'm showing connected to between 8 and 12 peers. Showing "0" (zero) blocks. And the date flaps between the clock icon and "Invalid Date". I have not tried to send/receive any transactions since this began.

TheDAO token is disappeared from the interface. TheDAO contract is still there (and very very slow) and I'm receiving the following status message when attempting to delete it:

"Do you really want to delete this wallet contract? The account will still exist on the blockchain but if you delete the address, you will not be able to find and will lose access to the funds deposited."

Unclear from that status message if I will lose access to the funds "in the wallet" or if I will lose my access to those tokens permanently (I assume it's just the wallet but don't want to chance it).

Kozzi07 commented 8 years ago

I also had a lot of problem by watching DAO contract in Mist 0.7.2. (Win 64bit) Mist slow/freezing when clicking on contract and sometimes not downloading block for a while. (need to be restarted) Back on 0.6.2 and no more issue so there must be something wrong in 0.7.2 (perhaps linked to contract events?)

TeknoTeddy commented 8 years ago

@rideSpecialized you can delete "The DAO Contact" from your watched contracts and then re-add it without any issues. I have done it a couple of times now.

rideSpecialized commented 8 years ago

Follow up datapoint... I removed TheDAO contract from my client and restarted the client. 100% back to normal instantly. @SWKStudios thanks for the help... I will keep my eyes open for an update on the issue.

efox29 commented 8 years ago

@rideSpecialized is this the workaround ? Did you add the contract back and was it still a problem ?

rideSpecialized commented 8 years ago

@efox29 I did not try to re-add the contract yet. But removing it seemed to fix the problem instantly (after restarting the client, as a precaution).

Edit: I will keep an eye on this thread and you can contact me to test/validate/reproduce the issue. Happy to help if I can.

CaseyWA commented 8 years ago

Based on some of the other comments, it appears this issue is related to adding the DAO contract to your wallet. In case additional information is needed to determine what about having the contract in your wallet causes this issue, here is another data point based on what I observed this evening, not sure if this will help in troubleshooting the issue or not but thought I'd capture the information:

Using the "developer tools" -> "wallet ui" view I was looking around and saw some failures generated from files archived within the *.asar files. I attempted to rename both to .old to see how app would respond (no surprise, it failed to launch), then I started to download and install node.js when I noticed that suddenly my wallet was synced back up without the "Invalid Date" error. Cancelled out of the node.js install. Block data showed synced to the current block and kept in step (have geth running in a cmd window 24/7).

I closed the Mist wallet, re-opened and the "Invalid date" error is back. Here is what I see in the developer view in terms of errors, unsure if they are related to the actual problem or not:

Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/Users/%USERNAME%/Desktop/Ethereum-Wallet-win64-0-7-2/resources/app.as…/wallet/packages/ethereum_dapp-styles/fonts/SourceSansPro-ExtraLightIt.otf Failed to load resource: net::ERR_FILE_NOT_FOUND 085e9d7….js:303 Connect to node...

.....

CONNECTION ERROR: Couldn't connect to node on IPC. at Object.module.exports.InvalidConnection (C:\Users\%USERNAME%\Desktop\Ethereum-Wallet-win64-0-7-2\resources\app.asar\node_modules\web3\lib\web3\errors.js:28:16) at IpcProvider._timeout (C:\Users\%USERNAME%\Desktop\Ethereum-Wallet-win64-0-7-2\resources\app.asar\node_modules\web3\lib\web3\ipcprovider.js:150:48) at C:\Users\%USERNAME%\Desktop\Ethereum-Wallet-win64-0-7-2\resources\app.asar\node_modules\web3\lib\web3\ipcprovider.js:42:15 at EventEmitter. (C:\Users\%USERNAME%\Desktop\Ethereum-Wallet-win64-0-7-2\resources\app.asar\modules\ipc\ipcProviderWrapper.js:51:13) at emitTwo (events.js:87:13) at EventEmitter.emit (events.js:172:7)

I've had the wallet open for another 20 minutes or so and the error persists. Attempted to repeat what was done initially but no change in the "Invalid date" error. I'm not sure what might have caused it to temporarily start working (maybe just some sort of timing issue) and since the short time it started working wasn't persistent, it doesn't appear to be related to anything I changed.

I'm glad to see there seems to be a workaround but would be great to find the actual fix. For now I'll leave my wallet as is and if someone has a potential fix they want tested or would like some additional info on the issue, please let me know and I'll be happy to help wherever I can.

hisnamesollie commented 8 years ago

I've deleted the DAO contract and the wallet appears to be working like normal. Echoing above

jordimorris commented 8 years ago

Confirmed: the best option so far seems to just run 6.2 beta 13, works smooth also the dao contract interface that used to freeze in 7.2. @frozeman sorry but I'll recommend my friends to install 6.2, this is so BIG thank you for the tips and answers

actuallymentor commented 8 years ago

Same issue on 0.7.1 and 0.7.2. Mac OSX, invalid date since last block error in GUI.

KentBarr commented 8 years ago

I also have INVALID DATE

With 0.7.2 on Windows 7 laptop.

Previously it was working and I was able to get DAO tokens and all seemed fine. The problem appeared the next time I started etherem-wallet.

housemobile commented 8 years ago

Same error. Windows 7 with 0.7.2 and DAO watch token

housemobile commented 8 years ago

I can't even remove the watch token contract because Mist wallet freezes within seconds of opening it.

rideSpecialized commented 8 years ago

@housemobile it was extremely slow for me as well, but was not actually frozen (maybe 5+minutes between clicks... but it would work). Eventually I was able to open the smart contract and hover over it. Hovering will reveal trash can icon. Click it, wait to execute, exit, and restart Mist.

alexvandesande commented 8 years ago

Yes it seems to be connected to adding the DAO contract too. Maybe the huge amount of events that it generated somehow screwed the local database? I recommend anyone who is having this issue to delete the dao contract from the watch list (you can still send ether to it via the send tab) and redownload the whole chain.

mtbitcoin commented 8 years ago

I was able to reproduce the error both with 1.3.6 and 1.4.1RC geth. Adding the DAO contract causes Mist to freeze. Removing the contract brings it back to normal. At first i also thought it might have had something to do with the huge amount of events. But when I used a previous version of Mist i.e 0.5.2 the same contract (with the same geth instance running at the background), it would load up fine with no "freezes".

Also, for those who are unable to DELETE the contract from mist 0.7.2 I would suggest using mist 0.5.2 to DELETE the contract and then switch back to 0.7.2

dghelm commented 8 years ago

Had same issue as well. My solution: Delete your Mist folder in User/*/AppData/Roaming to remove your contract watching, delete the chaindata in Ethereum if you want to start fresh. Now using 0.6.2, watching Dao and all is well so far.

bardacuda commented 8 years ago

I was getting the same invalid date error and freezing in 0.7.2 and it only started after I started watching the DAO contract. I am on Windows 7 64 bit and I made sure to sync my system clock with the NIST time server every time before I opened the wallet. The wallet would sync when I opened it and I would be connected to 5 - 15+ peers, but all transaction history would be blurred out and show as having 0 of 12 confirms (even though they had 10s, 100s, etc. confirms on the blockchain) and the wallet would be extremely slow/unresponsive.

Without deleting the watched contract or the blockchain data, I downloaded and ran 0.6.2 as was suggested. It synced and is running fine. I can see the DAO contract and my transaction history as normal. Whatever was causing this seems to be related to the newer Mist version and not to geth, corrupted blockchain data, or time sync issues.

Beervangeer commented 8 years ago

having the same problem. will go back to 0.6.2 to.

callmetau commented 8 years ago

Same issue. Mac OS. Tried to redownload blockchain - doesn't help. 0.7.2 Fix it please ASAP.

TrevorHilder commented 8 years ago

Yes, I found my Ethereum Wallet 0.7.2 on Ubuntu 14.04 LTS in this state, having bought into The DAO last Saturday. I think the Wallet stated it had synced last block 11 hours ago when I looked at about 11:00 BST today. My attempts to get it going again failed, so I deleted the contents of the chaindata directory, and it took about two and a half hours to sync, then came up with "invalid date since last block". I have attached the log file to this comment. I deleted the Watch on The DAO contract, closed and re-opened the Wallet, and it came up normally. -1462547070019.txt

KentBarr commented 8 years ago

Confirming that on (Windows 7) switching to 0.6.2 worked to sync up and delete the watch contract.

Then I quit and restarted with 0.7.2 and it worked. There's no invalid date error now, and no need to delete and download the blockchain.

FWIW the watch contract seemed to be working fine under 0.6.2

derEremit commented 8 years ago

confirming problems on Linux 64bit with 0.7.2 working fine by just launching 0.6.2

goodc0re commented 8 years ago

OSX 10.10.5 Mist 0.7.2 watching the DAO and the Tokens also getting the "Invalid date since last block"

the message disappears after waiting a minute or two once it did not, and restarting Mist worked

glesaint commented 8 years ago

@KentBarr Thanks! @alexvandesande Switching from 0.7.2 to 0.6.2 also solved this issue on osx 10.11.4. No need to delete chaindata or stop watching contracts.

callmetau commented 8 years ago

@glesaint I have Mac OS 10.11.4 and still have Invalid date issue Mist 0.7.2

glesaint commented 8 years ago

@callmetau can you try replacing Mist by its version 0.6.2? https://github.com/ethereum/mist/releases/tag/0.6.2