Sync consistently fails, disconnects some sites - reconnect - no problem. Repeat

Yesterday I was performing my regular site maintenance and found that consistently - about 12 sites would disconnect in the sync process. But then when these sites are selected and reconnected - they connect with no problem.

An immediate re-sync does the same thing.

Hi @wadellc

Welcome to the MainWP community!

Can you check the version of the MainWP Child plugin on those 5 that continue to disconnect on sync?

And 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.

Hi Bojan, Thank you for the reply.
I repeated the process with the 5 - I’m down to 1 hold out.
MainWP Child is 4.5.1

Here’s the Report:


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  128M                                         Pass        
WordPress Version                  >=3.6                                                  6.3.1                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          20                                           Warning     
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                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, disk_free_space, disk_total_space, diskfreespace, dl, exec, fastcgi_finish_request, link, opcache_compile_file, opcache_get_configuration, opcache_invalidate, opcache_is_script_cached, opcache_reset, passthru, pclose, pcntl_exec, popen, posix_getpid, posix_getppid, posix_getpwuid, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, realpath_cache_get, shell_exec, show_source, symlink, system,            
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, gnupg, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, mbstring, memcache, memcached, msgpack, mysqli, mysqlnd, newrelic, openssl, pcre, pdo_mysql, posix, readline, redis, session, shmop, soap, sockets, sodium, ssh2, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           43300                                        Pass        
PHP Max Input Time                 >=30 seconds                                           -1                                           Pass        
PHP Memory Limit                   >=128M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   100M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   50M                                          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                                                    utf8                                                     
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  5.7.42-46-log                                Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       7.31 MB                                                
Operating System                   Linux                                                  
Request Time                       1694110458                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Not expected HTTP response body: 401 Authorization Required

401 Authorization Required
nginx
Server Software                    nginx                                                  
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    Yes                                                    
MainWP Dashboard Version           Latest: 4.5.1.1 | Detected: 4.5.1.1 Pass               
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return  50                                                     
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      2                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     1000                                                   
Minimum delay between requests to the same ip5000                                                   
Number of child sites              33                                                     
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary backup system              MainWP Legacy Backups                                  
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   ###

MainWP Custom Dashboard Extension  4.1.2                                                  Active                                       Pass        

### Plugin                         Version                                                Status                                    ###

Activity Log                       2.8.8                                                  Active                                       
MainWP Dashboard                   4.5.1.1                                                Active                                       
Stream                             3.9.3                                                  Active                                       
Sucuri Security - Auditing, Malware Scanner and Hardening1.8.39                                                 Active                                       
WPCode Lite                        2.1.2                                                  Active                                       

Thanks for the system report.

Would you be able to temporarily deactivate all plugins except for MainWP Child on that one site and see if that helps?

We’ve had similar reports of disconnections in the past with users whose child sites were on Bedrock WordPress. Is that the case here by chance?

This morning I went to do as requested - deactivate all plugins except MainWP - and found the warning site not connected message at the top of the plugin admin. This did not display on sites that were disconnecting previously.

I deactivated and re-activated MainWP Child. The warning appeared as expected. Then I reconnected via MainWP Dashboard > Site Overview, and now the site does not disconnect on sync.

ALL of my sites now sync without issue.

Also - no this site was not on Bedrock WP.
I suspect there may have been a caching issue since I got a different result this morning…
Thanks for the help Bojan.
~D

2 Likes

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