Skip to content
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

The message port closed before a response was received #68

Open
rudiedirkx opened this issue Oct 1, 2024 · 0 comments
Open

The message port closed before a response was received #68

rudiedirkx opened this issue Oct 1, 2024 · 0 comments
Labels

Comments

@rudiedirkx
Copy link
Owner

Sometimes in the page's devtools console:

[RWeb] WILL START AUTO-DOWNLOAD NOW! See background script for log.
Unchecked runtime.lastError: The message port closed before a response was received.

Is that the fault of

rweb.browser.runtime.sendMessage({forceAutoDownload: true}, function(response) {

and beyond? The download does happen, and is registered in the log. It just can't communicate back to the page?? Because the page was sleeping, or because the extension's SW was sleeping?

@rudiedirkx rudiedirkx added the bug label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant