Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

MacOS 10.13 High Sierra - Your computer's clock is not synced. #3098

Closed
fogonthedowns opened this issue Sep 29, 2017 · 19 comments
Closed

MacOS 10.13 High Sierra - Your computer's clock is not synced. #3098

fogonthedowns opened this issue Sep 29, 2017 · 19 comments

Comments

@fogonthedowns
Copy link

fogonthedowns commented Sep 29, 2017

Version: `0.9.1`
OS & Version: MacOS 10.13 High Sierra
Node version: `geth 1.7.0.-stable` 
Number of blocks synchronized: 4320660

Transactions are pending forever.

I see: Your computer's clock is not synced. Yet I have enabled Set date and time automatically in Date & Time settings.

screen shot 2017-09-28 at 7 23 15 pm

  • Check the console, of Mist (CTRL/CMD + ALT + i) and take a screenshot
INFO [09-28|19:29:02] Starting peer-to-peer node               instance=Geth/v1.7.0-stable-6c6c7b2a/darwin-amd64/go1.7.1
INFO [09-28|19:29:02] Allocated cache and file handles         database=/Users/fogonthedowns/Library/Ethereum/geth/chaindata cache=1024 handles=1024
INFO [09-28|19:29:03] Initialised chain configuration          config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 9223372036854775807 Engine: ethash}"
INFO [09-28|19:29:03] Disk storage enabled for ethash caches   dir=/Users/fogonthedowns/Library/Ethereum/geth/ethash count=3
INFO [09-28|19:29:03] Disk storage enabled for ethash DAGs     dir=/Users/fogonthedowns/.ethash                      count=2
INFO [09-28|19:29:03] Initialising Ethereum protocol           versions="[63 62]" network=1
INFO [09-28|19:29:03] Loaded most recent local header          number=4320661 hash=78c21d…dda93a td=1053409835352855503023
INFO [09-28|19:29:03] Loaded most recent local full block      number=4320661 hash=78c21d…dda93a td=1053409835352855503023
INFO [09-28|19:29:03] Loaded most recent local fast block      number=4320661 hash=78c21d…dda93a td=1053409835352855503023
WARN [09-28|19:29:03] Failed to journal local transaction      err="no active journal"
WARN [09-28|19:29:03] Failed to journal local transaction      err="no active journal"
WARN [09-28|19:29:03] Failed to journal local transaction      err="no active journal"
WARN [09-28|19:29:03] Failed to journal local transaction      err="no active journal"
WARN [09-28|19:29:03] Failed to journal local transaction      err="no active journal"
INFO [09-28|19:29:03] Loaded local transaction journal         transactions=5 dropped=0
INFO [09-28|19:29:03] Regenerated local transaction journal    transactions=5 accounts=1
WARN [09-28|19:29:03] Blockchain not empty, fast sync disabled 
INFO [09-28|19:29:03] Starting P2P networking 
INFO [09-28|19:29:03] Mapped network port                      proto=udp extport=30303 intport=30303 interface=NAT-PMP(10.0.1.1)
INFO [09-28|19:29:03] UDP listener up                          self=enode://bf9df54d4a67dbe5de5dd5bd6f4006184a16029be96c8b3acb827fe56cd663df4a2b900bd55e54b61582fa684dbb87d1b2d19fc7467ebea43ec4173c0d43ce5e@73.71.237.237:30303
INFO [09-28|19:29:03] RLPx listener up                         self=enode://bf9df54d4a67dbe5de5dd5bd6f4006184a16029be96c8b3acb827fe56cd663df4a2b900bd55e54b61582fa684dbb87d1b2d19fc7467ebea43ec4173c0d43ce5e@73.71.237.237:30303
INFO [09-28|19:29:03] IPC endpoint opened: /Users/fogonthedowns/Library/Ethereum/geth.ipc 
INFO [09-28|19:29:03] Mapped network port                      proto=tcp extport=30303 intport=30303 interface=NAT-PMP(10.0.1.1)
2017/09/28 19:29:05 ssdp: got unexpected search target result "upnp:rootdevice"
2017/09/28 19:29:05 ssdp: got unexpected search target result "uuid:2f402f80-da50-11e1-9b23-001788120c76"
2017/09/28 19:29:05 ssdp: got unexpected search target result "urn:schemas-upnp-org:device:basic:1"
2017/09/28 19:29:05 ssdp: got unexpected search target result "upnp:rootdevice"
2017/09/28 19:29:05 ssdp: got unexpected search target result "uuid:2f402f80-da50-11e1-9b23-001788120c76"
2017/09/28 19:29:05 ssdp: got unexpected search target result "urn:schemas-upnp-org:device:basic:1"
INFO [09-28|19:29:08] Block synchronisation started 
INFO [09-28|19:29:10] Imported new chain segment               blocks=2 txs=225 mgas=8.279 elapsed=1.228s mgasps=6.739 number=4320663 hash=22fe70…3e0b39
INFO [09-28|19:29:11] Imported new chain segment               blocks=1 txs=25  mgas=0.966 elapsed=58.864ms mgasps=16.409 number=4320664 hash=ad512b…7c0b97
updateTransactions null 0x286414c43ae6e34980d4c15e708324b66d9c0316ca4ab27fd9da76c60d84fc45 @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:322:3570)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 EVENT LOG:  Arguments(1) @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:333:1376)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 updateTransactions null 0xe5c2f2faf74b659d395b8b933733de4973a2c7394355a8f33b7c4a11cce06853 @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:322:3570)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 EVENT LOG:  Arguments(1) @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:333:1376)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 updateTransactions null 0x67c37e712b59ec1b382c48025660c6e8d4762584c64c66d4bc24fd8524a18526 @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:322:3570)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 EVENT LOG:  Arguments(1) @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:333:1376)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 updateTransactions null 0x21afbed64cbbb3e012a90eb5394b276c4dfc27dc7c6a71163615934f2d8f72ea @ file:///Applications/Ethereum%20Wallet.app/Contents/Resources/app.asar/interface/wallet/3e2c5ebd8efbf7fc573dced0138d300ec5a4bff9.js:322:3570)
/Applications/Ethereum Wallet.app/Contents/Resources/app.asar/modules/preloader/include/consoleLogC…:40 
@fogonthedowns
Copy link
Author

