boxdot / gurk-rs

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

Unable to log in (libsignal error) #246

Open uttarayan21 opened 1 year ago

uttarayan21 commented 1 year ago
2023-09-19T20:55:56.018067Z  INFO presage::manager: generating qrcode from provisioning link: [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]    
2023-09-19T20:56:02.123034Z ERROR panic: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }': /home/runner/.cargo/git/checkouts/libsignal-service-rs-e91a0c40cab55da9/791c521/libsignal-service/src/provisioning/manager.rs:346    
2023-09-19T20:56:02.123181Z ERROR libsignal_service::websocket: SignalWebSocket: Websocket error: SignalWebSocket: end of application request stream; socket closing    

I have removed the provisioning link from the logs but it looks like a valid link

Was unable to log in. Tried multiple times with the same error

boxdot commented 1 year ago

Thank you for reporting. I will check the panic in presage/libsignal-websocket. Looks like we have a hard assumption there.

boxdot commented 1 year ago

The version of libsignal-service-rs is very old: the commit 791c521 is from March 2019. Could you please try the latest version of gurk?

uttarayan21 commented 1 year ago

Hmm, I can't seem to compile it on windows now using master branch. Maybe I have some misconfigured msvc or something (prost-build's build script fails to build).

I'll try on linux / mac and report back.

boxdot commented 1 year ago

Failing prost usually means that protoc is not in PATH.

uttarayan21 commented 1 year ago

Thanks that fixed the compilation but now running on debug mode I got this. image

Release mode runs but everyone of my keypresses are duplicated. Even backspace is duplicated image

boxdot commented 1 year ago

I will try to build it on Windows and come back to you. Please bear with me, never used Rust on Windows so far.

uttarayan21 commented 1 year ago

Thanks Also to confirm It works perfectly on both macos and linux.

boxdot commented 1 year ago

@uttarayan21 The PR #249 fixes the double key events on Windows. I still need to test it on Linux.

uttarayan21 commented 1 year ago

I just checked out the pr. That does fix the double click issue. But now I can't seem to send a message ( atleast to self ) It was however working on master (even with the double click). image