signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.83k stars 3.04k forks source link

Group joins inconsistent #5857

Open schichtnudelauflauf opened 2 months ago

schichtnudelauflauf commented 2 months ago

Bug description

Describe here the issue that you are experiencing.

Group join inconsistent. Someone on Android (auto update on) created a group. Someone joined from Ios, fresh number, fresh install by link. We see the join but no messages from that contact. Rejoining does not matter. When I create a group from Android and add the others, it works fine for the contact that is buggy in the other group.

Steps to reproduce

No idea yet. We haven't yet discerned what makes the difference for group creation from that specific install.

Actual result:

We can't see msgs from that one person if the group is created by another specific person.

New Info: There is a unicode kanji in the description of the problematic group.

Expected result:

Group stuff working the same on all peers.

Screenshots

Nope.

But I got logs.

Device info

Device: Iphone 15

iOS version: 18.0

Signal version: 7.24

Excerpt of debug log

-->

There is more but I can't properly wrangle this stuff on mobile. This is the persistent symptom at least. It is only in the logs of the joining Ios client whose messages can't be seen by the others. Will post more when better interface.

🧡 [OWSUrlSession.swift:638 downloadTaskPromise(requestUrl:progress:taskBlock:)]: responseTooLarge

🧡 [CDNDownloadOperation.swift:73 tryToDownload(urlPath:maxDownloadSize:)]: Download failed: responseTooLarge

❤️ [GroupsV2AvatarDownloadOperation.swift:45 didFail(error:)]: Download exhausted retries: responseTooLarge

❤️ [GroupV2UpdatesImpl.swift:531 refreshGroupFromService(groupSecretParams:groupUpdateMode:groupModelOptions:spamReportingMetadata:)]: Error: responseTooLarge

❤️ [GroupV2UpdatesImpl.swift:432 _run()]: Group update failed: responseTooLarge

❤️ [GroupV2UpdatesImpl.swift:462 didFail(error:)]: failed with error: responseTooLarge

❤️ [GroupsV2MessageProcessor.swift:837 tryToUpdateUsingService(jobInfo:)]: Error: responseTooLarge

🧡 [GroupsV2MessageProcessor.swift:656 updateGroupAndProcessJob(jobInfo:completion:)]: Discarding unprocess-able message: shouldDiscard

❤️ [APNSRotationStore.swift:30 didReceiveAPNSPush(transaction:)]: Got a push without a push token; not marking any token as working.

🧡 [OWSUrlSession.swift:638 downloadTaskPromise(requestUrl:progress:taskBlock:)]: responseTooLarge

🧡 [CDNDownloadOperation.swift:73 tryToDownload(urlPath:maxDownloadSize:)]: Download failed: responseTooLarge

❤️ [GroupsV2AvatarDownloadOperation.swift:45 didFail(error:)]: Download exhausted retries: responseTooLarge

❤️ [GroupV2UpdatesImpl.swift:531 refreshGroupFromService(groupSecretParams:groupUpdateMode:groupModelOptions:spamReportingMetadata:)]: Error: responseTooLarge

❤️ [GroupV2UpdatesImpl.swift:432 _run()]: Group update failed: responseTooLarge

❤️ [GroupV2UpdatesImpl.swift:462 didFail(error:)]: failed with error: responseTooLarge

❤️ [GroupsV2MessageProcessor.swift:837 tryToUpdateUsingService(jobInfo:)]: Error: responseTooLarge

🧡 [GroupsV2MessageProcessor.swift:656 updateGroupAndProcessJob(jobInfo:completion:)]: Discarding unprocess-able message: shouldDiscard

schichtnudelauflauf commented 2 months ago

Removing the kanji from description and rejoining fixed it.

This one: https://en.m.wiktionary.org/wiki/%E4%BA%82

schichtnudelauflauf commented 2 months ago

Posting the character as message or hebrew characters in messages doesn't break stuff.