status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.91k stars 984 forks source link

Community join request remains Pending forever sometimes #20991

Open pavloburykh opened 3 months ago

pavloburykh commented 3 months ago

There are no clear steps to reproduce the bug. It just appears randomly

Steps:

  1. Send community join request from mobile
  2. Make sure Desktop control node is online
  3. See if community request is updated from Pending to Joined

Actual result: community stucks in Pending state. Cannot join community.

Desktop_control_node_geth.log.zip Mobile_community_joiner.zip photo_2024-08-08 18 15 18

Additional Information

ilmotta commented 3 months ago

This seems to be connected with https://github.com/status-im/status-mobile/issues/20928

ilmotta commented 3 months ago

@pavloburykh, only token-gated or just about any community?

churik commented 3 months ago

@ilmotta to my understanding, it is random.

In general message reliability is quite bad for some users (in QA @pavloburykh is affected)

It has been reported to waku, but our logs were not useful from the release builds (that was fixed in today build)

I'll report it again with re-newed info

UPD: reported here

pavloburykh commented 3 months ago

chore: improve postgres query performance waku-org/nwaku#2895

I have faced when testing token gated community with different permissions. It is hard to say if only TG communities are affected or not as bug appears randomly. Diana also faced this issue. @qoqobolo did you face issue in token gated community or non TG?

qoqobolo commented 3 months ago

@qoqobolo did you face issue in token gated community or non TG?

Yes, TG as well in my case

Ivansete-status commented 3 months ago

@pavloburykh - a new version with a fix candidate has been deployed in status.prod. Kindly check whether the issue is sorted out. Thanks!

pavloburykh commented 3 months ago

@pavloburykh - a new version with a fix candidate has been deployed in status.prod. Kindly check whether the issue is sorted out. Thanks!

Thank you @Ivansete-status! The issue was not easy to reproduce. We will keep an eye on it, in case we will not face it for a while I will close this ticket.

chair28980 commented 3 months ago

I can confirm that a pending request older than 1 week (that was denied by Zuzalu 😢) has successfully cleared and I received a notification for the denial.

ilmotta commented 3 months ago

@chair28980, the 1 week window was expected. Sorry to see you having trouble. There's a rule hardcoded that pending requests to join will expire/timeout after exactly 7 days.

Using the newest release build, perhaps you could try to request this community again? Assuming you hit some kind of edge case (or maybe some fix landed on the release branch), requesting again may work this time around.