Open Fmstrat opened 2 weeks ago
I tried leaving the @signalbot
room and re-inviting the bot to the Signal area, with a failure from mautrix/signal
:
|matrix-signal | 2024-11-08T15:34:36.911873892Z 2024-11-08T15:34:36.911Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=8467835
|matrix-signal | 2024-11-08T15:34:36.912060579Z 2024-11-08T15:34:36.911Z DBG Finished dispatching events from transaction transaction_id=8467835
|matrix-signal | 2024-11-08T15:36:29.402975126Z 2024-11-08T15:36:29.402Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=8467838
|matrix-signal | 2024-11-08T15:36:29.403167789Z 2024-11-08T15:36:29.402Z DBG Finished dispatching events from transaction transaction_id=8467838
|matrix-signal | 2024-11-08T15:36:44.920432805Z 2024-11-08T15:36:44.92Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=8467842
|matrix-signal | 2024-11-08T15:36:44.920608614Z 2024-11-08T15:36:44.92Z DBG Finished dispatching events from transaction transaction_id=8467842
|matrix-signal | 2024-11-08T15:36:53.804654664Z 2024-11-08T15:36:53.804Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=8467843
|matrix-signal | 2024-11-08T15:36:53.812941051Z 2024-11-08T15:36:53.812Z DBG Finished dispatching events from transaction transaction_id=8467843
|matrix-signal | 2024-11-08T15:37:15.288398626Z 2024-11-08T15:37:15.288Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=8467844
|matrix-signal | 2024-11-08T15:37:15.294566290Z 2024-11-08T15:37:15.294Z DBG Finished dispatching events from transaction transaction_id=8467844
|matrix-signal | 2024-11-08T15:37:15.378413855Z 2024-11-08T15:37:15.378Z DBG Request completed duration=75.777138 method=POST req_body={} req_id=8 response_length=51 response_mime=application/json status_code=200 url=http://matrix-synapse:8008/_matrix/client/v3/rooms/%21gUgTjdpGkoraKtFMEA:matrix.MYDOMAIN.com/join?user_id=%40signalbot%3Amatrix.MYDOMAIN.com
|matrix-signal | 2024-11-08T15:37:15.388958119Z 2024-11-08T15:37:15.388Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=8467845
|matrix-signal | 2024-11-08T15:37:15.391907863Z 2024-11-08T15:37:15.391Z DBG Finished dispatching events from transaction transaction_id=8467845
|matrix-signal | 2024-11-08T15:37:15.396041605Z 2024-11-08T15:37:15.395Z DBG Request completed duration=9.503251 method=GET req_id=9 response_length=-1 response_mime=application/json status_code=200 url=http://matrix-synapse:8008/_matrix/client/v3/rooms/%21gUgTjdpGkoraKtFMEA:matrix.MYDOMAIN.com/state?user_id=%40signalbot%3Amatrix.MYDOMAIN.com
|matrix-signal | 2024-11-08T15:37:15.407920621Z 2024-11-08T15:37:15.407Z DBG Accepted invite to room as bot
|matrix-signal | 2024-11-08T15:37:15.432824166Z 2024-11-08T15:37:15.432Z DBG Request completed duration=14.827016 method=PUT req_body={"body":"Hello, I'm a Signal bridge bot.\n\nUse `help` for help or `login` to log in.\n\nThis room has been marked as your management room.","format":"org.matrix.custom.html","formatted_body":"<p>Hello, I'm a Signal bridge bot.</p>\n<p>Use <code>help</code> for help or <code>login</code> to log in.</p>\n<p>This room has been marked as your management room.</p>","m.mentions":{},"msgtype":"m.text"} req_id=10 response_length=121 response_mime=application/json status_code=403 url=http://matrix-synapse:8008/_matrix/client/v3/rooms/%21gUgTjdpGkoraKtFMEA:matrix.MYDOMAIN.com/send/m.room.message/mautrix-go_1731080235417544312_3?user_id=%40signalbot%3Amatrix.MYDOMAIN.com
|matrix-signal | 2024-11-08T15:37:15.432894219Z 2024-11-08T15:37:15.432Z ERR Failed to send welcome message to room error="failed to PUT /_matrix/client/v3/rooms/!gUgTjdpGkoraKtFMEA:matrix.MYDOMAIN.com/send/m.room.message/mautrix-go_1731080235417544312_3: M_FORBIDDEN (HTTP 403): You don't have permission to post that to the room. user_level (0) < send_level (100)"
And if I try to join the @signalbot
room:
|matrix-synapse | 2024-11-08T15:40:04.671152677Z 2024-11-08 10:40:04,670 - synapse.access.http.8008 - 473 - INFO - PUT-883 - ::ffff:172.20.0.14 - 8008 - {@MYUSER:matrix.MYDOMAIN.com} Processed request: 0.010sec/0.000sec (0.001sec, 0.000sec) (0.001sec/0.007sec/3) 2B 200 "PUT /_matrix/client/v3/user/@MYUSER:matrix.MYDOMAIN.com/account_data/im.vector.setting.breadcrumbs HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" [0 dbevts]
|matrix-synapse | 2024-11-08T15:40:04.675095479Z 2024-11-08 10:40:04,674 - synapse.access.http.8008 - 473 - INFO - GET-877 - ::ffff:172.20.0.14 - 8008 - {@MYUSER:matrix.MYDOMAIN.com} Processed request: 22.488sec/0.000sec (0.003sec, 0.000sec) (0.001sec/0.002sec/4) 1146B 200 "GET /_matrix/client/v3/sync?filter=0&timeout=30000&set_presence=online&since=s189525_4985082_0_15679_20156_44_546_288_0_1 HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" [0 dbevts]
|matrix-synapse | 2024-11-08T15:40:04.691512035Z 2024-11-08 10:40:04,691 - synapse.handlers.message - 1461 - WARNING - POST-882 - Denying new event <FrozenEventV3 event_id=$PgupIFKGwm86byH9dtbKX3PhF-21-WC7aeBhITD1B2c, type=m.room.member, state_key=@MYUSER:matrix.MYDOMAIN.com, outlier=False> because 403: You are not invited to this room.
|matrix-synapse | 2024-11-08T15:40:04.693260289Z 2024-11-08 10:40:04,693 - synapse.http.server - 130 - INFO - POST-882 - <XForwardedForRequest at 0x7f544aeee1d0 method='POST' uri='/_matrix/client/v3/join/!vzbtDDVEAXqvgqTokU:matrix.MYDOMAIN.com' clientproto='HTTP/1.1' site='8008'> SynapseError: 403 - You are not invited to this room.
|matrix-synapse | 2024-11-08T15:40:04.693725973Z 2024-11-08 10:40:04,693 - synapse.access.http.8008 - 473 - INFO - POST-882 - ::ffff:172.20.0.14 - 8008 - {@MYUSER:matrix.MYDOMAIN.com} Processed request: 0.034sec/0.000sec (0.007sec, 0.000sec) (0.002sec/0.015sec/14) 69B 403 "POST /_matrix/client/v3/join/!vzbtDDVEAXqvgqTokU:matrix.MYDOMAIN.com HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" [0 dbevts]
For anyone else who runs into this, close the chat with @signalbot
, and DO NOT use the "recent" to re-open the chat. Instead, search for @signalbot
, choose "People", and select the result, this will create a new room with the same bot, but that seems to have done the trick.
One open issue is the instructions seemed off for me, as the instructions at https://docs.mau.fi/bridges/go/signal/authentication.html say to use login
, but it's actually !signal login
Will leave this open so that is seen, but this can be closed. Thanks!
Hi,
Everything was working great with
v0.4.3
andsignald
, but then after the upgrade things no longer work, and I can't get any response from@signalbot
to re-login.On startup, my logs:
This makes sense, as I was logged in through
signald
but not viamautrix/signal
. But if I do ahelp
,login
, orlogout
with@signalbot
now, I only get this in the logs:And there's no response from the bot at all.
My config: