Skip to content

Web3 provider stops fetching latest data #5618

@yvon

Description

@yvon

Injected web3 stops synchronizing blockchain blocks.

To Reproduce

It seems to happen after a while, when Chrome is left open. It happens to me approx once a day but I have colleagues that never faced this issue :/

When it happens this JS code (from any chrome tabulation) returns an old block and it's stuck (it never changes):

web3.eth.getBlock('latest', function(e, { timestamp }) { console.log(new Date(timestamp * 1000)) });

To solve it I have to kill all my chrome instances or reset my account from Metamask.

Browser details:

  • OS: Arch Linux and OSX
  • Browser: chrome and chromium
  • MetaMask Version: 4.16.0
  • New UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions