Skip to content

Metabot is not reading messages after the first message #148

@GeneralZero

Description

@GeneralZero

I am able to connect with the bridge bot, send an initial help message and I get an response but after that the bot fails to read any messages. The read receipt is not updating for the bot user. My other bots are working including instagram, but cant seem to get the facebook/meta one to work.

2025-08-01T02:20:52.765Z DBG Accepted invite to room as bot
2025-08-01T02:20:52.767Z DBG Got error while encrypting event for room, sharing group session and trying again... error="no group session created" component=crypto room_id=!RPmQfUstbxgAiTCpoC:exampleserver.org
...
2025-08-01T02:40:48.105Z DBG Request completed as_user_id=@metabot:exampleserver.org duration=30005.238864 method=GET req_id=122 response_length=210 response_mime=application/json status_code=200 url=http://matrix-synapse:8008/_matrix/client/v3/sync?filter=0&since=s30857_20421728_12_16882_5452_1_2780_277_0_7&timeout=30000&user_id=%40metabot%3Aexampleserver.org
2025-08-01T02:40:49.788Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=146347
2025-08-01T02:40:49.788Z DBG Finished dispatching events from transaction transaction_id=146347
2025-08-01T02:40:49.81Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":8,"unstable_to_device":0} transaction_id=146348
2025-08-01T02:40:49.81Z DBG Finished dispatching events from transaction transaction_id=146348
2025-08-01T02:40:54.337Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=146353
2025-08-01T02:40:54.337Z DBG Finished dispatching events from transaction transaction_id=146353
2025-08-01T02:40:54.438Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=146354
2025-08-01T02:40:54.438Z DBG Finished dispatching events from transaction transaction_id=146354
2025-08-01T02:40:54.438Z DBG Decrypting received event event_id=$SsHydU0L_PccOPH61qS8KHGIS1c9yR3RFnm_WP_PRtk session_id=KGyfZXAYP7CxHRQ7WjjFCO7PeQLLAAStU9f/2BJnrGU
2025-08-01T02:40:54.441Z DBG Upserting megolm inbound group session account_id= action="decrypt megolm event" event_id=$SsHydU0L_PccOPH61qS8KHGIS1c9yR3RFnm_WP_PRtk is_scheduled=false key_backup_version= max_age=604800000 max_messages=100 received_at=2025-08-01T02:27:47.820723Z room_id=!RPmQfUstbxgAiTCpoC:exampleserver.org sender=@generalzero:exampleserver.org sender_key=QJnIGWnEhf6qMDg5+ala6vnLoiPKF6+jUra8gUel8h8 session_id=KGyfZXAYP7CxHRQ7WjjFCO7PeQLLAAStU9f/2BJnrGU signing_key=bD/kWtG5Sty3L8PQG195tRhsypYyp4XisoqYKVNR68Y
2025-08-01T02:40:54.443Z DBG Ratchet safety data changed (ratchet state didn't change) action="decrypt megolm event" event_id=$SsHydU0L_PccOPH61qS8KHGIS1c9yR3RFnm_WP_PRtk lost_indices=[] max_messages=100 missed_indices=[0,1,2] new_ratchet_index=0 next_new_index=4 prev_ratchet_index=1 sender=@generalzero:exampleserver.org sender_key=QJnIGWnEhf6qMDg5+ala6vnLoiPKF6+jUra8gUel8h8 session_id=KGyfZXAYP7CxHRQ7WjjFCO7PeQLLAAStU9f/2BJnrGU
2025-08-01T02:40:54.445Z DBG Event decrypted successfully action="decrypt megolm event" decrypted_event_type="m.room.message (message)" event_id=$SsHydU0L_PccOPH61qS8KHGIS1c9yR3RFnm_WP_PRtk message_index=3 sender=@generalzero:exampleserver.org sender_key=QJnIGWnEhf6qMDg5+ala6vnLoiPKF6+jUra8gUel8h8 session_id=KGyfZXAYP7CxHRQ7WjjFCO7PeQLLAAStU9f/2BJnrGU
2025-08-01T02:41:05.035Z DBG <iq id="137.186-54" to="s.whatsapp.net" type="get" xmlns="w:p"/> component=whatsmeow login_id=104578417609732 sublogger=Send user_mxid=@generalzero:exampleserver.org
2025-08-01T02:41:05.116Z DBG <iq from="s.whatsapp.net" id="137.186-54" t="1754016065" type="result"/> component=whatsmeow login_id=104578417609732 sublogger=Recv user_mxid=@generalzero:exampleserver.org
2025-08-01T02:41:18.116Z DBG Request completed as_user_id=@metabot:exampleserver.org duration=30006.034802 method=GET req_id=123 response_length=210 response_mime=application/json status_code=200 url=http://matrix-synapse:8008/_matrix/client/v3/sync?filter=0&since=s30857_20421728_12_16882_5452_1_2780_277_0_7&timeout=30000&user_id=%40metabot%3Aexampleserver.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions