We've seen a few user reports of "Unable to restore session" errors with things like the following in the logs:
2024-04-27T15:40:54.673Z E Unable to load session invalid type: integer `123`, expected a string at line 1 column 4
2024-04-30T06:35:34.559Z E Unable to load session invalid type: map, expected a sequence at line 1 column 0
2024-04-30T00:39:25.404Z E Unable to load session invalid type: null, expected a sequence at line 1 column 4
All of these suggest a problem deserialising the pickled account data in the core.account row in indexeddb. The first one suggests that the pickleKey has been deleted from the matrix-react-sdk indexeddb. The other two suggest some sort of malformed data in the matrix-js-sdk::matrix-sdk-crypto store. I have no real ideas how we're getting into this state.
We've seen a few user reports of "Unable to restore session" errors with things like the following in the logs:
All of these suggest a problem deserialising the pickled account data in the
core.account
row in indexeddb. The first one suggests that thepickleKey
has been deleted from thematrix-react-sdk
indexeddb. The other two suggest some sort of malformed data in thematrix-js-sdk::matrix-sdk-crypto
store. I have no real ideas how we're getting into this state.