boxdot / gurk-rs

Signal Messenger client for terminal
GNU Affero General Public License v3.0
456 stars 33 forks source link

Unable to send a message #228

Open josephkerkhof opened 1 year ago

josephkerkhof commented 1 year ago

I'm unable to send messages using gurk. I can receive them OK if others send them to me and I can see my replies on the Signal app, but I am not able to send messages to others from gurk. It looks like the gurk sent them, but when I check my phone I don't see any of my messages and others cannot see the messages I sent from gurk.

Here's my log when I try to send a message:

2023-07-06T02:25:55.814347Z  INFO gurk::storage::json: loading app data from: /home/joseph/.gurk.data.json
2023-07-06T02:25:57.208047Z  INFO gurk: connected and listening for incoming messages
2023-07-06T02:26:06.967087Z  INFO gurk::storage::json: saving app data to: /home/joseph/.gurk.data.json
2023-07-06T02:26:07.535116Z ERROR libsignal_service::websocket: SignalWebSocket: Websocket error: SignalWebSocket: end of application request stream; socket closing
2023-07-06T02:26:07.536344Z  INFO libsignal_service_hyper::websocket: Websocket sink has closed: SendError { kind: Disconnected }.
2023-07-06T02:26:08.730753Z  INFO libsignal_protocol::session_cipher: Building PreKeyWhisperMessage for: 529aeb4e-da7f-4bc2-8d8c-6f1d614b984f.2 with preKeyId: 23
2023-07-06T02:26:08.870242Z ERROR libsignal_service::websocket: SignalWebSocket: Websocket error: SignalWebSocket: end of application request stream; socket closing
2023-07-06T02:26:10.048416Z  INFO libsignal_protocol::sealed_sender: deserialized UnidentifiedSenderMessageContent from 529aeb4e-da7f-4bc2-8d8c-6f1d614b984f.1 with type Whisper
2023-07-06T02:26:10.049164Z  INFO libsignal_protocol::session_cipher: 529aeb4e-da7f-4bc2-8d8c-6f1d614b984f.1 creating new chains.
2023-07-06T02:26:10.049812Z  INFO libsignal_protocol::state::session: Trimming excessive receiver_chain for session with base key 70406cffc9d0908f1efc6fd79bc88aa885611e5bc692558293b36a4d8ef37e6f, chain count: 6
2023-07-06T02:26:10.049886Z  INFO libsignal_protocol::session_cipher: decrypted Whisper message from 529aeb4e-da7f-4bc2-8d8c-6f1d614b984f.1 with current session state (base key dd1bc6193542ed0c100470ffb423fec3fe4f7ea30f5de1d7cb05a27f315b0159)

I'm on Parabola OS (very similar to Arch).

gferon commented 1 year ago

Thanks for the report, it's a known issue with presage the underlying library used by gurk. I'll try to fix it properly next week.

anthonyanikos commented 2 months ago

I can say, it still exist, but i think some doubts: i think, its depending on if my contact have a nickname instead phone numbers, i have this problem with dad (he have nickname) but not with any others. Wtih regular signal it's ok. thank u again for your client