-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Connection to Google Messages stops working after couple of days (Matrix => Google Messages is working OK, receiving of SMS/MMS messages from Google Messages to Matrix isn't).
The logs show only these events:
Jul 24 08:51:49 matrix start[3380257]: 2023-07-24T08:51:49+03:00 ERR Failed to decode incoming RPC message error="string field contains invalid UTF-8" component=libgm user_id=@xxx:foo.bar
Jul 24 08:51:49 matrix start[3380257]: 2023-07-24T08:51:49+03:00 ERR Failed to decode incoming RPC message error="string field contains invalid UTF-8" component=libgm user_id=@xxx:foo.bar
Jul 24 08:51:49 matrix start[3380257]: 2023-07-24T08:51:49+03:00 DBG Skipped DataEvent action=16 component=libgm remaining_skip_count=298 user_id=@xxx:foo.bar
Jul 24 08:51:49 matrix start[3380257]: 2023-07-24T08:51:49+03:00 ERR Failed to decode incoming RPC message error="string field contains invalid UTF-8" component=libgm user_id=@xxx:foo.bar
Jul 24 08:51:49 matrix start[3380257]: 2023-07-24T08:51:49+03:00 DBG Skipped DataEvent action=16 component=libgm remaining_skip_count=297 user_id=@xxx:foo.bar
Jul 24 08:51:50 matrix start[3380257]: 2023-07-24T08:51:50+03:00 DBG Got is bugle default response on connect bugle_default=true component=libgm user_id=@xxx:foo.bar
Jul 24 08:51:54 matrix start[3380257]: 2023-07-24T08:51:54+03:00 DBG Sent acks component=libgm message_ids=["xxx","yyy","zzz","www"] user_id=@xxx:foo.bar
Jul 24 08:51:58 matrix start[3380257]: 2023-07-24T08:51:58+03:00 DBG Starting handling of transaction content={"pdu":0,"unstable_edu":3,"unstable_to_device":0} transaction_id=123
Jul 24 08:51:58 matrix start[3380257]: 2023-07-24T08:51:58+03:00 DBG Finished dispatching events from transaction transaction_id=123
Jul 24 08:51:58 matrix start[3380257]: 2023-07-24T08:51:58+03:00 DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=124
Jul 24 08:51:58 matrix start[3380257]: 2023-07-24T08:51:58+03:00 DBG Finished dispatching events from transaction transaction_id=124
The ping command returns:
Logged in as +xxx-yyy and active as primary browser
And disconnect + reconnects and set-active return this, but the connection is not really working (no messages are received from to Matrix from Google Messages running on my Android phone):
disconnect
Successfully disconnected. Use the reconnect command to reconnect.
reconnect
Started connecting to Google Messages
set-active
Set bridge as active session
Restarting of the bridge does not fix the issue either.
The only way I've found out to fix the situation, is logout from Google Messages and then login again (by using the QR code). After that all the missed SMS/MMS messages will be synchronized to Matrix.
Verified the issue with mautrix-gmessages pulled from Github on 2023-07-20 and 2023-07-24.