Skip to content

Unable to Login using 2FA, Internal Server Error 500 #1851

Closed
@eripa

Description

@eripa

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.

Screenshots

screen shot 2017-06-01 at 9 32 51 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Gitea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions