Support » Plugin: NinjaScanner - Virus & Malware scan » The scanning process doesn’t seem to be able to start.

  • Resolved crbull

    (@crbull)


    Hi, after the update, the plugin is asking for

    The scanning process doesn’t seem to be able to start. If your website is password-protected using HTTP basic authentication.

    No sure what do I have to do.

    Thanks.

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

Viewing 15 replies - 16 through 30 (of 32 total)
  • I’m sorry for confusing you, I stay corrected, my PHP version indeed is 7.2 not 7.4.

    So you may want to roll this back to 3.0.1 which is working fine with PHP 7.4 but new version 3.0.2 is hanging at step 4 or 5 “building theme/plugin list”.
    Sorry about that.

    Plugin Author nintechnet

    (@nintechnet)

    The new 3.0.2 only removed a trailing comma that throws a parse error in PHP <=7.2: https://plugins.trac.wordpress.org/changeset/2415908/ninjascanner/trunk/lib/scan.php?old=2412991&old_path=ninjascanner%2Ftrunk%2Flib%2Fscan.php

    That shouldn’t affect anyone. I tried it on 5.5, 5.6, 7.0, 7.2, 7.3, 7.4 and 8.0-RC3 and they all pass the test.
    Put your site under debugging and the check wp-content/debug.log. Check also the scanner’s “Log” tab (enable the “Debug” checkbox below the textarea).

    I already did. The debug log is empty.

    After reinstalling the latest 3.0.2 version it’s back to normal. It scans just fine. Must have been a broken file or something.

    Sorry to report but this issue is back. I’m getting this error:

    “The scanning process doesn’t seem to be able to start. If your website is password-protected using HTTP basic authentication, you can enter your username and password in the “Settings > Advanced Settings” section.”

    It appears after hanging on Step 1/14.

    I’m on PHP 7.4, NinjaScanner version is 3.0.2. Debug log file is empty. Fork change doesn’t do any good. Any suggestion on how to troubleshoot it?

    Thank you.

    Plugin Author nintechnet

    (@nintechnet)

    Can you check your HTTP server log to see if the HTTP response was a ‘200’ code?
    Can you check that you can access the /wp-admin/admin-ajax.php script? It should return ‘0’ when accessing it with your browser. Make sure to log out of WordPress first.

    Yes, admin-ajax returns ‘0’ and 200 response code.

    Plugin Author nintechnet

    (@nintechnet)

    Do you see in the log the 20 POST requests sent to admin-ajax.php? When starting NinjaScanner, if it doesn’t seem to be able to fork the process, it will keep sending one request every 1.5 seconds, and after 20 attempts, will give up if there’s still no response.

    dimsal

    (@dimsal)

    In Developer tools/Network I can see 25 calls to admin-ajax.php made but they are all have 200 response code. After 25th it stops.

    Plugin Author nintechnet

    (@nintechnet)

    Those requests are fine, NinjaScanner would warn you otherwise.
    But each of those request is an attempt to fork another process (via AJAX or WP-Cron, depending on your scanner configuration). But the process doesn’t seem to start. I’ve never seen the same issue since v3.0.2.
    Do you have any restriction in place? At the website, PHP or server level?

    dimsal

    (@dimsal)

    I have NinjaFirewall installed, could any of its policies restrict this? But they were both working together before without any issues.

    I think the only other explanation is a conflict with another plugin.

    Plugin Author nintechnet

    (@nintechnet)

    If you were blocked by the firewall you would likely see it in the log.
    There must be an issue somewhere else.
    I will try in the next version to use a blocking socket for the very first AJAX call only, that way the scanner should be able to give you more details about why the fork failed.

    dimsal

    (@dimsal)

    OK, so what do I do while you’re working on the new version?

    Plugin Author nintechnet

    (@nintechnet)

    Wait 24 hours, I’ll update the code here in the repo as soon as its available so that you could test it even before we release next version. It shouldn’t take long.

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘The scanning process doesn’t seem to be able to start.’ is closed to new replies.