Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
22,447 views
Skip to first unread message
Treesa P Poulose
unread,
Mar 7, 2023, 5:42:33 PM3/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
Getting this error while creating a chrome extension "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist."
Simeon Velichkov
unread,
Mar 7, 2023, 7:20:31 PM3/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Treesa P Poulose
That's basically mv3 for you, I know it's not a very useful answer, but that's what comes to mind when I see it.
wOxxOm
unread,
Mar 7, 2023, 7:57:35 PM3/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Simeon Velichkov, Treesa P Poulose
This error has always been around and it's often caused by an architectural deficiency in Chrome - the lack of automatic re-injection of the content scripts in the currently open tabs after the extension is updated/installed/reloaded like Firefox does it. The solution for Chrome is to inject the scripts explicitly in chrome.runtime.onInstalled, see https://stackoverflow.com/q/10994324.
cue886
unread,
Mar 7, 2023, 8:55:33 PM3/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wOxxOm, Chromium Extensions, Simeon Velichkov, Treesa P Poulose
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Simeon Velichkov, Treesa P Poulose, wOxxOm
I think that makes sense, I had a really bad day yesterday. I have an extension that calls the underlying service worker every second in some cases so that could explain why am I seeing it while developing and restarting the extension.
Viet Ta
unread,
Mar 8, 2023, 9:37:32 PM3/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Simeon Velichkov, Treesa P Poulose, wOxxOm