Support » Plugins » [iThemes Security] Duplicate Entry

  • Running a WordPress Network with iThemes Security network-activated on nginx/php-fpm/mysql running on an Amazon EC2 instance.

    My nginx error log is filling up with these errors. It seems like it’s trying to ban someone who is already banned? I’ve tried manually clearing out the banlist and a new ban will appear and then start causing errors again as the plugin tries to reapply it.

    I do have some pretty intense caching going on. Could this be causing a problem? Even if this is a result of my setup, is there any way the plugin could check for this better so the error doesn’t occur?

    2014/08/04 19:27:17 [error] 27103#0: *27480 FastCGI sent in stderr: “PHP message: WordPress database error Duplicate entry ‘bcb2328f9f6bc9a4b8dd5cd3e5c9fec5’ for key ‘PRIMARY’ for query INSERT INTO (TABLE-REDACTEDFORSECURITY) ( id, user_id, blog_id, t ) VALUES( ‘bcb2328f9f6bc9a4b8dd5cd3e5c9fec5’, 0, 3, NOW() ) made by wp_signon, wp_authenticate, do_action(‘wp_login_failed’), call_user_func_array, ITSEC_Brute_Force->execute_brute_force, ITSEC_Lockout->check_lockout, ITSEC_Lockout->execute_lock, wp_logout, do_action(‘wp_logout’), call_user_func_array, remote_logout_loader” while reading response header from upstream, client: 176.117.128.38, server: _, request: “POST /wp-login.php HTTP/1.0”, upstream: “fastcgi://127.0.0.1:9000”, host: “(URL-REDACTEDFORSECURITY)”

    I’ve pulled out the table name and URL for the site. I’m running multiple domains, but this is all trying for the same non-primary domain’s login which is odd.

    I’ve been banning repeat offender IPs manually (using IPTABLES) which stops the error from happening for that address, but doesn’t help when a new address starts trying.

  • The topic ‘[iThemes Security] Duplicate Entry’ is closed to new replies.