roots / wp-password-bcrypt

WordPress plugin to implement secure bcrypt hashed passwords
https://roots.io/improving-wordpress-password-security/
MIT License
616 stars 67 forks source link

Error: Maximum execution time of 30 seconds exceeded #24

Closed tillkruss closed 5 years ago

tillkruss commented 5 years ago

Description

We're seeing timeouts related to wp_check_password().

Since we're running on Heroku, we can't increase the timeout of 30s.

We're also not seeing a stacktrace, just this:

Sentry\Exception\FatalErrorException: Error: Maximum execution time of 30 seconds exceeded
#0 /vendor/roots/wp-password-bcrypt/wp-password-bcrypt.php(42): null

Login and everything else works fine. We don't know what's actually failing.

szepeviktor commented 5 years ago

https://github.com/roots/wp-password-bcrypt/blob/master/wp-password-bcrypt.php#L42

swalkinshaw commented 5 years ago

This plugin is just calling a native PHP function so there's nothing we can do. If anything it seems like a Heroku issue.

drzraf commented 3 years ago

I'm getting this too, but:

  1. I can't spot the origin (no backtrace)
  2. The fact that it exceeds 30sec is suspicious