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

Room avatar missing and files not loading #1808

Closed
Chr1s70ph opened this issue Jul 30, 2024 · 10 comments
Closed

Room avatar missing and files not loading #1808

Chr1s70ph opened this issue Jul 30, 2024 · 10 comments
Labels
A-Avatar O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere Z-Synapse

Comments

@Chr1s70ph
Copy link

Chr1s70ph commented Jul 30, 2024

Steps to reproduce

  1. Update to version 1.11.72
  2. Start Element
  3. Witness the missing room avatars

Outcome

What did you expect?

Room avatars to be displayed

What happened instead?

No room avatar was being displayed. Only the default colorful letters are displayed as room avatars.

Operating system

macOS

Application version

1.11.72

How did you install the app?

brew

Homeserver

Synapse 1.111.0

Will you send logs?

Only if not reproducable

@dosubot dosubot bot added A-Avatar O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist labels Jul 30, 2024
@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2024

The brew package isn't maintained by us, please install an official package from an official source if you wish to have support

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
@t3chguy t3chguy added the X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere label Jul 30, 2024
@Chr1s70ph
Copy link
Author

Chr1s70ph commented Jul 30, 2024

@t3chguy Reinstalling from element.io serves an outdated version. Updating from within the application leads to the exact same result. No room avatars. This is not an issue from the brew installation.

@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2024

Where are you seeing the outdated version?

image

Did you clear your profile data before installing the official package? If not then the unofficial package likely left corrupted data

@Chr1s70ph
Copy link
Author

Seems like I was too fast.
The original download (4:48PM CEST) contained version 1.11.71. The second download (4:55PM CEST) contained version 1.11.72.

Still the issue remains

@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2024

That would likely be due to Cloudflare's POP caching in your locale before the cache got evicted

Did you clear your profile data before installing the official package? If not then the unofficial package likely left corrupted data

@Chr1s70ph
Copy link
Author

Files and images are broken too, not just the avatars.
Can you please open the issue again? I have spoken to other people from my organization and I am not alone with this problem.

Element 1.11.71 still works fine, so this has to be an issue with the latest version.

@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2024

Will you send logs?
Only if not reproducable

It isn't reproducible, I've tried 1.11.72 and Nightly against my HS and all is fine. I'm guessing this is specific to your HS given the recent changes to how media works in Synapse.

@t3chguy t3chguy reopened this Jul 30, 2024
@Chr1s70ph Chr1s70ph changed the title Room avatar missing Room avatar missing and files not loading Jul 30, 2024
@Chr1s70ph
Copy link
Author

I submitted the debug logs.

@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2024

(https://<redacted>/_matrix/client/v1/media/download/<redacted>/QWCgXanwToUgeVAsAMgsyvcX?allow_redirect=true)
M_UNRECOGNIZED: MatrixError: [404] Unrecognized request

The issue is your server is claiming Matrix v1.11 compatibility but then doesn't actually support the authenticated media endpoint that comes with that version.

 ~  curl "https://<redacted>/_matrix/client/versions" | jq .                                                                                       
{
  "versions": [
    "r0.0.1",
    "r0.1.0",
    "r0.2.0",
    "r0.3.0",
    "r0.4.0",
    "r0.5.0",
    "r0.6.0",
    "r0.6.1",
    "v1.1",
    "v1.2",
    "v1.3",
    "v1.4",
    "v1.5",
    "v1.6",
    "v1.7",
    "v1.8",
    "v1.9",
    "v1.10",
    "v1.11"
  ],
  ...
}

This is an issue with your server being spec incompliant, not Element

https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediadownloadservernamemediaid for more info on the endpoint

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
@Chr1s70ph
Copy link
Author

Thanks for the info.
Seems to be related to element-hq/synapse#17473 for anyone else coming across this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Avatar O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere Z-Synapse
Projects
None yet
Development

No branches or pull requests

2 participants