Closed
Description
- Gitea version (or commit ref): Gitea version 1.1.1 built with: bindata, sqlite
- Git version: 2.1.4
- Operating system: Debian 8.8 Jessie x86_64
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist: https://gist.github.com/eripa/1b1633a7c6225074e5911bde1edba4e7
Description
After running without issues for a long time Gitea suddenly started to fail on 2FA authentication. The regular password authentication works (verified using a non-2FA-enabled account). After entering the TOTP code, or the scratch code, I end up on a status page for internal server error 500.
The main clue that I can see is in the gitea.log
file (see the log gist for more details) :
2017/06/01 07:27:20 [...routers/user/auth.go:212 TwoFactorPost()] [E] UserSignIn: illegal base64 data at input byte 0
Please get back to me if there is more information that I can provide in terms of debugging this issue.