403 Error when using the Sucuri extension

The Sucuri Scanner no longer works for all child sites. When starting the scan, the following message appears after a few seconds: Error: code 403

Deleting and reinstalling the extension did not help.

Hey @electricarts

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Hey Bojan,

here is the report:


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  64M                                          Pass        
WordPress Version                  >=6.2                                                  6.5.3                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.29.0                                               7.81.0                                       Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/3.0.2                                Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                5000000                                      Pass        
PHP Allow URL fopen                N/A                                                    On                                                       
PHP Disabled Functions             N/A                                                    diskfreespace, dl, escapeshellcmd, exec, fpassthru, getmyuid, highlight_file, ini_alter, ini_alter, leak, link, listen, passthru, pcntl_exec, popen, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_close, proc_nice, proc_open, proc_terminate, shell_exec, show_source, socket_accept, socket_bind, socket_clear_error, socket_close, socket_connect, socket_create_listen, socket_create_pair, socket_listen, socket_read, source, stream_socket_server, symlink, system, virtual,            
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, litespeed, mbstring, memcached, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=256M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   256M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   256M                                         Pass        
PHP Version                        >=7.4                                                  8.0.30                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8mb4                                                  
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  10.6.18-MariaDB-ubu2204                      Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                                                                         
HTTPS                              ON                                                     
Memory Usage                       12.18 MB                                               
Operating System                   Linux                                                  
Request Time                       1717532603                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    LiteSpeed                                              
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    Yes                                                    
MainWP Dashboard Version           Latest: 5.0.3.2 | Detected: 5.0.3.2 Pass               
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests3                                                      
Maximum simultaneous requests      8                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 10                                                     
Minimum delay between requests     100                                                    
Minimum delay between requests to the same ip1000                                                   
Number of connected sites          23                                                     
Optimize data loading              No                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              WPvivid Backup for MainWP                              
REST API enabled                   Yes                                                    
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        Yes                                                    
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

Advanced Uptime Monitor Extension  5.3.1                                                  Active                                       Pass        
Dashboard Lock                     5.0.1                                                  Active                                       Pass        
MainWP Code Snippets Extension     5.0.1                                                  Active                                       Pass        
MainWP Custom Dashboard Extension  5.0.1                                                  Active                                       Pass        
MainWP Google Analytics Extension  5.0.1                                                  Active                                       Pass        
MainWP Lighthouse Extension        5.0.2                                                  Active                                       Pass        
MainWP Maintenance Extension       5.0                                                    Active                                       Pass        
MainWP Matomo Extension            5.0.2                                                  Active                                       Pass        
MainWP Pro Reports Extension       5.0.2                                                  Active                                       Pass        
MainWP Sucuri Extension            5.0                                                    Active                                       Pass        
MainWP Team Control                5.0.1                                                  Active                                       Pass        
MainWP Vulnerability Checker Extension5.0.1                                                  Active                                       Pass        
MainWP White Label Extension       5.0                                                    Active                                       Pass        
SEOPress                           1.4                                                                                                             
WPvivid Backup MainWP              0.9.35                                                                                                          

### Plugin                         Version                                                Status                                    ###

Admin and Site Enhancements (ASE)  7.0.0                                                  Active                                       
Advanced Access Manager            6.9.27                                                 Inactive                                     
FluentSMTP                         2.2.73                                                 Active                                       
Limit Login Attempts Reloaded      2.26.9                                                 Active                                       
MainWP Dashboard                   5.0.3.2                                                Active                                       
SEOPress                           7.8                                                    Active                                       
SEOPress for MainWP                1.4                                                    Active                                       
WPCodeBox 2                        1.1.1                                                  Active                                       
WPvivid Backup MainWP              0.9.35                                                 Active                                       
WPvivid Backup Plugin              0.9.101                                                Active                                       
WPvivid Plugins Pro                2.2.24                                                 Active                                       

Thanks for the system report. Nothing in it stands out as an obvious issue.

Are you getting this 403 error only for some of your child sites?

Can you try performing a scan of one of your affected child sites directly on Sucuri’s site https://sitecheck.sucuri.net/?

Hey Bojan,

The error appears on all child pages. And the direct check on the Sucuri website works without error.

Thanks for trying that.

Would you mind opening a private Help Desk ticket so we can collect some additional information & investigate further?

And please refer to this Managers thread by its URL in the ticket.

Done. Thanks for your help!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.