fogonthedowns commented Sep 29, 2017

I also force time synced my computer with the command line prior to this ticket.

@fogonthedowns
Copy link
Author

fogonthedowns commented Sep 29, 2017

os-timesync Library produces bad result. I think you need to remove this library in the case of MacOS

> timesync.checkEnabled(function (err, enabled) {
...     if (err) {
.....         console.log("can't check: " + err.toString());
.....         return;
.....     }
...     console.log("enabled =", enabled);
... });
undefined
> enabled = false

@evertonfraga
Copy link
Member

Thanks for investigating this, Link.

I've tagged as a Bug, and it will be dealt with.

@evertonfraga evertonfraga self-assigned this Sep 29, 2017
@jimmykl
Copy link

jimmykl commented Sep 30, 2017

Is there a workaround for this or does it require a change in a new version?

@fogonthedowns
Copy link
Author

@jimmykl if you look at the source code: timesync.checkEnabled is called and it will always raise this error because the library does not read MacOS setting correctly.

@eggsampler
Copy link

The library used (fjl/os-timesync) only checks for the presence of ntpd in the process list. As of High Sierra, OSX now uses timed instead of ntpd so this library will need to be updated to check for the timed process.

@fogonthedowns
Copy link
Author

The library used (fjl/os-timesync) only checks for the presence of ntpd in the process list Right.

@moderncryonics
Copy link

I have the same problem... Anyone found a solution yet?

@yudali
Copy link

yudali commented Oct 6, 2017

same. no solution

@niksauer
Copy link

niksauer commented Oct 6, 2017

same issue, wanted to transfer my funds to my Ledger..

@garone
Copy link

garone commented Oct 9, 2017

same. :(

@0xGabi
Copy link

0xGabi commented Oct 10, 2017

+1

@hannahmisenar
Copy link

same problem :(

@tianleios
Copy link

i have same issure,
2017-10-11 5 37 11

@mkoistinen
Copy link

I've confirmed that 0.9.2 on High Sierra fixed this issue for me.

@garone
Copy link

garone commented Oct 14, 2017

Same for me!

@agilob
Copy link

agilob commented Dec 15, 2017

I get this every time I launch mist, it even tells me to run sudo apt-get install ntpd and sync clock, I have arch linux so apt-get won't work and my OS runs systemd-timesyncd every boot, so it's synchronized.
Really annoying.

@evertonfraga evertonfraga added this to the 0.9.4 milestone Jan 19, 2018
@evertonfraga
Copy link
Member

The OS-timesync package finally got updated and it aims to fix the reported issues. thanks for the patience, everyone. I'll update this issue when it's released.

@evertonfraga
Copy link
Member

Fixed and available for update. Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests