• Resolved suecarroll

    (@suecarroll)


    The site disconnected from Wordfence Central, I tried to reconnect it but it is “Unable to connect to site”. I have tried the following

    • clearing the connection data, from Tools>Diagnostics and clicking on “Connect this site” in the Wordfence Central widget
    • changing my user email to be the same as Wordfence Central login
    • adding ‘noabort’ codes to .htaccess (site has LiteSpeed)
    • checked REST API endpoint is ok
    • deactivating plugins and theme

    None of the above worked. Any further ideas appreciated. I have Wordfence on a number of other sites with no issues

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfmark

    (@wfmark)

    Hi @suecarroll, thanks for getting in touch.

    It sounds like you’ve been quite thorough with your troubleshooting so far, but I will provide some standard instructions that are normally successful below in case you haven’t been through that exact order of attempting to reconnect to Central.

    • Head over to Wordfence Central.
    • Go to the Connection Issues tab.
    • Clear out any sites that might be in here.
    • Visit your site and log in as an admin.
    • Navigate to and select Tools > Diagnostics > Other Tests > Clear all Wordfence Central connection data.
    • After clearing the connection data, from the Wordfence Dashboard, click on “Connect this site” in the Wordfence Central widget.

    https://www.wordfence.com/help/central/connect/#troubleshooting-connection-issues also has some troubleshooting steps that may help you.

    If nothing works for you, please could you send a diagnostic from the site in question that you’re having trouble with? You can send the diagnostic report to [email protected]. You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then 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

    Thanks,

    Mark.

    Plugin Support wfmark

    (@wfmark)

    Hi @suecarroll

    Your max_execution_time is set at 300, which should be at 60 maximum. WP_MEMORY_LIMIT is 40, please consider increasing that to 128M or 256M. The execution time probably won’t solve a cURL error 7, but it’ll help once you connect to not have further problems.

    Additionally, I noticed that you are on a LiteSpeed server. There have been cases in the past, where LiteSpeed server will kill PHP processes without warning and without error messages. I think this may be what is happening on your site.?

    You should be able to prevent this behavior by adding one of the following codes to the .htaccess file that is located in the root of your site.?

    # BEGIN litespeed noabort<br><br><IfModule rewrite_module><br><br>RewriteEngine On<br><br>RewriteRule .* - [E=noabort:1]<br><br></IfModule><br><br># END litespeed noabort

    In some cases, depending on the host’s configuration, the above code may not help. An alternate method which may work is this:

    # BEGIN litespeed noabort<br><br><IfModule Litespeed><br><br>RewriteEngine On<br><br>RewriteRule .* - [E=noabort:1]<br><br></IfModule><br><br># END litespeed noabort

    OR

    # BEGIN litespeed noabort<br><br>SetEnv noabort 1<br><br># END litespeed noabort

    We have a bit more information on this in this page in our docs: https://www.wordfence.com/help/advanced/system-requirements/litespeed/

    Thanks,

    Mark.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot reconnect site to Wordfence Central’ is closed to new replies.