Defender provoking cloudflare 502 error

I have an issue with defender pro, after login instead of the dashboard I am getting 502 cloudflare error.

I disabled the plugin and the login is working well now. And also, sometimes I have 502 cloudflare error also because this plugin. I am not sure why this is happening. Maybe because of some configurations I’ve made.

  • Nithin Ramdas
    • Support Wizard

    Hi AIP ,

    Just to be sure the issue only occurs when 2FA is enabled in Defender? Or you notice this occurring at random times? I could notice the issue occurred even after disabling Defender Pro plugin.

    I created an info.php file in the root directory and could notice the server resources are very low when the file was checked via the browser by loading the link as:
    YourwebsiteURL.com/info.php

    max_execution_time is 30, and memory_limit is 128M which is very low. I tried to increase it by creating a php.ini file in the root directory and by adding the following:

    upload_max_filesize = 128M
    post_max_size = 256M
    memory_limit = 512M
    file_uploads = On
    max_execution_time = 300

    But unfortunately, it doesn’t seem to help much. Seems like your server doesn’t support increasing the resources via php.ini file.

    Could you please bring this into your Hosting provider’s attention and ask to increase the resources to the above and see whether that helps with resolving the anomalies noticed.

    Please do let us know how that goes so that we could check further if needed. Have a nice day ahead.

    Regards,
    Nithin