question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

truffle migrate --network rinkeby Time Out # Error: PollingBlockTracker - encountered an error while attempting to update latest block:

See original GitHub issue
  • I’ve asked for help in the Truffle Gitter before filing this issue.

Issue【Error: PollingBlockTracker - encountered an error while attempting to update latest block:】

I’m going to be bullied by this damn truffle and I’m going crazy! I tried to deploy to the test network through truffle migrate --network rinkeby --reset --compile-all, and also tried to switch between various truffle versions and node versions, but the timeout has been displayed for three days, and I ping https in cmd 😕/rinkeby.infura.io/v3/myKey but it shows that it has timed out, so I purchased a VPN, but unfortunately I can come here to ask the gods, but I cannot connect to my https://rinkeby.infura .io/v3/myKey🤢… . . . And I found through IP address search that the ip address of my infura is constantly changing 😂🤣 (I am in China, I don’t know if your infura is like this). So, my question is: now how do I deploy truffle to the rinkeby test network? ? I think it is possible that Truffle v5.1.33 has a bug Finally, I offer a reward of 0.0001ETH, if someone can help me deploy my solidity to rinkeby through truffle! What the issue is, in broad strokes.

Steps to Reproduce

Please provide the shortest amount of steps to reproduce your issue.

Expected Behavior

What you expected to happen.

Actual Results

What actually happened. Please give examples and support it with screenshots, copied output or error messages.

Environment

  • Operating System:
  • Ethereum client:geth 1.9.21-stable Go Version: go1.15
  • Truffle version (truffle version): Truffle v5.1.33 and 4…some
  • node version (node --version): 8.11.1 and 14.0.0 and 10…some
  • npm version (npm --version): node comes with…E.g 6.9.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:78 (14 by maintainers)

github_iconTop GitHub Comments

21reactions
chenzhangyaocommented, Jan 8, 2021

a new solution has been found,,,

replace the URL with the following format: wss://ropsten.infura.io/ws/v3/YOUR-PROJECT-ID

and it works!

19reactions
kallolborahcommented, Sep 20, 2020

I finally could migrate my project to ropsten. I changed to using web sockets, and set a ‘networkCheckTimeout’ attribute to the ropsten network in truffleconfig and it worked. Without networkCheckTimeout, the migration was not happening using either https or wss. And even with networkCheckTimeout set, the migration did not happen on https, for whatever reason that I do not understand.

Read more comments on GitHub >

github_iconTop Results From Across the Web

infura - Truffle Migrate Rinkeby - Error: PollingBlockTracker
Error: PollingBlockTracker - encountered an error while attempting to update latest block: undefined at PollingBlockTracker.
Read more >
Encountered an error while attempting to update latest block
The first solution is here. The idea is to replace https with wss . There should be something like this: testnet: { provider:...
Read more >
encountered an error while attempting to update latest block ...
Getting following error while deploying using infura. Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Read more >
pollingblocktracker | The AI Search Engine You Control
I found out I forgot to launch Ganache before running truffle test, so I tried launching ... Encountered an error while attempting to...
Read more >
ConsenSys/truffle - Gitter
var e = new Error('ETIMEDOUT') ^ Error: PollingBlockTracker - encountered an error while attempting to update latest block: Error: ETIMEDOUT at Timeout.
Read more >

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found