Bug 484985

Summary: SSL Appears to be broken
Product: [Applications] Tokodon Reporter: Shawn W Dunn <sfalken>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: major CC: carl, chronosxyz000, josh
Priority: NOR    
Version: 24.02.1   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Output of `flatpak run -v org.kde.tokodon`

Description Shawn W Dunn 2024-04-03 15:32:21 UTC
Created attachment 168101 [details]
Output of `flatpak run -v org.kde.tokodon`

SUMMARY
When upgrading from 23.08.4 from flathub, to 24.02.1, opening Tokodon resulted in an endless "Loading" progress bar.

I uninstalled tokodon `flatpak uninstall org.kde.tokodon` and removed all content from `~/.var/app/org.kde.tokodon` and reinstalled

When attempting to re-set up Tokodon, after entering the mastodon server domain name, it goes to the "Authorization" screen which remains a blank white screen.

STEPS TO REPRODUCE
1. Start Tokodon via `flatpak run org.kde.tokodon`
2. Enter mastodon server domain name
3. Click Continue


OBSERVED RESULT
The screen changes to the "Authorization" screen, and displays a blank white screen, and remains there for as long as I leave Tokodon running

EXPECTED RESULT
Tokodon sends me to the browser for Authentication and login

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Kalpa, Linux 6.8.1, Wayland Session, Flatpak 1.15.6
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Joshua Goins 2024-04-03 16:04:27 UTC
Strange, what server are you connecting to? If it's a local server, make sure to check the "ignore ssl certificates" checkbox.
Comment 2 Shawn W Dunn 2024-04-03 16:06:18 UTC
Fosstodon.org is one of them
The other is my personal mastodon, which is using a Let'sEncrypt certificate, and is hosted on a VPS outside my network
Comment 3 Shawn W Dunn 2024-04-04 18:58:17 UTC
Enabling "Ignore SSL Errors" via the switch in the UI doesn't fix the issue, when trying to login.
Comment 4 ChronosXYZ 2024-04-19 12:02:23 UTC
Same thing appears when trying to log in to lor.sh Mastodon server:

----- Certificate i=2 (CN=ISRG Root X1,O=Internet Security Research Group,C=US) -----
ERROR: No matching issuer found

[2:38:0419/150146.535014:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202

The app is basically broken for me.
Comment 5 ChronosXYZ 2024-04-19 12:04:23 UTC
Forgot to add: OpenSUSE, X11 session, Flatpak version of this app is 24.02.2, Flatpak 1.15.6
Comment 6 ChronosXYZ 2024-04-19 12:05:31 UTC
Seems like this problem exists only for Flatpak version. Version from OS repository works well.
Comment 7 Joshua Goins 2024-12-01 00:23:37 UTC
Closing as I cannot reproduce on 24.08, nor with the unreleased 24.12. This seems more like a distro or Flatpak issue, too.