Whisperfish - The unofficial SailfishOS Signal client

Well, I finally uninstalled Whisperfish, deleted all configuration files, then rebooted, reinstalled Whisperfish 0.6.0-beta3 and tried to register: no way (did not receive confirmation SMS). Then I installed the Android app, which works.

Do you think my problem might be explained by my SFOS release (still Rokua)?

Rokua shouldnā€™t be a problem. You removed both .local/share/harbour-whisperfish as well as .config/harbour-whisperfish, right? If thatā€™s the case, Iā€™ll be glad to look at a log while you try to register. If you get a generic ā€œregistration failedā€ page, you probably have Registration Lock turned on: Frequenty Asked Questions Ā· Wiki Ā· Whisperfish / Whisperfish - Signal on Sailfish OS Ā· GitLab, but I actually think that you do get an SMS before that triggersā€¦ so thatā€™s probably not it. All in all, I think you hit a legitimate bug, so sending me a bug report with --verbose logging is probably the way to go forward.

Okay. Trying to find whisperfish logs, not found so far. By the way, " .local/share/harbour-whisperfish" does not exist on my device. Maybe this is a significant info

I created manually ā€˜.local/share/harbour-whisperfish/ā€™ then subfolders ā€˜storageā€™ and ā€˜storage/attachmentsā€™. Does not solve the issue.

Log file just sent to you by email.

The storage is only created after registering. Iā€™ve replied to your email, looks like you canā€™t see the captcha screen?

Whisperfish 0.6.0 beta.4 should fix the never ending stream of ā€œThis message is emptyā€ (thanks to @direc85 for helping to debug this!), and updates a few dependencies. Should be out on OR in an hour or so.

12 Likes

There seems to be some incompatibility between SailfishOS 4.2 and Whisperfish 0.6.0 beta.4, probably also earlier versions. Maybe wait a bit until I see itā€™s clear.

2 Likes

Does anyone else have the problem that after updating to latest 0.6.0 beta.4, they cannot receive attachments?

Thatā€™s new to me. If you can consistently reproduce it, I would love to read some logs from when it happens.

Maybe double-check your .local/config/harbour-whisperfish/harbour-whisperfish.conf for the line attachment_dir, it may point to a wrong home dir.

Config file was Ok.
When receiving attachment, nothing happens in the UI - no notification etc. However, it logs the following:

[2021-07-27T19:10:18Z TRACE harbour_whisperfish::store] Opening encrypted file "/home/defaultuser/.local/share/harbour-whisperfish/storage/sessions/{uuid}"
[2021-07-27T19:10:18Z TRACE harbour_whisperfish::store] Read "/home/defaultuser/.local/share/harbour-whisperfish/storage/sessions/{uuid}", 384 bytes
[2021-07-27T19:10:18Z TRACE harbour_whisperfish::worker::client] Opened envelope: Content { metadata: Metadata { sender: ServiceAddress { uuid: Some({uuid}), phonenumber: Some(PhoneNumber { code: Code { value: XXX, source: Plus }, national: NationalNumber { value: XXXXXXXXX, zeros: 0 }, extension: None, carrier: None }), relay: None }, sender_device: 1, timestamp: 1627413016134, needs_receipt: false }, body: DataMessage(DataMessage { body: None, attachments: [AttachmentPointer { content_type: Some("image/jpeg"), key: Some([{key}]), size: Some(133884), thumbnail: None, digest: Some([71, 48, 87, 122, 58, 130, 163, 12, 193, 204, 176, 184, 158, 221, 126, 229, 210, 146, 125, 147, 61, 83, 68, 32, 126, 196, 64, 166, 252, 246, 132, 100]), file_name: None, flags: Some(0), width: Some(1062), height: Some(1313), caption: None, blur_hash: Some("LdLq-Gt6D*%M05M|oKofk]oeflRj"), upload_timestamp: Some(1627413016511), cdn_number: Some(2), attachment_identifier: Some(CdnKey({key})) }], group: None, group_v2: None, flags: None, expire_timer: None, profile_key: Some([{key}]), timestamp: Some(1627413016134), quote: None, contact: [], preview: [], sticker: None, required_protocol_version: Some(5), is_view_once: None, reaction: None, delete: None, body_ranges: [], group_call_update: None, payment: None }) }
[2021-07-27T19:10:18Z TRACE harbour_whisperfish::store] Profile key up-to-date
[2021-07-27T19:10:18Z DEBUG harbour_whisperfish::worker::client] Message without (alt) body, not inserting

