-
Notifications
You must be signed in to change notification settings - Fork 396
Failures uploading one-time keys #1208
Comments
05-06 13:40:32.571 597 D/RestAdapterCallback: Trigger the event [uploadKeys] |
This error will only happen if you are trying to change the one-time key, which suggests that, in the past, one-time-keys have been generated but not persisted to the permanent store before uploading - and then, when the app has been restarted, another key with the same key_id has been generated :/. This might explain #1209 |
This turns out to be not quite right: synapse also returns the error if the key is the same but the signature is different. That could happen if the client had previously tried to upload the key, but not got the response. It would then later retry the upload, having re-signed the key. This could also affect riot-web. I think the most pragmatic fix to this is to fudge the server so that it does not raise an error if the key is the same and the signature has changed. |
Rageshake log says:
The text was updated successfully, but these errors were encountered: