• Resolved ianatkins

    (@ianatkins)


    Hello.

    We’re running WordFence, Version 8.0.3.

    User logins to the admin area on wp-login.php and via custom code using AJAX and wp_signon are very slow for users with the ‘subscriber’ role. Admin or editor users are unaffected and the login proceeds quickly.

    In the network requests of the browser the request takes 59 seconds, with time logged as ‘waiting for server response’.

    On my local development version (running on nginx / apache ) I can’t replicate the behaviour, but the production site is running on Litespeed server.

    Disabling the WordFence plugin returns the login to normal with the request taking 300ms.

    Also of note the site is a network / multisite.

    Any thoughts on steps to debug, or further information I can provide,

    Thanks,

    Ian.

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @ianatkins,

    That’s an interesting situation as I wouldn’t expect a certain user role, especially a non-administrative one to take longer. Are you running any other security plugins or user management plugins that could be involved? Also, is reCAPTCHA enabled, and/or 2FA for that user level?

    I would first try to run Wordfence as the only enabled plugin temporarily just to see if you can log in more quickly as a subscriber. If you can, try enabling other plugins one-by-one to see if the addition of a specific one triggers the slowdown. I wouldn’t necessarily expect Litespeed to only cause slowdown for a user role, but it might be worth making sure?noabort?code has been?added to prevent communication stopping abruptly. That is typically an issue?during scans, but may contribute to a timeout as the delay time of 59 seconds sounds like a timeout could be involved.?

    If those doesn’t help, it would be helpful if you could visit the?Wordfence > Tools > Diagnostics?page to send the output to us at?wftest @ wordfence . com. Click on?“Send Report by Email”. Please add your forum username where indicated and?respond here after you have sent it.

    NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email

    Many thanks,
    Peter.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.