"Entered token is not valid" when reconfiguring TOTP

I am running SF Pro 11.0.9 and I’m in the process of moving all of my TOTP codes to Bitwarden (currently using Authy).
I have disabled the old TOTP but I cannot set a new device.
I tried using Authy (which was working before I deleted it) and Bitwarden. None of them work.
On a side note, on Bitwarden I have used just the secret key when setting the TOTP, being careful of removing the totp://... and the part at the end.

Steps

  1. Scan the QR code
  2. Enter the generated TOTP
  3. Get this message Entered token is not valid.

I have enabled DEBUG logs on both seafile and seahub but I still don’t see any log entry being generated.
The time (date and time zone) of my server is correct.

A day went by, and now it works. I can’t explain why…