metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Sentry] Error: write after end

Open sentry[bot] opened this issue 2 years ago • 2 comments

Sentry Issue: METAMASK-X71J

Error: write after end
  at MetaRPCClient.send (app/scripts/lib/metaRPCClientFactory.js:22:27)
  at apply (app/scripts/lib/metaRPCClientFactory.js:120:16)
  at new Promise (<anonymous>)
  at a.submitRequestToBackground (ui/store/action-queue/index.ts:118:34)
  at a.getGasFeeEstimatesAndStartPolling (ui/store/actions.ts:3898:10)
...
(19 additional frame(s) were not displayed)

sentry[bot] avatar Sep 19 '23 14:09 sentry[bot]

Having the same issue, which actually prevents me log in to dApp as the provider is reporting not being connected. Funny thing is, the issue only happens with the JS console closed. If opened, it works every time. I've managed to get connected also when opening the extension.

Screenshot 2023-11-02 at 00 00 54

Mattijah avatar Nov 01 '23 23:11 Mattijah

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

github-actions[bot] avatar Jan 31 '24 00:01 github-actions[bot]

Reported by @Montoya on Slack:

I’ve been running into the write after end issue when trying to connect to MetaMask automatically from a dapp (the dapp has permission to talk to a Snap, the dapp doesn’t need to do eth_requestAccounts, the dapp should just be able to make requests right away. I see this usually when starting a fresh browser and opening the dapp. The error looks like this (see screenshot). I see it’s been reported by others in the past. https://github.com/MetaMask/metamask-extension/issues/11069 Does anyone have a workaround or has run into this before?

More detail as well as video repro in this Slack thread.

gauthierpetetin avatar Apr 18 '24 19:04 gauthierpetetin

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

github-actions[bot] avatar Jul 17 '24 20:07 github-actions[bot]

Sentry Issue: METAMASK-XA8X

sentry[bot] avatar Jul 17 '24 20:07 sentry[bot]