"Failed to logout the session" for unreachable homeserver
#1230 (closed) is not fatal anymore with the new version thanks to multiple sessions, as one can now add a new account that works. Great news, I can now use fractal again!
However, the old defunct session, where the homeserver does not exist anymore, still cannot be removed. When attempting to remove it via the Log Out
button (both under "General" and "Sessions"), then Continue
, Fractal returns Failed to logout the session.
and nothing happens. The defunct session keeps cluttering the session list with no option to clear it.
Client output indicates it's failing to clear the session locally due to no server response:
2024-01-25T10:44:54.544152Z ERROR fractal::session::model::session: Failed to perform sync: error sending request for url (https://nonexistent.homeserver.com/_matrix/client/versions): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1889: (hostname mismatch)
2024-01-25T10:44:54.677104Z ERROR matrix_sdk::sync: Received an invalid response: error sending request for url (https://nonexistent.homeserver.com/_matrix/client/versions): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1889: (hostname mismatch)
Again, a pointer to relevant files to remove or dconf settings to clear so fractal state is completely reset would already be very helpful as a workaround.