Closed Surferlul closed 1 month ago
As a sanity check, I tried it without the DNS that drops requests for ipv4 addresses. This time it got to the qr and had an error after I scanned it. The fact that it got further is not an indication that the DNS is a problem, since it would sometimes get further with the DNS enabled (and sometimes successfully log in).
Behavior: after scanning the qr code it takes some time, then it gives the following error:
Login failed: failed to WebSocket dial: failed to send handshake request: Get "https://chat.signal.org/v1/websocket/": read tcp [MAUTRIX:SIGNAL:IPV6]:36768->[2600:9000:a61f:527c:d5eb:a431:5239:3232]:443: read: connection reset by peer
debug logs:
mautrix-signal | 2024-10-16T16:01:58.063Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=191585
mautrix-signal | 2024-10-16T16:01:58.064Z DBG Finished dispatching events from transaction transaction_id=191585
mautrix-signal | 2024-10-16T16:02:00.723Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=191586
mautrix-signal | 2024-10-16T16:02:00.724Z DBG Finished dispatching events from transaction transaction_id=191586
mautrix-signal | 2024-10-16T16:02:00.975Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=191587
mautrix-signal | 2024-10-16T16:02:00.975Z DBG Finished dispatching events from transaction transaction_id=191587
mautrix-signal | 2024-10-16T16:02:00.976Z DBG Decrypting received event event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw
mautrix-signal | 2024-10-16T16:02:00.988Z DBG Upserting megolm inbound group session account_id= action="decrypt megolm event" event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U is_scheduled=false key_backup_version= max_age=604800000 max_messages=100 received_at=2024-10-16T14:20:42.123677Z room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com sender=@my-username:my-domain.com sender_key=NgPGkpxlzB9U7RYUMThS/K6uqygMOZSTYABCWQbgL2Y session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw signing_key=K/SO+B9aRgdjjLyHCPHh4L67HeZeyqOo5wxXmZiwkME
mautrix-signal | 2024-10-16T16:02:00.991Z DBG Ratchet safety data changed (ratchet state didn't change) action="decrypt megolm event" event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U lost_indices=[] max_messages=100 missed_indices=[0,1,2,3,4,5,6,7,8] new_ratchet_index=0 next_new_index=10 prev_ratchet_index=0 sender=@my-username:my-domain.com sender_key=NgPGkpxlzB9U7RYUMThS/K6uqygMOZSTYABCWQbgL2Y session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw
mautrix-signal | 2024-10-16T16:02:01.031Z DBG Request completed action="decrypt megolm event" duration=27.871025 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=POST req_body={"device_keys":{"@signalbot:my-domain.com":[]}} req_id=13 response_length=620 response_mime=application/json sender=@my-username:my-domain.com sender_key=NgPGkpxlzB9U7RYUMThS/K6uqygMOZSTYABCWQbgL2Y session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/keys/query?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:01.032Z DBG Event decrypted successfully action="decrypt megolm event" decrypted_event_type="m.room.message (message)" event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U message_index=9 sender=@my-username:my-domain.com sender_key=NgPGkpxlzB9U7RYUMThS/K6uqygMOZSTYABCWQbgL2Y session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw
mautrix-signal | 2024-10-16T16:02:01.04Z DBG Received command event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U mx_command=login session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw
mautrix-signal | 2024-10-16T16:02:01.448Z TRC Encrypting event... event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message expected_index=19 mx_command=login room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com session_id=fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E state_key=null
mautrix-signal | 2024-10-16T16:02:01.448Z DBG Encrypted event successfully event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message expected_index=19 message_index=19 mx_command=login room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com session_id=fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E state_key=null
mautrix-signal | 2024-10-16T16:02:01.608Z DBG Request completed duration=148.397199 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=PUT mx_command=login req_body={"algorithm":"m.megolm.v1.aes-sha2","ciphertext":"AwgTEsABcr+YequBI+BghTiuf0t4KKuT9elaV086SrUCDWt8b580HsidIVqN9qwxSZzvTk4cmpCwZBv7rx19jtoh7HlUcR5mhFfp0psfsl9U/zjdoBd/q9m0i6O5ISbKRqLM/IllEuvUaD5v/MeYkHFlhXjY2xSUzC/M+iYnpt8iQYnSNRGBv/GhAofoGcU3JjhPATimWHK8em6+DCLI3Dr/3zPVBjDYjERuuoupjRn0zxU+3i1qW8BD1nxY5HjSHUjKFLC6J9fsbcmLneJ0rGR1ZzoEmKKe3U3X/q2lrXNuqVXlfVojPacrS3F6wOhpErVIFTpFP+VQP9znrz5lDvi8VFtCixP9ddfWzO0D","device_id":"TKTSMTWJEQ","sender_key":"/8X8lCBcEfbkCfupduV1/gP+BFhjLHvOYxBIIlfCbkE","session_id":"fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E"} req_id=14 response_length=59 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/rooms/%21CJRjUpCmgPTVSZiPwv:my-domain.com/send/m.room.encrypted/mautrix-go_1729094521459125782_2?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:01.657Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=191590
mautrix-signal | 2024-10-16T16:02:01.657Z DBG Finished dispatching events from transaction transaction_id=191590
mautrix-signal | 2024-10-16T16:02:01.674Z DBG Request completed duration=41.892364 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=POST mx_command=login req_body={} req_id=15 response_length=97 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/media/v1/create?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:01.68Z TRC Encrypting event... event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message expected_index=20 mx_command=login room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com session_id=fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E state_key=null
mautrix-signal | 2024-10-16T16:02:01.681Z DBG Encrypted event successfully event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message expected_index=20 message_index=20 mx_command=login room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com session_id=fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E state_key=null
mautrix-signal | 2024-10-16T16:02:01.716Z DBG Request completed duration=40.910452 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=PUT mx_command=login req_body="<1038 bytes>" req_id=16 response_length=2 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/media/v3/upload/my-domain.com/nybpkGQwDbIjyOEAUqyhmvyT?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:01.884Z DBG Request completed duration=197.016773 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=PUT mx_command=login req_body={"algorithm":"m.megolm.v1.aes-sha2","ciphertext":"AwgUEpAGTqSQaxNTJj7Nr0IwRx7Y8PB15CJOvkWtYsxwMeQt/1L5Z48quIVzm2YVrvmjbW2KSIvsRato8aNExrE5QVk7XGOHekwj8sb01d44N06CEoaia0DfPe9YosAPDvFQzBbPfm4/rSt+nxlL6nqpNZ534uZ43XM9aITqZR5K2+34K2prbCyEsY2sUyae9s35NEFZJuC08NLGs0bsPrjZL4KaCAGTIuGBl3VNlhMDwoTm0OBIKlemFPAatzSwnlr+J4+BPVLHbFiZ4w/tKQ6OA6EVbS2pT9pKOR7Ur+khoh6qY3Qzaorynz+8LsvO4JFUznCqs+PThQ64ELHHL8eKpe/SrkBHeLD/UCdn4PPOeRa5DHDzJCbh9J1QERwHTQjZpLPWdul1F3LDInw9DWNCcyI7UQFc1eNF/xeMj5OD6dVDy4AXhcpI4l4aNLmCtQ0dLRHMtCVwyK+RIUlVKYM0skfWTs1OZR/sEX4+yr/wvSDSXHf/T1+Reyvy7xaicx8MwGv4/cUbYLAVcMeukLgyAvRDfELLQbjRc8gY40G06Rb/WzPhgYCeQgsJztBDWp/R2bjkkmNTkGB/jCfAtK7Wuf80BaADbiNshHSp7HRkEM/xI9EJ2VxjItXmv2KzeQE0kdRcoW4Fh801rui39IENd/1nJa7H/SRABC24xcETESxX0fcNh86/SGsqnfDxaSTjZezcDuSvUWR6CT7DxayTUC75lpE/gGTfhRx1G7umgm/kMcpqGnYVyC6qxZHpSNtjgyWYHvTWfUWaX9z/OmvZT9w0xreRErcy1CccASY6/BAahBZmkPhRaE6tLen9izSc6HcfMV1klF3qDhSxe+t81BNBFOeKczJx+XTvmLbVZ+EBbT3uRFlZkIghqIqImXGL3TiOE7DFH+ZjLZ97DCSj5XaT+hoqubELCvHlvL9Hp8ucYyjuWojqauu53ljQB8gFosX8D66qgLmPeEDiTAkuQHQ060fDWzvahyzV3x6OlMq9RUGvJWQ1vIgoZyMQikjOJ/28hZ1bJstAXegpXTsv2JU6BXaO/dBzs/W0uCL3AlhIv+vRmBqFe/BFi6QmlRevaBXjUnflKRW0z3xMpcAYNVm4TgvGeLvlCUFo5tBfmP62M+HI/r4S/P/bAQ","device_id":"TKTSMTWJEQ","sender_key":"/8X8lCBcEfbkCfupduV1/gP+BFhjLHvOYxBIIlfCbkE","session_id":"fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E"} req_id=17 response_length=59 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/rooms/%21CJRjUpCmgPTVSZiPwv:my-domain.com/send/m.room.encrypted/mautrix-go_1729094521686180940_3?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:01.962Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=191592
mautrix-signal | 2024-10-16T16:02:01.963Z DBG Finished dispatching events from transaction transaction_id=191592
mautrix-signal | 2024-10-16T16:02:02.432Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=191593
mautrix-signal | 2024-10-16T16:02:02.432Z DBG Finished dispatching events from transaction transaction_id=191593
mautrix-signal | 2024-10-16T16:02:08.6Z DBG Request completed as_user_id=@signalbot:my-domain.com duration=30009.103363 method=GET req_id=11 response_length=213 response_mime=application/json status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/sync?filter=0&since=s86457_132957_3088_84011_29052_12_19808_903_0_4&timeout=30000&user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:08.606Z TRC Starting sync response handling component=crypto since=s86457_132957_3088_84011_29052_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:02:08.606Z TRC Successfully handled sync response component=crypto since=s86457_132957_3088_84011_29052_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:02:30.977Z WRN Handling event in appservice transaction channel is taking long event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.encrypted
mautrix-signal | 2024-10-16T16:02:31.033Z WRN Handling event in appservice transaction channel is taking long event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message
mautrix-signal | 2024-10-16T16:02:38.624Z DBG Request completed as_user_id=@signalbot:my-domain.com duration=30016.802146 method=GET req_id=18 response_length=213 response_mime=application/json status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/sync?filter=0&since=s86460_132957_3090_84012_29054_12_19808_903_0_4&timeout=30000&user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:02:38.627Z TRC Starting sync response handling component=crypto since=s86460_132957_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:02:38.628Z TRC Successfully handled sync response component=crypto since=s86460_132957_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:03:03.155Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":6,"unstable_to_device":0} transaction_id=191596
mautrix-signal | 2024-10-16T16:03:03.156Z DBG Finished dispatching events from transaction transaction_id=191596
mautrix-signal | 2024-10-16T16:03:03.274Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=191600
mautrix-signal | 2024-10-16T16:03:03.275Z DBG Finished dispatching events from transaction transaction_id=191600
mautrix-signal | 2024-10-16T16:03:08.641Z DBG Request completed as_user_id=@signalbot:my-domain.com duration=30012.794646 method=GET req_id=19 response_length=213 response_mime=application/json status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/sync?filter=0&since=s86460_132957_3090_84012_29054_12_19808_903_0_4&timeout=30000&user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:03:08.645Z TRC Starting sync response handling component=crypto since=s86460_132957_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:03:08.646Z TRC Successfully handled sync response component=crypto since=s86460_132957_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:03:38.66Z DBG Request completed as_user_id=@signalbot:my-domain.com duration=30013.965692 method=GET req_id=20 response_length=213 response_mime=application/json status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/sync?filter=0&since=s86460_132965_3090_84012_29054_12_19808_903_0_4&timeout=30000&user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:03:38.665Z TRC Starting sync response handling component=crypto since=s86460_132965_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:03:38.666Z TRC Successfully handled sync response component=crypto since=s86460_132965_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:04:08.679Z DBG Request completed as_user_id=@signalbot:my-domain.com duration=30012.407246 method=GET req_id=21 response_length=213 response_mime=application/json status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/sync?filter=0&since=s86460_132965_3090_84012_29054_12_19808_903_0_4&timeout=30000&user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:04:08.683Z TRC Starting sync response handling component=crypto since=s86460_132965_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:04:08.684Z TRC Successfully handled sync response component=crypto since=s86460_132965_3090_84012_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:04:38.696Z DBG Request completed as_user_id=@signalbot:my-domain.com duration=30011.58234 method=GET req_id=22 response_length=213 response_mime=application/json status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/sync?filter=0&since=s86461_132973_3092_84013_29054_12_19808_903_0_4&timeout=30000&user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:04:38.7Z TRC Starting sync response handling component=crypto since=s86461_132973_3092_84013_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:04:38.701Z TRC Successfully handled sync response component=crypto since=s86461_132973_3092_84013_29054_12_19808_903_0_4
mautrix-signal | 2024-10-16T16:04:38.764Z ERR error opening websocket error="failed to WebSocket dial: failed to send handshake request: Get \"https://chat.signal.org/v1/websocket/\": read tcp [MAUTRIX:SIGNAL:IPV6]:36768->[2600:9000:a61f:527c:d5eb:a431:5239:3232]:443: read: connection reset by peer" action="confirm device" resp=null user_id=@my-username:my-domain.com
mautrix-signal | 2024-10-16T16:04:38.764Z ERR confirmDevice error error="failed to WebSocket dial: failed to send handshake request: Get \"https://chat.signal.org/v1/websocket/\": read tcp [MAUTRIX:SIGNAL:IPV6]:36768->[2600:9000:a61f:527c:d5eb:a431:5239:3232]:443: read: connection reset by peer" action="perform provisioning" user_id=@my-username:my-domain.com
mautrix-signal | 2024-10-16T16:04:38.958Z DBG Request completed duration=189.772738 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=PUT mx_command=login req_body={} req_id=24 response_length=59 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/rooms/%21CJRjUpCmgPTVSZiPwv:my-domain.com/redact/$TLjkLlV62bvJJiPcKs-E001s3HifyMwwTQo6NDSMbPg/mautrix-go_1729094678767964522_4?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:04:38.965Z TRC Encrypting event... event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message expected_index=21 mx_command=login room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com session_id=fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E state_key=null
mautrix-signal | 2024-10-16T16:04:38.966Z DBG Encrypted event successfully event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U event_type=m.room.message expected_index=21 message_index=21 mx_command=login room_id=!CJRjUpCmgPTVSZiPwv:my-domain.com session_id=fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E state_key=null
mautrix-signal | 2024-10-16T16:04:39.051Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=191610
mautrix-signal | 2024-10-16T16:04:39.052Z DBG Finished dispatching events from transaction transaction_id=191610
mautrix-signal | 2024-10-16T16:04:39.226Z DBG Request completed duration=254.216607 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=PUT mx_command=login req_body={"algorithm":"m.megolm.v1.aes-sha2","ciphertext":"AwgVErAFhbGel2ms2jKxiOVPfVwlBQrcEELN6ulAD5xvAqz+LwchzkZ9wVFFMY3K9NfMLFNgA5o6JY6JesM4P/F/FbsuFPi1XfUq0KtC0Mu4S+Psu+vLTzrVJbIJmUEVmwOrh9VfiyrKzLyPBXejzBkCwr3PRwcZu0z81TVslAsJ1M9n1FQQQCz11qw/dTDk57suP9l5HJs+uB+vD/BEiDnFk/Pl4+YL4TQOCQLFS74GzjP3v+J2GYjxxcr+ck6ZGueRgwMkbYUyvcaw+Go1p85IrV8dBUOL8UZMJ+T13apDC+34rP2NGYnZ4jvODCmTP8uqV60XHa5b1BIQ1YcHrXc8JLUviYflL0+nD7+gI6iIv26Ex9ptuhqgJKrLHuh0/aeGRG+FNU7VeXs4TYdDfRlbdZsQpbYuD2CklttgAZ6+GQIaJwmrOdsL4HRYs+AUlLM0yInduPpCgg82RyisD3FiE+fVh+DQJBXYeXhASAibboAMQ2nCjV7FZ2AExK6CBZkL9I15LyTrac3wpJ+Pe9/HzUFK3SL0wFkxaVowGyYkSMeAw4P7KtKedg8kYrpqbjCSs3f6SNcCnbrE4NycttdO/3IQ/Aa5BgcHZpkpwZpGgV8omn6hP6dglzhoOq1RUlK0w5kcza8IYr/IkAClgw7GrYxFMKjGP0Xv1oMxK7n2+l00IX4+L/PjtvsYdfPb1v4Mx9ibB7KW19JSV+V6kfkPbQguWkIZNjoC3qFNQv+3Vo1dA3d5aQdlsk14We94TNu1U7OwJ7Tzb434+tyY2SiyMYx+nYB7rGojl0R3SDsZ5fwXPZ6BYsDxrXGkF/hT17bkc8nxaK4QJMx8gVFxa2a1oJBxn/zMbYRmoY9nsxjNNShgJRenTJ/ES8wdlXdN7zNJYkhrm+SbJV+JWqlIpeJ7vWCTdAzT3QialkuNrsmTTW8T8fayGy6FucbqPhSaKrlsb80j6KN2m3S7znPcUfqLDZ8679pTpWl16Gz4wgprZ2AiDS3kJyKY7CCCDg","device_id":"TKTSMTWJEQ","sender_key":"/8X8lCBcEfbkCfupduV1/gP+BFhjLHvOYxBIIlfCbkE","session_id":"fHrWVnFeGSnYoyL9aSFAnmj0dBiZYCPVUpMVCHmF/5E"} req_id=25 response_length=59 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/rooms/%21CJRjUpCmgPTVSZiPwv:my-domain.com/send/m.room.encrypted/mautrix-go_1729094678971458235_5?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:04:39.26Z DBG Starting handling of transaction content={"pdu":1,"unstable_edu":0,"unstable_to_device":0} transaction_id=191611
mautrix-signal | 2024-10-16T16:04:39.26Z DBG Finished dispatching events from transaction transaction_id=191611
mautrix-signal | 2024-10-16T16:04:39.303Z DBG Request completed duration=75.491106 event_id=$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U method=POST mx_command=login req_body={} req_id=26 response_length=2 response_mime=application/json session_id=0fSQaU9nkabaqTaOE2J5JCHdT6xsCkZ6t3IVXIwtuBw status_code=200 url=http://[SYNAPSE:IPV6]:8008/_matrix/client/v3/rooms/%21CJRjUpCmgPTVSZiPwv:my-domain.com/receipt/m.read/$ajrFiJNM9iXsu6DRRnn0Xodi_rvUSIidwkFRe1bef-U?user_id=%40signalbot%3Amy-domain.com
mautrix-signal | 2024-10-16T16:04:39.355Z DBG Starting handling of transaction content={"pdu":0,"unstable_edu":1,"unstable_to_device":0} transaction_id=191613
mautrix-signal | 2024-10-16T16:04:39.356Z DBG Finished dispatching events from transaction transaction_id=191613
Unless this is pure luck and the mautrix-signal stops working again, this seems to have been an issue with the docker network mtu. I added this to the network configuration and now it seems to work:
networks:
my-network:
...
driver_opts:
com.docker.network.driver.mtu: 1300
I matched the mtu to the network interface with the lowest mtu on my system.
Unless I encounter the problems again, I will close this issue
Login is Inconsistent at best, failing to log in most of the time. I'm running mautrix-signal in docker (v0.7.1, upgraded to v0.7.2 but it didn't fix the issue) I'm running synapse in docker I'm running an ipv6 only server. The connection from synapse to the bridge is ipv4 because python-hyperlink ipv6 support is broken Sometimes it works semi-consistently
The error the signal bot gives me:
from inside the mautrix-signal container i can consistently ping chat.signal.org with
ping -6 chat.signal.org
,ping chat.signal.org
gives me the error "bad address" because i sent an NXDOMAIN responseSometimes I also get the error
Sometimes the qr code generates, but after scanning it failes to log in
All of these errors take time, e.g. I wait 1-5min and then it gives the error (i did not measure the time)
creating a container on a new database with different double puppeting seems to somewhat fix the errors. I haven't tested it over a longer period of time, only a few logins though, so it might also have been luck.
At some point, because of these errors and the observation that a new instance seemed to work better, I completely reset the database, the bridge data and the puppets and the data synapse stored about the puppets. This did not fix the issue. It worked a bit better, but still inconsistently.
Mautrix-signal is behind coredns which dropps all "A" dns requests. I already got the error before it was behind this dns though.
When the login works, every step is instant (generating the qr code, login in after scanning etc.). The long wait times only come up in the step that it fails at
other mautrix-bridges like mautrix-whatsapp, mautrix-telegram and mautrix-gmessages seem to work without an issue
debug logs (starting at my message, ending at the message from the signal bot
bridge config