Aha. I know whatā€™s up. These are attachment messages without any text, right?

Confirming. I canā€™t receive attachments without text either. (And I also have a faint clue whatā€™s going on :sweat_smile:)

1 Like

@direc85 confirmed to me on Matrix that beta.5 fixes this issue, so thatā€™s now available on OpenRepos!

3 Likes

Does the build pipeline pull translations from Weblate automatically? I have fixed some typos I made in the past and donā€™t see them included in beta.5 although they are fixed in Weblate

Thank you for the quick fix. Looking forward to seeing whatā€™s coming up in future releases of Whisperfish.

2 Likes

Almost automatically, I have to hit merge now and then. The last merge was 6 days ago, right before beta.4. Example: Translations update from Weblate (!193) Ā· Merge requests Ā· Whisperfish / Whisperfish - Signal on Sailfish OS Ā· GitLab

1 Like

Hej Rubdos,

my Whisperfish install is not connecting to my account anymore. The icon stays red. I installed Signal on another device and think that caused the delinking of my SF device. I would like to reregister my Whisperfish client and continue using it on my SF device. I deleted all files in .config and .local, I also searched my system for anything called whisper* and deleted it. I deleted also the app and redownloaded. But when I start the fresh install I still login into my previous account that does not connect anymore. What to do?

I am on Beta.5 and in settings it is written that my websocket is disconnected.

PS: If somebody else have the problem with reregistering I have the problem fixed with this line of code

rm -rf ~/.local/share/harbour-whisperfish ~/.config/harbour-whisperfish

FYI, it was on the Wiki too: Frequenty Asked Questions Ā· Wiki Ā· Whisperfish / Whisperfish - Signal on Sailfish OS Ā· GitLab

Glad you got it fixed!

Hello since Saturday i cant receive any message. Also no sending is possible. The message is marked with circle. What does it mean?

I havenā€™t seen anything like that lately; can you provide a log? Home Ā· Wiki Ā· Whisperfish / Whisperfish - Signal on Sailfish OS Ā· GitLab

[2021-08-30T10:40:23Z TRACE libsignal_service_actix::push_s
ervice] Unhandled response with body: Ok(b"{ā€œcodeā€:404,"
message":ā€œHTTP 404 Not Foundā€}")
[2021-08-30T10:40:23Z ERROR harbour_whisperfish::worker::cl
ient] Sending message: Error sending message: Unexpected re
sponse: HTTP 404
[2021-08-30T10:40:41Z TRACE libsignal_service_actix::websoc
ket] Triggering keep-alive
[2021-08-30T10:40:41Z TRACE libsignal_service::messagepipe]
Sending request WebSocketRequestMessage { verb: Some(ā€œGETā€
), path: Some("/v1/keepalive"), body: None, headers: [], id
: Some(13xxxxxx1) }
[2021-08-30T10:40:41Z TRACE libsignal_service::messagepipe]
request on route.
[2021-08-30T10:40:41Z TRACE libsignal_service::messagepipe]
Decoded WebSocketMessage { r#type: Some(Response), request
: None, response: Some(WebSocketResponseMessage { id: Some(
16xxxxxxx4), status: Some(200), message: Some(ā€œOKā€), hea
ders: [ā€œContent-Length:0ā€], body: None }) }