-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Media Files unable to load (401); Regression #1993
Comments
The reason this breaks for you is because authenticated media is now enabled, whereas it wasn't before. Dendrite does not advertise v1.11 of the matrix spec, but it does advertise What may have happened for you, which happened to me (and is how I found this issue), is that the necessary reverse proxy configuration changed when the authenticated media ServiceWorker was introduced in Cinny. Please check out https://github.com/cinnyapp/cinny/blob/dev/docker-nginx.conf#L12. |
@ashkitten Thank you so much, that fixed it for me! Maybe the required config change should have been listed in the release changelog as a breaking change (or did I miss it?). |
I am using the hosted version of cinny at app.cinny.in; so I don't think the nginx config in the repo has anything to do with this. The serviceworker does in fact get registered. |
Linking #2055 (comment) because I'm hitting the same exact issue suddenly after updating. I've used both the desktop app (on macOS) and app.cinny.in and both show the same issue. There's no authorization header being offered on the media fetches after the update to v4.2.1 or later |
This is being caused by matrix-org/dendrite#3424 which is patched by element-hq/dendrite@df770da and is not a Cinny issue (though I am surprised that the desktop app version doesn't bypass this) |
Closing as this is not a Cinny issue. |
Describe the bug
No media files load, homeserver returns 401 for everything.
Platform and versions
Additional context
Regression was introduced by 4923b17 / #1952.
Verified by checking Release v4.2.0 with https://1949--pr-cinny.netlify.app; all media loads fine there.
I don't understand why the added check causes authenticated media to break. To my understanding it shouldn't make much of a difference.
The text was updated successfully, but these errors were encountered: