Created attachment 172267 [details] screenshot showing the issue SUMMARY After logging in, quitting NeoChat and restarting it, NeoChat remains stuck at the welcome screen trying to load the active connection. STEPS TO REPRODUCE 1. Log in to Matrix account with NeoChat 2. Quit NeoChat 3. Restart NeoChat OBSERVED RESULT After logging in, quitting NeoChat and restarting it, NeoChat remains stuck at the welcome screen trying to load the active connection. EXPECTED RESULT NeoChat loads the active connection. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 40 KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION
Something weird seems to be going on here. Apparently, neochat has stored your matrix id as "@daandemeyer" (notably without a server), which would explain why it can't reach the server. I have no idea how it would get to this state, though... Can you check ~/.config/KDE/neochat.conf whether your user id is also stored wrong there? also, if you delete your account from that file and log in again, does the same problem appear again?
These are the contents of neochat.conf: ``` ➜ systemd git:(main) cat ~/.config/KDE/neochat.conf [Accounts] %40daandemeyer\%3Amatrix.org\device_id=RZDBUZRLJD %40daandemeyer\%3Amatrix.org\device_name=NeoChat daandemeyer-fedora-PC1EV17T fedora 40 x86_64 %40daandemeyer\%3Amatrix.org\homeserver=https://matrix-client.matrix.org %40daandemeyer\%3Amatrix.org\keep_logged_in=true ``` I've deleted that file, logged in again and I have the same issue.
(In reply to Tobias Fella from comment #1) > Something weird seems to be going on here. Apparently, neochat has stored > your matrix id as "@daandemeyer" (notably without a server), which would > explain why it can't reach the server. I have no idea how it would get to > this state, though... > > Can you check ~/.config/KDE/neochat.conf whether your user id is also stored > wrong there? also, if you delete your account from that file and log in > again, does the same problem appear again? Could this have something to do with the fact his MXID is actually "@daandemeyer/:matrix.org" (note the forward slash!)?
This is still an issue on 24.08.0 on Fedora 40
(In reply to Neal Gompa from comment #3) > (In reply to Tobias Fella from comment #1) > > Something weird seems to be going on here. Apparently, neochat has stored > > your matrix id as "@daandemeyer" (notably without a server), which would > > explain why it can't reach the server. I have no idea how it would get to > > this state, though... > > > > Can you check ~/.config/KDE/neochat.conf whether your user id is also stored > > wrong there? also, if you delete your account from that file and log in > > again, does the same problem appear again? > > Could this have something to do with the fact his MXID is actually > "@daandemeyer/:matrix.org" (note the forward slash!)? that's quite possible, thanks for pointing it out. I'll need to check the code since I'm not sure how the / would break it, but it seems plausible.
Hi, I have the same issue on the Neochat snap version 24.08.2. I can add an account to a fresh install of Neochat but if I relaunch Neochat it stays on the 'Welcome to NeoChat' page with 'Loading' next to my username. This is my redacted neochat.conf: [Accounts] %40MyUserName%3Amatrix.org\device_id=DeviceIdRemoved %40MyUserName%3Amatrix.org\device_name=NeoChat MyHostname ubuntu-core 22 x86_64 %40MyUserName%3Amatrix.org\homeserver=https://matrix-client.matrix.org %40MyUserName%3Amatrix.org\keep_logged_in=true I'm running Kubuntu 23.10.
Just got around to testing this - yep, the problem is the forward slash in the user id
My neochat.conf doesn't have forward slashes but I'm stuck at 'loading': [Accounts] %40MyUserName%3Amatrix.org\device_id=DeviceIdRemoved %40MyUserName%3Amatrix.org\device_name=NeoChat MyHostname ubuntu-core 22 x86_64 %40MyUserName%3Amatrix.org\homeserver=https://matrix-client.matrix.org %40MyUserName%3Amatrix.org\keep_logged_in=true This looks like my username is @MyUserName:matrix.org.
This boils down to a problem in how libquotient stores logged-in accounts. I have created an issue at https://github.com/quotient-im/libQuotient/issues/842 and will follow up with the other maintainers there. I'm thus closing this ticket as RESOLVED UPSTREAM