Skip to content

Error 503 when authenticating too fast? #429

@etgocode

Description

@etgocode

Description

When authenticating with a U2F-Token too early, the Server throws an error 503

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Environment

  • PHP-Versions tested:
    • 8.1
    • 8.0
    • 7.4
  • Browsers tested:
    • Firefox
    • Edge
  • U2F-enabled-Account

Steps to reproduce

  1. Login with username / password
  2. Touch U2F-Token as soon as it is ready (in my case, yubikey lights up)
  3. Server throws 503

Mitigations

  • Refresh the 503 error page (you need to click on the resend information prompt of the browser) -> you are now logged in and in the dashboard

Or

  • Wait 2 to 3 seconds before touching the U2F-Token -> you get logged in directly

Unfortunately I do not have access to the php logs. Sounds to me like maybe php is executing to slowly, then again there is hardly any traffic on the server and my wordpress instance, which is not in production yet, is the only thing even using php.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions