Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Not receiving reactions #60

Open
jniclas opened this issue Oct 16, 2022 · 1 comment
Open

Not receiving reactions #60

jniclas opened this issue Oct 16, 2022 · 1 comment

Comments

@jniclas
Copy link

jniclas commented Oct 16, 2022

Hey,

I have an interesting issue: textsecure is receiving messages from all contacts normally, but for one contact it can't receive reactions. The log I get is:

go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] Sending envelope"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] HandleEnvelope send"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] incoming ws send message"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] websocket sending message"
go_1          | time="2022/10/16 05:44:25" level=info msg="[crayfish] Handle sealed sender decrypt message\n"
go_1          | time="2022/10/16 05:44:25" level=info msg="[crayfish] decrypt_sealed_message\n"
go_1          | time="2022/10/16 05:44:25" level=info msg="[crayfish] opening storage at location Some(\"/root/.local/share/textsecure.nanuc\")\nStorage::open\n"
go_1          | time="2022/10/16 05:44:25" level=info msg="[crayfish] load_file_sync \"/root/.local/share/textsecure.nanuc/.storage/identity/regid\"\nOpening unencrypted file \"/root/.local/share/textsecure.nanuc/.storage/identity/regid\"\n"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] incoming msg"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] Received websocket response message 3"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] websocket sending ack response "
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] incoming ws send message"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] websocket sending message"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] HandleEnvelope recieved an response"
go_1          | time="2022/10/16 05:44:25" level=info msg="[textsecure] handleReceivedMessage: +00 "
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure] handleMessage"
go_1          | time="2022/10/16 05:44:25" level=error msg="[textsecure] Unknown message content received "
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure] Websocket sending message"
go_1          | time="2022/10/16 05:44:25" level=debug msg="[textsecure-crayfish-ws] incoming msg"
go_1          | time="2022/10/16 05:44:25" level=error msg="[textsecure-crayfish-ws] Websocket message type is nil {\"error\":\"missing field `request` at line 1 column 58\"}"

Due to the fact that the line [textsecure] handleReceivedMessage: +00 can't even print the phonenumber, I guess something with decrypting the envelope is broken. This log appears in the switch case signalservice.Envelope_UNIDENTIFIED_SENDER in the method handleReceivedMessage(env *signalservice.Envelope) error in textsecure.go.

Can I reset something with the contact? To execute EndSession(uuid string, msg string) (uint64, error) did not help 😞

And at the same time, receiving messages from this contact works great. And sending reactions from this contact to other contacts works also.

@jniclas
Copy link
Author

jniclas commented Oct 16, 2022

After updating textsecure to v1.16.0 the log changed to:

go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure] Incoming UnidentifiedSenderMessage yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy.\n"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] Sending envelope"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] HandleEnvelope send"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] incoming ws send message"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] websocket sending message"
go_1          | time="2022/10/16 06:33:14" level=info msg="[crayfish] Handle sealed sender decrypt message\n"
go_1          | time="2022/10/16 06:33:14" level=info msg="[crayfish] decrypt_sealed_message\n"
go_1          | time="2022/10/16 06:33:14" level=info msg="[crayfish] opening storage at location Some(\"/root/.local/share/textsecure.nanuc\")\nStorage::open\n"
go_1          | time="2022/10/16 06:33:14" level=info msg="[crayfish] load_file_sync \"/root/.local/share/textsecure.nanuc/.storage/identity/regid\"\n"
go_1          | time="2022/10/16 06:33:14" level=info msg="[crayfish] Opening unencrypted file \"/root/.local/share/textsecure.nanuc/.storage/identity/regid\"\n"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] incoming msg"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] Received websocket response message 3"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure-crayfish-ws] HandleEnvelope recieved an response"
go_1          | time="2022/10/16 06:33:14" level=info msg="[textsecure] handleReceivedMessage: "
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure] handleReceivedMessage content length:  0"
go_1          | time="2022/10/16 06:33:14" level=debug msg="[textsecure] Failed to handle received message: type:UNIDENTIFIED_SENDER  sourceUuid:\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"  sourceDevice:1  destinationUuid:\"yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy\"  timestamp:1665901994518  content:\"\"  serverGuid:\"zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz\"  serverTimestamp:1665901993979  urgent:false  16:0"
go_1          | time="2022/10/16 06:33:14" level=error msg="[textsecure] Failed to handle received message" error="[textsecure] handleReceivedMessage content length is 0"
`
``

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant