Main WP Child Disconnecting Random Sites Daily 62/22/2024

The past 3 days I have been experiencing a recurring issue - Several sites in the Main WP Dashboard disconnected. I went to each wordpress site, deactivated the WP Child Plugin and re-activated it then returned to the Main WP Dashboard and reconnected them. All worked fine except this is now a reoccurring issue. Every day several sites disconnect and have to repeat the same process to reconnect. Is this a new issue? I have not been able to find any recent articles on this. Please advise

Hey @tech7000

Welcome to the MainWP community.

Can you try reconnecting these sites from the Dashboard without re-activating the Child plugin?
If you cannot, what error message do you get?

Are these sites disconnecting when you are performing some Dashboard tasks, such as syncing or updates?

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:


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

### WordPress Check                Required                                               Detected                                     Status   ###

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

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           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                                                    opcache_get_status,                                      
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, i360, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, random, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           60                                           Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=256M                                                 256M                                         Pass        
PHP Post Max Size                  >=2M                                                   32M                                          Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   200M                                         Pass        
PHP Version                        >=7.4                                                  8.3.8                                        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-0ubuntu0.22.04.1             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                       9.76 MB                                                
Operating System                   Linux                                                  
Request Time                       1719250124                                             
Server Protocol                    HTTP/2.0                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    nginx/1.26.1                                           
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 180                                                    
Basic uptime monitoring enabled    Yes                                                    
MainWP Dashboard Version           Latest: 5.1 | Detected: 5.1 Pass                       
MainWP legacy backups enabled      No                                                     
Maximum number of comments         50                                                     
Maximum number of pages to return  100                                                    
Maximum number of posts to return  500                                                    
Maximum simultaneous install and update requests2                                                      
Maximum simultaneous requests      3                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 3                                                      
Minimum delay between requests     500                                                    
Minimum delay between requests to the same ip1200                                                   
Number of connected sites          27                                                     
Optimize data loading              Yes                                                    
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              MainWP UpdraftPlus Extension                           
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   ###

Activity Log for MainWP            2.1.3                                                                                                           
Advanced Uptime Monitor Extension  5.3.1                                                  Active                                       Pass        
Boilerplate Extension              5.0.2                                                  Active                                       Pass        
Dashboard Lock                     5.0.1                                                  Active                                       Pass        
MainWP Article Uploader Extension  5.0.2                                                  Active                                       Pass        
MainWP Bulk Settings Manager Extension5.0.1                                                  Active                                       Pass        
MainWP Cache Control Extension     5.0                                                    Active                                       Pass        
MainWP Clone Extension             5.0                                                    Active                                       Pass        
MainWP Code Snippets Extension     5.0.2                                                  Active                                       Pass        
MainWP Comments Extension          5.0                                                    Active                                       Pass        
MainWP Custom Dashboard Extension  5.0.1                                                  Active                                       Pass        
MainWP Custom Post Type            5.0.2                                                  Active                                       Pass        
MainWP Database Updater Extension  5.0.3                                                  Active                                       Pass        
MainWP Domain Monitor Extension    5.0.2                                                  Active                                       Pass        
MainWP Favorites Extension         5.0.1                                                  Active                                       Pass        
MainWP File Uploader Extension     5.0                                                    Active                                       Pass        
MainWP Google Analytics Extension  5.0.1                                                  Active                                       Pass        
MainWP Maintenance Extension       5.0                                                    Active                                       Pass        
MainWP Post Dripper Extension      5.0                                                    Active                                       Pass        
MainWP Post Plus Extension         5.0.1                                                  Active                                       Pass        
MainWP SSL Monitor Extension       5.0.1                                                  Active                                       Pass        
MainWP Staging Extension           5.0.2                                                  Active                                       Pass        
MainWP Sucuri Extension            5.0                                                    Active                                       Pass        
MainWP UpdraftPlus Extension       5.0.1                                                  Active                                       Pass        
MainWP URL Extractor Extension     5.0                                                    Active                                       Pass        
MainWP Vulnerability Checker Extension5.0.1                                                  Active                                       Pass        
MainWP WooCommerce Shortcuts Extension5.0.1                                                  Active                                       Pass        
MainWP WooCommerce Status Extension5.0.3                                                  Active                                       Pass        
MainWP Wordfence Extension         5.0.1                                                  Active                                       Pass        
Security Ninja for MainWP          2.0.6                                                                                                           

### Plugin                         Version                                                Status                                    ###

