• Skip to primary navigation
  • Skip to main content
Daniel McClure

Daniel McClure

Entrepreneurship, Marketing, Technology, Travel & Lifestyle

  • About
  • Credentials
  • The Blog of Daniel McClure
  • Social
  • Code
  • Contact
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter

Fix: Ethereum Node Not Finding Peers on OS X

This is a quick tip for anyone having problems finding peers to update the blockchain with their Ethereum node.

You are here: Home » Technology » Fix: Ethereum Node Not Finding Peers on OS X

Last Updated: February 15, 2016 Leave a Comment

This post is a quick tip for anyone encountering a problem updating the Ethereum Blockchain because the Ethereum node is not finding peers, if you want to instead find out what Ethereum is then you are best reading up on the official site for now.

So your Ethereum node is getting stuck whilst looking for peers and is not adding new blocks? This started happening to me even though it had previously been working for weeks. This screen could literally show for hours.

Ethereum Looking for Peers

After a lot of digging it turns out that the reason for this was because my computers time had become otu of sync with the network as I’d turned off the “Set time zone automatically using current location” setting whilst traveling.

Time Zone Settings Apple

How to Make Your Ethereum Node Find Peers…

Whilst you can turn the above setting back on, in my case it didn’t work immediately and instead the solution was to manually sync the clock via the process ntpdate. Open up a Terminal window and type the following commands (you may need to type in your Macs login password as this is an admin command):

$ sudo systemsetup -getnetworktimeserver

This will return a domain name such as time.apple.com which you can then use in the following command:

$ sudo ntpdate -u “time.apple.com”

The above syncs your clock with a central timeserver which then enables you to connect with other peers. The official Ethereum Wiki states this is a common problem when experiencing trouble connecting to nodes:

“An accurate clock is required to participate in the Ethereum network. Check your OS for how to resync your clock (example sudo ntpdate -s time.nist.gov) because even 12 seconds too fast can lead to 0 peers.”

I hope someone else finds this article useful and it saves some time in hunting down your fix 🙂

Filed Under: Technology Tagged With: #Blockchain, #Cryptocurrency, #Ethereum, #OSX

About Daniel McClure

Daniel McClure is a Marketing Technologist and Blockchain Advocate that has worked with large and small businesses around the globe.

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

You can encrypt your comment so that only Daniel McClure can read it.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Daniel McClure

Work With Me

Get in touch if you’re interested in working together on your next project.

Contact Me

Creative Commons Licence

Copyright © 2023 Daniel McClure

All opinions shared through this site are that of their respective author and are not necessarily representative of the views of past/present clients, affiliate partners or businesses.
Some links include affiliate tracking for which I may earn a commission. See the Full Disclaimer Page for more information.