Skip to content

[Bug]: Error: premature close #21078

@seaona

Description

@seaona

Describe the bug

Problem: whenever I was in the process of unlocking the wallet using the popup, I entered my password and changed networks (to a non responding one and back to a working one). MetaMask started displaying the error premature close any time I opened and close the popup.
After that, whenever I tried dapp interactions they started to fail (not opening the popup, only after some time )

Expected behavior

No response

Screenshots

error-premature-close.mp4
premature-close.mp4

Steps to reproduce

  1. Open popup
  2. Add password to unlock the wallet
  3. Change networks to a non responding network (ie. optimism without supported infura id)
  4. Change back to mainnet
  5. Close popup
  6. Open popup
  7. See console -- everytime you close the popup the error is triggered

Error messages or log output

No response

Version

11.1.0

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Labels

Sev2-normalNormal severity; minor loss of service or inconvenience.regression-prod-11.1.0release-13.10.0Issue or pull request that will be included in release 13.10.0team-extension-platformExtension Platform teamtype-bugSomething isn't working

Type

No type

Projects

Status

To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions