Skip to content

Image previews no longer working on v4.2.3  #2055

@WebFreak001

Description

@WebFreak001

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions