status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

Community avatars and banners randomly stop displaying

Open qoqobolo opened this issue 1 year ago • 14 comments

Bug Report

Problem

Sometimes community avatars and banners randomly disappear. Sometimes it happed right after joining the community, sometimes after some time of using the app (while the user is online), sometimes after re-login.

Sometimes re-login helps the images to start displaying again, but then they disappear anyway in most cases. Reproducible for any community, including Status, etc

Expected behavior

Images do not disappear

Actual behavior

All these communities have an avatar and banner

https://github.com/user-attachments/assets/dfd62271-089c-47ed-a3d6-bc199630800c

Reproduction

No specific steps, just join a community and start using the app sometimes opening the Communities screen.

Additional Information

  • Status version: RC 2.30
  • Operating System: Android, iOS
  • Logs: Archive.zip

qoqobolo avatar Aug 08 '24 09:08 qoqobolo

Attaching debug logs here

logs (40).zip photo_2024-08-14 18 30 32

https://github.com/user-attachments/assets/8e6d7c90-cdbb-4b8d-b213-eb1b7e5bdff4

pavloburykh avatar Aug 14 '24 16:08 pavloburykh

I did not find errors in the log that could indicate a Waku issue. I did see however some invalid community description outdated clock which after looking in status-go how this err is generated, could end up ignoring any further change in the community description (including avatars/banners).

richard-ramos avatar Aug 14 '24 16:08 richard-ramos

@pavloburykh Could you please confirm if this issue is still relevant? It might have been addressed in #21052. (not sure)

Parveshdhull avatar Sep 08 '24 10:09 Parveshdhull

@pavloburykh Could you please confirm if this issue is still relevant? It might have been addressed in #21052. (not sure)

@Parveshdhull thank you! We will keep an eye in this and close the issue in case the bug won't come up again. cc @status-im/mobile-qa

pavloburykh avatar Sep 09 '24 10:09 pavloburykh

We will keep an eye in this and close the issue in case the bug won't come up again

FYI @pavloburykh @Parveshdhull I've seen this problem appear many times in iOS in 2.30. @benjthayer also recently reported this problem (https://discord.com/channels/1210237582470807632/1254827811873620068/1282786695309164545)

I don't have exact steps to reproduce, for me it's also kind of random, but sometimes happens more often.

ilmotta avatar Sep 09 '24 21:09 ilmotta

@pavloburykh Could you please confirm if this issue is still relevant? It might have been addressed in #21052. (not sure)

Hey @Parveshdhull! I have just reproduced the issue on my IOS in this PR. So I believe the issue is still in develop and thus relevant.

logs (46).zip photo_2024-09-16 15 03 27

https://github.com/user-attachments/assets/f208efbc-067d-44e7-9219-c9b4a8fbebb0

pavloburykh avatar Sep 16 '24 12:09 pavloburykh

I reproduced this issue on Friday too, but I forgot to add it here. I am just confirming that this issue is still reproducible

VolodLytvynenko avatar Sep 16 '24 13:09 VolodLytvynenko

logs (14).zip

1 community - no avatar

https://github.com/user-attachments/assets/7501c236-6524-41f7-acd2-8446539adff1

churik avatar Oct 01 '24 15:10 churik

Postponed for the next release due to time constraint and no steps to reproduce.

cc @ilmotta

churik avatar Oct 09 '24 09:10 churik

I don't think that we have a capacity for it in 2.32, given the desired release cut date. Deferring the issue, please be free to move it bak if you think there is a room for it @ilmotta

churik avatar Nov 26 '24 11:11 churik

It is still the case and it is pretty visible unfortunately, I suggest to prioritize this one for the next release @ilmotta

churik avatar Jan 27 '25 14:01 churik

Here’s an example where both the community avatar and a 1-1 chat avatar are missing. Whoever investigates this issue, please let us know whether we should create a separate ticket for the missing 1-1 chat avatar or if it shares the same root cause as the missing community avatar. cc @ilmotta

Status-debug-logs (9).zip

https://github.com/user-attachments/assets/a27eb0ff-dc00-48f1-ab06-ce04c9bc4cdd

pavloburykh avatar Mar 06 '25 12:03 pavloburykh

I think this issue could be picked up eventually by you @qfrank when you finish your current priorities or whenever is more appropriate for 2.34. Resolving the issue seems to involve a deeper understanding about why the code eventually stops pointing to the correct media server URL, which we suspect could be a the port number issue, although I wouldn't exclude a bug in the CLJS layer.

ilmotta avatar Mar 12 '25 21:03 ilmotta

I doubt I have enough time to investigate this issue this week, unassigned myself now and may pick it up next week

qfrank avatar Mar 25 '25 10:03 qfrank