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.

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

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:
  • Truffle version (truffle version):
  • node version (node --version):
  • npm version (npm --version):

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (1 by maintainers)

github_iconTop GitHub Comments

44reactions
umobiajulucommented, Jun 8, 2021

I had the sam issue with BSC testnet. I solved mine by replacing ‘https’ in the provider url with ‘wss’

testnet: {
  provider: () => new HDWalletProvider(mnemonic, `wss://data-seed-prebsc-1-s1.binance.org:8545`),
  network_id: 97,
  confirmations: 10,
  timeoutBlocks: 200,
  skipDryRun: true
},
19reactions
wpitallocommented, Nov 1, 2021

Please reopen this issue…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Encountered an error while attempting to update latest block
I'm new to blockchain and i was just trying to deploy a simple smart contract to ropsten test net.
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 >
infura - Truffle Migrate Rinkeby - Error: PollingBlockTracker
Truffle Migrate Rinkeby - Error: PollingBlockTracker - encountered an error while attempting to update latest block: Error: ETIMEDOUT.
Read more >
Polling.js:51 Uncaught Error: PollingBlockTracker - Moralis
Polling.js:51 Uncaught Error: PollingBlockTracker - encountered an error while attempting to update latest block: undefined.
Read more >
pollingblocktracker | The AI Search Engine You Control
const newErr = new Error(`PollingBlockTracker - encountered an error while attempting to update latest block:\n${err.stack}`) ^ Error: PollingBlockTracker ...
Read more >

github_iconTop Related Medium Post

No results found

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