Android: "An error occurred while processing notifications" instead of the message #41
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robocub/vommet#41
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream: commetchat/commet#610, commetchat/commet#810. Both are open with no assignee, no PR and no branch, as of 2026-10-05.
On Android, a push often produces an "An error occurred while processing notifications" alert with "Unable to fetch room event for notification" instead of the message. Upstream reporters say it affects most notifications after the phone has been idle for a while, and works while the phone is in use. Reported here by the operator too.
Where:
lib/service/background_service_notifications/background_service_task_notification2.darthandleMessage(). The background service opens aMatrixBackgroundClientbuilt from the access token stored in the database (matrix_background_client.dartinit()). It then callsgetOneRoomEvent5 times with 0–8 s backoff. If every attempt throws, the exception becomes a user-facing error notification. The cause is printed after the line break in that notification's text (or in Settings › Developer logs).Candidate causes (unconfirmed, need the exception text):
M_UNKNOWN_TOKEN/ 401 in the exception.SocketException/ClientException.Fix plan:
Also seen upstream (#810 comments): after opening the app, a burst of notifications for every message since the app was last opened. Possibly related; check while in here.