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

Service worker for authenticated media is not reliable if using multiple firefox containers with develop.element.io/same domain -> 404 returned for media #28022

Open
MTRNord opened this issue Sep 6, 2024 · 3 comments
Labels
A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@MTRNord
Copy link
Contributor

MTRNord commented Sep 6, 2024

Steps to reproduce

  1. Have authenticated media on the server
  2. Have multiple elements of the same url in different firefox containers
  3. Try downloading an image

This isnt super reliable but I am not entirely sure about the conditions

Outcome

What did you expect?

It works just fine

What happened instead?

Sometimes one of the tabs ends up with unable to download media. The request throws 404 instead of using authenticated media. Unlinking the service worker and reloading fixes the tab but breaks the other tab.

Operating system

Fedora Silverblue 40

Browser information

Firefox 129.0.2 (64-Bit)

URL for webapp

develop.element.io

Application version

Version von Element: f937dea-react-78059e1ca656-js-ba7bd0629541 Krypto-Version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0

Homeserver

matrix.midnightthoughts.space

Will you send logs?

Yes

@dosubot dosubot bot added A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist labels Sep 6, 2024
@turt2live
Copy link
Member

Logs from both containers will be important for resolving this.

@MTRNord
Copy link
Contributor Author

MTRNord commented Sep 8, 2024

Logs from both containers will be important for resolving this.

Since I now encountered this again, I sent logs via rageshake for this issue. I hope that helps. One for the affected and one for the non affected container. There is some more info attached to the rageshakes.

@florianduros florianduros added S-Major Severely degrades major functionality or product features, with no satisfactory workaround and removed S-Minor Impairs non-critical functionality or suitable workarounds exist labels Sep 18, 2024
@ledlamp
Copy link

ledlamp commented Oct 4, 2024

friend is having random media fail to load (M_NOT_FOUND) on plain old firefox on windows 10, app.element.io and matrix.org, not even using this container thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants