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

Image previews no longer working on v4.2.3 #2055

Closed
WebFreak001 opened this issue Nov 12, 2024 · 2 comments
Closed

Image previews no longer working on v4.2.3 #2055

WebFreak001 opened this issue Nov 12, 2024 · 2 comments

Comments

@WebFreak001
Copy link
Contributor

Describe the bug

After upgrading to v4.2.3, all image content served from the server seems to have stopped displaying (space & room thumbnails, stickers, custom emotes, uploaded media, url preview images)

A few images that fall in these categories still seem to work, but I can't really find a pattern what makes this happen. (perhaps cache?)

Reproduction

  1. upgrade to v4.2.3
  2. open up any chat with images, custom emotes, stickers or a logo of the chat
  3. see that all images don't load

Expected behavior

Images should work

Platform and versions

Browser: Firefox 132.0.1 and Brave 1.70.123
Cinny: v4.2.3 
Homeserver: Synapse v1.118.0

Additional context

Sample image it tries to load:
https://<homeserver>/_matrix/client/v1/media/download/<homeserver>/QwNsrOVdyNrmnqyZFjTdunpS?allow_redirect=true
response:

HTTP Error 401 (Unauthorized)

{"errcode":"M_MISSING_TOKEN","error":"Missing access token"}

When looking at the request headers, they do not include any authorization token or cookie and are sent like an anonymous request.

@WebFreak001
Copy link
Contributor Author

going into the settings and clicking this "Clear Cache & Reload" button:

image

fixed the issue

@Lunaphied
Copy link

This is still relevant, I'm hitting this issue with a cleared cache (in fact a brand new first load of Cinny in the browser or desktop app, it happens with both) and it's caused by the same issue, not including an authorization token whatsoever in the requests anymore. I'm not sure why that's stopped but I am using Dendrite, which I can confirm is correctly sending the feature in the versions query:

{"versions":["r0.0.1","r0.1.0","r0.2.0","r0.3.0","r0.4.0","r0.5.0","r0.6.1","v1.0","v1.1","v1.2"],"unstable_features":{"org.matrix.e2e_cross_signing":true,"org.matrix.msc2285.stable":true,"org.matrix.msc2836":true,"org.matrix.msc3916.stable":true}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants