-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bug: listGroups
fails in the latest Beta
#378
Comments
Have you tried this with a fresh wallet/database? Do you get the same issue? Creating groups with no other members is allowed. |
I have tried deleting the local db but the issue seems to be actually encoding the groups sent back from the network rather than any local data issue. Resetting the db & reconnecting refilled 7 groups in the database but when listing groups I can only ever see two in the debugger because the above code throws before listing the rest. I will try creating a fresh wallet and see if the same issue comes up
There is a guard against creating empty groups in the ios lib |
@peterferguson thanks for detailed issue report 🙏 . can you confirm you're testing latest beta RN SDK, should be version v1.32.5-beta.5. We had an issue with |
@cameronvoell Yep this is when using v1.32.5-beta.5. Is there more details on the fix that happened in |
This is no longer happening if I use newer accounts and do not invite the older accounts to groups. Seems I have somehow bricked some accounts & cannot use them to Will close this as it seems that it will not be an issue going forward |
Describe the bug
I am seeing failures in all methods that use
listGroups
, I cannot create groups or even list older ones.I was only getting
GenericError
s with no context as to what was actually going wrong. After a day or two of digging I have been able to surface the following errorGroup metadata: policy error invalid policy
from the libxmtpxmtpv3.swift
pod.I am not sure if it is related but it seems that I have somehow been able to create groups where I am the only user (i.e.
peerAddresses
is an empty array for several groups when debugging the following:)xmtp-react-native/ios/Wrappers/GroupWrapper.swift
Lines 12 to 30 in efdf49f
Although the error says that it is a libxmtp
GenericError
AFAICT the failure actually happens at the encoding. Which then leads to the loop over thistaskGroup
prematurely exiting.xmtp-react-native/ios/XMTPModule.swift
Lines 345 to 365 in efdf49f
Expected behavior
No response
Steps to reproduce the bug
No response
The text was updated successfully, but these errors were encountered: