Crash on M_UNKNOWN_TOKEN (and too many open files)
Currently while wrestling with the app to get it working, I've invalidated the token to make sure its starting up again fresh, but it seems to crash the app every time I load it again;
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.557676Z WARN fractal::session::room::timeline: Could not fetch event $JWd8Cs0HFjmPZL80RDA3Bc2bwyG-uo6rzCA6usksOwY: the server returned an error: [401 / M_UNKNOWN_TOKEN] Invalid macaroon passed.
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.557693Z ERROR fractal::session::room: Couldn’t get the event of the user's read receipt for room !smRROUWGkctpCEwseo:jboi.nl: the server returned an error: [401 / M_UNKNOWN_TOKEN] Invalid macaroon passed.
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/session/room/mod.rs:352:53
Also, there is a mention of "too many open files" all throughout the app for me;
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.525949Z WARN fractal::session::room::timeline: Could not fetch event $MgHlrWmkwaRj86_qHu99ZSNbZBcxWVneraqPFWilGLg: error sending request for url (https://matrix.jboi.nl/_matrix/client/r0/rooms/%21WiKaPGCnXEYPiiFYib%3Ajboi%2Enl/event/%24MgHlrWmkwaRj86%5FqHu99ZSNbZBcxWVneraqPFWilGLg): error trying to connect: dns error: Too many open files (os error 24)
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.525953Z ERROR fractal::session::room: Couldn’t get the event of the user's read receipt for room !WiKaPGCnXEYPiiFYib:jboi.nl: error sending request for url (https://matrix.jboi.nl/_matrix/client/r0/rooms/%21WiKaPGCnXEYPiiFYib%3Ajboi%2Enl/event/%24MgHlrWmkwaRj86%5FqHu99ZSNbZBcxWVneraqPFWilGLg): error trying to connect: dns error: Too many open files (os error 24)
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.525962Z WARN fractal::session::room::timeline: Could not fetch event $bOrAMh4QO8YIjq6zXchnDtd1lH7vTCVozm3sL7U-Nn0: error sending request for url (https://matrix.jboi.nl/_matrix/client/r0/rooms/%21mautrix%2Dsignal%2Dv6%3Amaunium%2Enet/event/%24bOrAMh4QO8YIjq6zXchnDtd1lH7vTCVozm3sL7U%2DNn0): error trying to connect: dns error: Too many open files (os error 24)
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.525966Z ERROR fractal::session::room: Couldn’t get the event of the user's read receipt for room !mautrix-signal-v6:maunium.net: error sending request for url (https://matrix.jboi.nl/_matrix/client/r0/rooms/%21mautrix%2Dsignal%2Dv6%3Amaunium%2Enet/event/%24bOrAMh4QO8YIjq6zXchnDtd1lH7vTCVozm3sL7U%2DNn0): error trying to connect: dns error: Too many open files (os error 24)
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.526607Z ERROR fractal::session: Failed to remove credentials from SecretService after logout: An unknown error occurred when interacting with the secret storage
Apr 01 20:03:12 j0j0 org.gnome.Fractal.Devel.desktop[1500981]: 2022-04-01T18:03:12.526634Z ERROR fractal::session: Failed to remove database after logout: Too many open files (os error 24)
Edited by Jonathan de Jong