-
Notifications
You must be signed in to change notification settings - Fork 4.8k
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. #14987
Comments
@php4fan Thanks for the issue. Having troubles reproducing this. Reproduction aside, is this blocking you in anyway? We test extensively before releasing. If you are interested, have a look at our e2e tests: https://github.com/MetaMask/metamask-extension/tree/develop/test/e2e |
Why are you closing this?
Not that I know of (unless it's related to the cause of some of the other dozens of bugs), but it's not acceptable to have random bogus errors in the console. Imagine if every extension I install did that, and then I need to debug the errors in my own code. |
@php4fan Sorry for not making it more clear - I was not able to reproduce this issue using latest. I've installed the version you are using, and now see the error. Updating to latest will fix it. We don't want to leave random errors in the console. |
Oh I see, sorry. |
By "latest" do you mean building from source? |
I was not able to reproduce this in 10.16.1 until after many many attempts. Seems to only happen on some pages (I could only get it to happen when the first tab opened was github). I am able to reproduce it 9/10 times now by:
Digging deeper... |
@php4fan should be fixed once this all gets merged up and released. Sorry for the confusion and the incorrect closing of this issue, and thank you for taking the time to submit an issue. |
@BelfordZ So, any update on this? |
Still seeing these errors. |
For what it's worth: I had the same error message when I tried to attach event listeners in service worker in onInstalled event handler. See "Don't" block in documentation: chrome.runtime.onInstalled.addListener(() => { // ERROR! Events must be registered synchronously from the start of // the service worker. chrome.bookmarks.onCreated.addListener(() => { // do something }); }); |
I believe there are multiple ways to reproduce this behaviour. Here are some solid steps for repro'ing in one way:
receiving-end-not-exist.mp4cc @BelfordZ |
Hi, guys, I find the same errors when integrate Metamask extension into Electron, by using import { app, BrowserWindow, session } from 'electron'; Metamask version are 10.28.3_0 and 10.30.1_0 and 10.29.0.0_0, all will result into errors, and Metamask popups with infinite loading and errors: I have checked with many possibilities, but no idea with it. The Electron loading extension method has no problem, because I can use the same method for coinbase wallet extension, it's perfect for loading and popuping. |
I got into the same error but at another extension, It was resolved when I refreshed the page and ignoring the cache: (CTRL+SHIFT+R) |
Oh, thanks for tips, I tried, but not work for me, even I set no-cache header when running electron dev mode. This bug is really werid. |
Oh, thanks for tips, I tried, but not work for me, even I set no-cache header when running electron dev mode. This bug is really werid. |
This is related to sendMessage function, but not sure how to debug it or how to check it for this project. |
Great clue, the next step is how to debug it, maybe try the source code of extension, not sure. |
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. |
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions. |
Oh FFS again this idiocy. Stop closing issues "because" you don't fix them. |
Describe the bug
see steps to reproduce
Steps to reproduce
The following error will show up, usually once, sometimes two or three times:
Error messages or log output
Version
10.14.6
Build type
No response
Browser
Chrome
Operating system
Linux
Hardware wallet
No response
Additional context
I have no other extensions enabled. If I disable MetaMask, the error stops showing up when I launch Chrome.
Guys do you even test before releasing??
The text was updated successfully, but these errors were encountered: