Metamask-extension: Infinite reload bug

Created on 18 Oct 2016  路  6Comments  路  Source: MetaMask/metamask-extension

Submitted by "joe" on our Slack.

His app, Community is experiencing an infinite refresh bug.

The console shows this error:

screen shot 2016-10-18 at 1 15 59 pm

T00-bug

Most helpful comment

@ropod7
I will take another look at this

All 6 comments

Those errors are from ipfs, I don't think they're related.

It does not always get stuck in this loop.

The reload is being called by the endOfStream(PingStream, triggerReload) line.

The PingStream is timing out, so we need a more tolerant way of handling a ping timeout than reloading.

The change we made to "fix" this was based on a misunderstanding -- I'm reverting that change now which may cause this issue to re-appear. See https://github.com/MetaMask/metamask-plugin/issues/873 for more info

fyi ^ @ChicoBitcoinJoe

@ropod7
I will take another look at this

We are calculating extension comms failure with a setTimeout -- messages seemed to be blocked, and then the timeout triggers the redirect.

I think we could use a series of smaller setTimeouts to calculate an unblocked time span

It's fixed. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MarkOSullivan94 picture MarkOSullivan94  路  3Comments

BassBauman picture BassBauman  路  3Comments

DISC30 picture DISC30  路  3Comments

dpazdan picture dpazdan  路  3Comments

glitch003 picture glitch003  路  3Comments