• Resolved jcimb

    (@jcimb)


    When I navigate to the Sucuri Dashboard, and am on the Audit Logs tab, “Loading…” is displayed and even after waiting ten minutes, it still just says “Loading…”.
    How do I get it ‘unstuck’ so I can view the audit log?

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • I have the same issue.

    I also have the same issue.

    WordPress Integrity is also stuck Loading…

    @jcimb — please use the “Network” tab in the web-developer tools of your web browser to inspect the response (specially the HTTP status code) of the Ajax request that is running with the action “get_audit_logs”. Without knowing what the response is, it will be impossible for me to give you a solution because the problem could actually be your web server more than the code that powers the plugin, so instead of investigating a bug in the code we could be facing a problem that only your hosting provider can resolve.

    Same goes for @chanetsa and @caordawebsol let me know what can you see in the “Network” tab of your web browser dev-tools, I can provide a solution once we have more information about the cause of the infinite loading state.

    This was reported a couple of days ago, assuming that the issue was temporary I will just mark this as resolved, but if you are still experiencing the same problems and can provide more details about what is happening in the Network tab of your web browser dev-tools, we can re-open the ticket and continue investigating.

    Thread Starter jcimb

    (@jcimb)

    I did what you recommended.
    I had to deactivate the Sucuri plugin and then re-activate it and then I checked the Network tab of the Browser and found a server 500 error.
    When I checked Sucuri settings, I saw that the API key needed to be put in again, which I did, and then when I checked Audit Logs, it loaded successfully.
    Thank you!

    I get a 500 error:

    Request URL:https://site.com/wp-admin/admin-ajax.php?page=sucuriscan
    Request Method:POST
    Status Code:500 Internal Server Error
    Remote Address:65.61.234.40:80
    Referrer Policy:no-referrer-when-downgrade
    Response Headers

    • This reply was modified 7 years, 6 months ago by caordawebsol.
    • This reply was modified 7 years, 6 months ago by caordawebsol.
    • This reply was modified 7 years, 6 months ago by caordawebsol.
    • This reply was modified 7 years, 6 months ago by caordawebsol.

    @caordawebsol — in your case, it is probably that the amount of data in this file [1] is too much to be processed by your server, so the process is timing out and closing before the task finishes. This, depending on the configuration of the web server, causes a “500 Internal Server Error”.

    What you can do for now is to use FTP or the file manager of your hosting account to delete that file. You will lose some of the security logs, but it should help you reduce the execution time which is what seems to be affecting the plugin in your website.

    Let me know if this helps, otherwise we can continue investigating.

    IMPORTANT: You have shared some sensitive information about your website in your comment, I think it is too late to delete/edit it so I suggest you to re-generate the secret keys of your WordPress installation so no one else can use this information to log into your administration panel. You were able to update your comment, good; be sure to never share sensitive information about your website in the forums.

    Thanks! Yes, done and security keys regenerated.

    Which file do you suggest I delete? admin-ajax.php? Audit logs are showing, it’s the WordPress Integrity that is stuck forever loading…

    • This reply was modified 7 years, 6 months ago by caordawebsol.

    @caordawebsol — sorry, I forgot to mention the file in my previous comment. This is the file that you should delete [1]; or instead of deleting the file, just download it into your computer, then just leave a couple of entries in it, then re-upload to your server, this way you will not lose all the security logs.

    [1] /wp-content/uploads/sucuri/sucuri-auditqueue.php

    @caordawebsol — I misunderstood your original comment. This thread was originally created to report a problem in the audit logs, but your case is different, the integrity checks are powered by a file system scanner, a piece of code that reads the four main directories that a normal WordPress installation has, they are: the root directory, wp-admin, wp-includes, and part of the wp-content folder.

    It is probable that your installation has too many foreign files in any of these directories, the plugin is taking too much time to read all these files. After X amount of seconds (where X is the value of “max_execution_time” in your PHP configuration) the server sends a signal and kills the script. The only solution for this would be to ignore some of the directories from the settings page (in the Scanner tab, you will find a panel to allow you to ignore some of the directories) otherwise the plugin will keep trying to read all the folders/files to analyze the integrity of your installation, and your server will keep killing the script because it is taking too much time.

    Thank you.

    Hi,
    I use your plugin on all the websites I run and have to say it is awesome.
    Today I tried adding it to another website and found the same error. The Dashboard page is stuck on loading.
    Because I just installed the plugin I didn’t mind deleting the file you have suggested, but it didn’t help much.
    When I open the network tab and found error 500 for /wp-admin/admin-ajax.php?page=sucuriscan and for /wp-admin/admin-ajax.php

    same issue here

    Apparently a fix is in the works!

    Thanks for the update! @caordawebsol

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘In Dashboard, Audit Logs is Stuck “Loading”’ is closed to new replies.