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

Images not loading #3176

Closed
maltejk opened this issue Aug 16, 2024 · 2 comments
Closed

Images not loading #3176

maltejk opened this issue Aug 16, 2024 · 2 comments
Labels
T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@maltejk
Copy link

maltejk commented Aug 16, 2024

Steps to reproduce

  1. Where are you starting? What can you see?
    I shared some pictures with a contact, but cant see them after sending. Older picture are shown as "Loading..." with a spinner spinning forever. Text is fine

  2. What do you click?
    Nothing else actually. If I tap the picture, I can see another line with 404 in the server log.

  3. More steps…
    None.

Outcome

What did you expect?

The picture should be shown.

What happened instead?

The "Loading..." with spinner just stays there.

I have extracted some server logs:

Server logs below. Note the different unser agents requesting different URL

212.53.0.0 - - [16/Aug/2024:20:21:50 +0000] "GET /_matrix/client/v1/media/download/kadse.xyz/YTlPNGubBorNMzOpaiZgTqly HTTP/1.1" 404 86 "-" "Element X/1.7.1 (Mac; macOS Version 14.6.1 (Build 23G93); Scale/2.00)"
212.53.0.0 - - [16/Aug/2024:20:21:50 +0000] "GET /_matrix/client/v1/media/download/kadse.xyz/WRuobPDJnDvIMmvxkQzzffWN HTTP/1.1" 404 86 "-" "Element X/1.7.2 (iPhone 12 Pro; iOS 17.5.1; Scale/3.00)"
212.53.0.0 - - [16/Aug/2024:20:21:50 +0000] "GET /_matrix/media/v3/download/kadse.xyz/WRuobPDJnDvIMmvxkQzzffWN?allow_redirect=true HTTP/2.0" 200 186305 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.74 Chrome/126.0.6478.185 Electron/31.3.1 Safari/537.36"
212.53.0.0 - - [16/Aug/2024:20:21:50 +0000] "GET /_matrix/client/v1/media/download/kadse.xyz/WRuobPDJnDvIMmvxkQzzffWN HTTP/1.1" 404 86 "-" "Element X/1.7.1 (Mac; macOS Version 14.6.1 (Build 23G93); Scale/2.00)"
212.53.0.0 - - [16/Aug/2024:20:21:50 +0000] "GET /_matrix/client/v1/media/download/kadse.xyz/WRuobPDJnDvIMmvxkQzzffWN HTTP/1.1" 404 86 "-" "Element X/1.7.2 (iPhone 12 Pro; iOS 17.5.1; Scale/3.00)"
212.53.0.0 - - [16/Aug/2024:20:21:50 +0000] "GET /_matrix/media/v3/download/kadse.xyz/aWBfchyvovlTGaBHXhtFrGce?allow_redirect=true HTTP/2.0" 200 1207831 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.74 Chrome/126.0.6478.185 Electron/31.3.1 Safari/537.36"
212.53.0.0 - - [16/Aug/2024:20:21:58 +0000] "GET /_matrix/client/v1/media/download/kadse.xyz/aWBfchyvovlTGaBHXhtFrGce HTTP/1.1" 404 86 "-" "Element X/1.7.2 (iPhone 12 Pro; iOS 17.5.1; Scale/3.00)"

Your phone model

iPhone 12 Pro

Operating system version

iOS 17.5.1

Application version

1.7.2 (118)

Homeserver

Synapse 1.95.1-1~bpo12+1

Will you send logs?

No

@pixlwave
Copy link
Member

Have you signed into the app within the last week? There was a bug where we were caching the server version from matrix.org and so the app would attempt to use the wrong API to download media. This is fixed in 1.7.3 for a new login (or should fix itself when the cache expires in 7 days on 1.7.2).

@pixlwave pixlwave added the X-Needs-Info This issue is blocked awaiting information from the reporter label Aug 19, 2024
@Velin92 Velin92 added X-Needs-Rust This issue needs a Rust SDK change. It must have a link to a Rust SDK issue S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Uncommon Most users are unlikely to come across this or unexpected workflow and removed S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Uncommon Most users are unlikely to come across this or unexpected workflow X-Needs-Rust This issue needs a Rust SDK change. It must have a link to a Rust SDK issue labels Aug 19, 2024
@maltejk
Copy link
Author

maltejk commented Aug 19, 2024

@pixlwave 👋 Yes, I did sign into the app on that day I opened the issue. After updating to 1.7.3, the issue is gone. Many thanks!

@maltejk maltejk closed this as completed Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

3 participants