Activity Log for MainWP            2.1.3                                                  Active                                       
Change WordPress Login Logo        1.2                                                    Active                                       
Defender                           4.7.2                                                  Active                                       
MainWP Dashboard                   5.1                                                    Active                                       
Security Ninja for MainWP          2.0.6                                                  Active                                       
Sucuri Security - Auditing, Malware Scanner and Hardening1.8.44                                                 Active                                       
UpdraftPlus - Backup/Restore       1.24.3                                                 Active                                       

A) I tried that the first few times. generic error message telling me that the public key is already set, try deactivating and reactivating the mainwp child plugin


B) No, no task is being performed

Thanks for the update.

Could you temporarily deactivate all plugins on one of the affected Child Sites and then try reconnecting the site via the MainWP Dashboard?

This would help us eliminate any potential conflicts or security plugins that could possibly be blocking the connection.

If that doesn’t help, please open 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.

I’ve started to see this too with random child sites. Had one this morning and I got an email with the following error, which may help:

  • Error Level: E_ERROR
  • Message: Uncaught phpseclib3\Exception\BadDecryptionException: Error decrypting ciphertext with OpenSSL in /home/SITE/public_html/wp-content/plugins/mainwp-child/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php:1029
    Stack trace:
    #0 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-keys-manager.php(196): phpseclib3\Crypt\Rijndael->decrypt()
    #1 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-keys-manager.php(223): MainWP\Child\MainWP_Child_Keys_Manager->decrypt_string()
    #2 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-stats.php(192): MainWP\Child\MainWP_Child_Keys_Manager::get_encrypted_option()
    #3 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-callable.php(253): MainWP\Child\MainWP_Child_Stats->get_site_stats()
    #4 [internal function]: MainWP\Child\MainWP_Child_Callable->get_site_stats()
    #5 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-callable.php(228): call_user_func()
    #6 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-callable.php(174): MainWP\Child\MainWP_Child_Callable->call_function()
    #7 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child.php(331): MainWP\Child\MainWP_Child_Callable->init_call_functions()
    #8 /home/SITE/public_html/wp-includes/class-wp-hook.php(324): MainWP\Child\MainWP_Child->parse_init()
    #9 /home/SITE/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #10 /home/SITE/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #11 /home/SITE/public_html/wp-settings.php(695): do_action()
    #12 /home/SITE/wp-config.php(112): require_once(‘/home/beyondadm…’)
    #13 /home/SITE/public_html/wp-load.php(55): require_once(‘/home/beyondadm…’)
    #14 /home/SITE/public_html/wp-admin/admin-ajax.php(22): require_once(‘/home/beyondadm…’)
    #15 {main}
  • File: /home/SITE/public_html/wp-content/plugins/mainwp-child/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php
  • Line: 1029
  • Request: /wp-admin/admin-ajax.php
  • Referrer: https%3A%2F%2FSITE
  • User ID: 1

And another on:

  • Error Level: E_ERROR
  • Message: Uncaught phpseclib3\Exception\BadDecryptionException: Error decrypting ciphertext with OpenSSL in /home/SITE/public_html/wp-content/plugins/mainwp-child/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php:1029
    Stack trace:
    #0 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-keys-manager.php(196): phpseclib3\Crypt\Rijndael->decrypt(‘j\x88\x81!\xBC\xEA\xF1\xDC\xB6\xB0\xACr\xD5\xBF\xAB…’)
    #1 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-keys-manager.php(223): MainWP\Child\MainWP_Child_Keys_Manager->decrypt_string(‘e787QVKlW0XZfrr…’)
    #2 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-stats.php(192): MainWP\Child\MainWP_Child_Keys_Manager::get_encrypted_option(‘mainwp_child_se…’)
    #3 /home/SITE/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-callable.php(253): MainWP\Child\MainWP_Child_Stats->get_site_stats()
    #4 [internal function]: MainWP\Child\MainWP_Ch
  • File: /home/SITE/public_html/wp-content/plugins/mainwp-child/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Rijndael.php
  • Line: 1029
  • Request: /wp-admin/admin-ajax.php
  • Referrer: https%3A%2F%2FSITE
  • User ID: 3

Hey @dsbking, thanks for sharing the error log.

The team is looking into this and I will update this thread as soon we know more information.

The development team has prepared a pre-release version of the MainWP Child plugin that should help prevent future disconnections of this type.

If you wish, I can send you a pre-release version via a private message.

1 Like

Perfect, Yes I would like to try the updated plugin.

I have just sent you the pre-release version.

Let us know if you experience random disconnects again, and we will take a closer look.

Keep in mind that random disconnects can happen for various reasons, but we’re hopeful that this change will eliminate disconnects of this kind.

1 Like