MetaMask / MetaMask/metamask-extension
[Sentry] [Bug]: Constant console errors "Execution prevented because the circuit breaker is open"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Describe the bug
The console is constantly showing this error: "Execution prevented because the circuit breaker is open"
Similar to #32488 , but the current network is Ethereum and the error appears continuosly, without doing any swap or being on the Base network
Expected behavior
No console errors
Screenshots/Recordings
https://github.com/user-attachments/assets/63b7091c-5eae-4559-9ab2-0c6ff32c935b
Steps to reproduce
Inspect console erros
Error messages or log output
Error#1671: PollingBlockTracker - encountered an error while attempting to update latest block:
{
"code": -32603,
"message": "Execution prevented because the circuit breaker is open",
"data": {
"cause": {
"stack": "Error: Execution prevented because the circuit breaker is open\n at new n (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:26301)\n at Object.execute (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:5952)\n at n (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:10380)\n at chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:10392\n at i.invoke (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:24526)\n at a.execute (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:12353)\n at n (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:10380)\n at Object.execute (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-7.js:13:10445)\n at Object.l (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-3.js:3:230892)\n at Object.request (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-3.js:3:230184)",
"message": "Execution prevented because the circuit breaker is open",
"isBrokenCircuitError": true
}
},
"stack": "Error: Execution prevented because the circuit breaker is open\n at new a (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-3.js:7:5692)\n at f.request (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-1.js:3:17706)\n at async w._fetchLatestBlock (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-0.js:1:839362)\n at async w._updateLatestBlock (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-0.js:1:839136)\n at async w._updateAndQueue (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-0.js:1:839564)"
}
at new a (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-3.js:7:5692)
at f.request (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-1.js:3:17706)
at async w._fetchLatestBlock (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-0.js:1:839362)
at async w._updateLatestBlock (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-0.js:1:839136)
at async w._updateAndQueue (chrome-extension://ncobmkdfnffabdbpcknjpkkjicjaacfi/common-0.js:1:839564)
Detection stage
On a feature branch
Version
12.17.1
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repeated PollingBlockTracker error in Chrome on Ethereum with version 12.17.1, then compare the behavior with issue #32488. Trace the source corresponding to _fetchLatestBlock and _updateLatestBlock from the provided stack and verify that the console no longer reports circuit-breaker errors during normal use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100