Skip to content

Invalid date error #525

Closed
efox29 opened this Issue May 1, 2016 · 67 comments
@efox29
efox29 commented May 1, 2016 edited

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
Film54 commented May 1, 2016 edited

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
super83 commented May 1, 2016

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
Film54 commented May 1, 2016

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

@hawaii1234

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

@clund
clund commented May 2, 2016 edited

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
blockq4 commented May 2, 2016

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

@Marty45
Marty45 commented May 2, 2016

Same issue,

@Film54
Film54 commented May 3, 2016

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

@speedy029
speedy029 commented May 3, 2016 edited

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
CaseyWA commented May 4, 2016

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
0ldPaul commented May 4, 2016

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
clund commented May 4, 2016 edited

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
ethereum member
luclu commented May 4, 2016

Can confirm:
unbenannt-1
This happens on startup for several seconds.

@blockq4
blockq4 commented May 4, 2016

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
ethereum member
luclu commented May 4, 2016

@blockq4 this is currently high priority.

@jordimorris

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

@frozeman
ethereum member
frozeman commented May 4, 2016

@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 :)

@frozeman frozeman added the bug label May 4, 2016
@TeknoTeddy
TeknoTeddy commented May 4, 2016 edited

@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

@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

I've been running 0.7.2 and 0.6.1

@alexvandesande

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
efox29 commented May 4, 2016

@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
taylormiles commented May 4, 2016 edited

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
rideSpecialized commented May 4, 2016 edited

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
Kozzi07 commented May 4, 2016

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

@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

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
efox29 commented May 5, 2016

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

@rideSpecialized
rideSpecialized commented May 5, 2016 edited

@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
CaseyWA commented May 5, 2016 edited

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

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

@jordimorris

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

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

@KentBarr
KentBarr commented May 5, 2016

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

Same error. Windows 7 with 0.7.2 and DAO watch token

@housemobile

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

@rideSpecialized

@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

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
mtbitcoin commented May 5, 2016 edited

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

@dhelma
dhelma commented May 6, 2016

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

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

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

@callmetau
callmetau commented May 6, 2016 edited

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

@TrevorHilder

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
KentBarr commented May 6, 2016

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

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

@goodc0re
goodc0re commented May 7, 2016

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
glesaint commented May 7, 2016 edited

@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

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

@glesaint
glesaint commented May 7, 2016

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

@callmetau

@glesaint I've deleted The DAO contract. It fixed this issue

@msam4444
msam4444 commented May 8, 2016

Same error: Windows 10 with 0.7.2 and DAO watch token

@fineartcommodities

invalid date on mist 0.7.2, win 10, after DAO watch. Resolved by restarting mist after switching date settings/automatic time zone settings... More sessions after, the invalid date error yet reappear, just reswich timezone settings and it work....

@CryptoYeti
CryptoYeti commented May 9, 2016 edited

Just adding my own data points.

Same error "Invalid Date" using Mist 0.7.2 on Windows 7 64 bit. Error appeared only AFTER adding the watch contract and watch token for the DAO. I also made sure my clock was correct and synchronized. Reverted to earlier version (0.5.2) and error disappeared. Contract and token watch both seem to work for my needs on the earlier version, so I will await new release with bug fix.

I agree that there is no need to delete the chaindata file or stop watching contracts, simply downgrade to an earlier version until the bug is fixed.

@fineartcommodities

win7 64 bit, mist 0.7.2 Print screen describing morning experience in sequence after some invalid date error resolved. (2 hours later all fine).

1) We can't estimate your gas usage properly, as you need at least 1 ether in your account (account was founded with 104.36... ether, sorry the img is not compleet)
mist1

2) Connection error: couldn't connect to node on IPC
mist3

3)couldn't connect to node did it crash in the background?
mist2

@tonefreqhz

I have the same issue on MAC OSX 10.11.4 ElCapitan.
If I run a node mining in Console
3) Start geth with --rpc option and also start up ethminer which will communicate with it over port 8545

Console 1:
geth --rpc

Console 2:
ethminer -G

and then open the mist wallet opens but does not keep up with synching to block chain although peers are attached?

@luclu luclu referenced this issue May 10, 2016
Closed

Invalid Date #597

@alexvandesande

Please all update the wallet and try again.

@gitottof

same issue ubuntu 15.04
terminal gives the following warnings at startup:

[2016-05-13 13:05:22.443] [WARN] nodeConnector - NODECONNECTOR ERROR { [Error: connect ECONNREFUSED /home/gog/.ethereum/geth.ipc]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '/home/gog/.ethereum/geth.ipc' }
Error: connect ECONNREFUSED /home/gog/.ethereum/geth.ipc
at Object.exports._errnoException (util.js:856:11)
at exports._exceptionWithHostPort (util.js:879:20)
at PipeConnectWrap.afterConnect as oncomplete
[2016-05-13 13:05:22.647] [ERROR] main - Couldn't get time from NTP time sync server. [Error: can't find 'ntp enabled:' line in timedatectl output]
Error: can't find 'ntp enabled:' line in timedatectl output

@jordimorris

Version 7.3 gives problems as well. it gets behind all the time. I can't believe this has been tested with 100 users and nobody had this issue.

6.2 is the best right now

@hisnamesollie

@jordimorris I'm with you. As soon as I updated the wallet from 0.6.2 to 0.7.3 it was falling behind from the get go, without the DAO watch contract enabled. I've gone back to 0.6.2 without the DAO contract enabled for the time being, which works great.

@luclu
ethereum member
luclu commented May 19, 2016 edited

This issue should be solved as of geth 1.4.4 which comes bundled starting with 0.7.4.
Could you please update and verify?

@hisnamesollie

Not for me. Did this a few days ago. Worked perfectly until I added the DAO watch contract, and the new wallet froze again like the others. I'm currently running 0.7.4 without the DAO contract.

@Kozzi07
Kozzi07 commented May 20, 2016

Same for me. Watching DAO contract made 0.7.4 freeze. (like other 0.7.x version)
I am using it without contract but it will be a problem when we will have to interact with DAO contract...

@jordimorris

I stick to version 6.2, it works smooth and no problems watching DAO contracts

@luclu
ethereum member
luclu commented Jun 15, 2016 edited

Could you please try out the latest release 0.7.5?
There is a comprehensive list of bugfixes and stability improvements.

@CaseyWA
CaseyWA commented Jun 17, 2016

Hi @luclu, I had a chance to try out release 0.7.5 tonight. While still a bit slow syncing up with The DAO contract, it is actually functional now! It also is displaying my token balance correctly which it was not before. I see a "check for update" menu option which I'm hoping means the next update might be a simple pull through the GUI :-) This was on a Win 10 machine, also tested it on a Ubuntu 15.10 box but did not have the DAO contract setup on that system. Worked great and was fairly fast.

I appreciate all the hard work that I'm sure went into this release and slowing things down a bit to make sure it was more stable then the last few.

Thanks!!

@luclu
ethereum member
luclu commented Jun 17, 2016

I will close this specific thread as solved - as the initial issue does not seem to appear anymore and this gets cluttered.
Should you still encounter the "invalid date" message, please give some ping-back over here.
Otherwise feel free to open a new issue.


That is good to hear @CaseyWA - looking forward to iron out the remaining big ones.

@luclu luclu closed this Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.