MetaMask / MetaMask/metamask-extension

[Sentry] Error: KeyringController - The operation cannot be completed while the controller is locked.

Open
#35,569 3 comments 0 reactions 0 assignees View on GitHub
area-sentry Bugs---Low-Priority external-contributor INVALID-ISSUE-TEMPLATE regression-prod-13.18.1 regression-prod-13.2.0 Sev2-normal team-confirmations type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Sentry Issue: [METAMASK-XQ6M](https://metamask.sentry.io/issues/6849269482/?referrer=github_integration)

```
Error: KeyringController - The operation cannot be completed while the controller is locked.
at MetamaskController.getDeviceModel (app/scripts/metamask-controller.js:6029:35)
at buildEventFragmentProperties (app/scripts/lib/transaction/metrics.ts:1013:51)
at createUpdateFinalizeTransactionEventFragment (app/scripts/lib/transaction/metrics.ts:673:23)
at exports.handleTransactionDropped (app/scripts/lib/transaction/metrics.ts:241:5)
...
(1 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Research direction

Start with getDeviceModel in app/scripts/metamask-controller.js and trace its call from buildEventFragmentProperties in app/scripts/lib/transaction/metrics.ts. Reproduce or inspect the handleTransactionDropped path for the locked-controller error; done means this Sentry exception no longer occurs in that path.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.