Connection failed to Ethereum Ropsten Testnet network

0 votes

I want to make Dapp by using Ethereum Blockchain. And for running the smart contracts demo, I am referring below link :

In the steps for downloading the truffle, when I fired truffle console command, I got the below error :

imageCan anyone help.

Mar 27, 2018 in Blockchain by Perry
• 17,100 points

edited Mar 27, 2018 by Perry 1,557 views

1 answer to this question.

+1 vote
Best answer

 It looks like your node isn't syncing at all. Verify the integrity of your node by starting a console:

geth attach '//./pipe/geth.ipc'

Once in the console, run the following:


If your node is working correctly, you should see something like this:

$ geth attach '//./pipe/geth.ipc'
Welcome to the Geth JavaScript console!

instance: Geth/TrustDevTestNode/v1.8.2-stable-b8b9f7f4/windows-amd64/go1.9.2
coinbase: 0x0a78c28257b40d5076ea180bc6a9e4c597c5ea98
at block: 280377 (Tue, 03 Jan 2017 19:36:08 PST)
datadir: C:\cygwin\home\adamk\eth\geth\data\testnet
modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

> eth.syncing

  currentBlock: 282100,
  highestBlock: 2803215, 

knownStates: 0,
  pulledStates: 0,
  startingBlock: 0

If your node isn't running properly, do the following steps:

  1. Stop your node
  2. Completely remove your blockchain data (/home/riyasoni/.ethereum/testnet in your case)
  3. Upgrade to the latest version of geth (you're running 1.7.3. As of 3/9/2018, the latest version is 1.8.2)
  4. Restart geth. There's nothing wrong with the way your running geth, but personally I would not use


I would spend the time to run using

--syncmode "full"

Running in fast sync mode has limitations and your node will stop syncing entirely if you stop your node for some time and then try to restart. It will take time for your node to fully sync.

After completing those steps, check the status of the node in the console again before moving on to Truffle.

answered Mar 27, 2018 by Christine
• 15,790 points

selected Aug 3, 2018 by Omkar
Thank you. I tried it and it's working

Related Questions In Blockchain

+1 vote
1 answer
+1 vote
1 answer

How to setup testnet environment in Ethereum??

You can connect to a node using ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,400 points
0 votes
1 answer

Why is it downloading the blocks when I am trying to deploy the ethereum private network?

Once you have installed the Ethereum wallet, ...READ MORE

answered May 3, 2018 in Blockchain by Shashank
• 10,400 points
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,450 points
0 votes
1 answer

Is it possible to setup private ethereum network for creating applications??

yes, ethereum is an open source platform ...READ MORE

answered Apr 18, 2018 in Blockchain by Christine
• 15,790 points
0 votes
1 answer

How to make sure transactions take no fee in a private Ethereum blockchain?

In a private ethereum network you have ...READ MORE

answered Mar 26, 2018 in Blockchain by Christine
• 15,790 points

edited Mar 26, 2018 by Christine 1,419 views
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP