MainWP Community

One site disconnects repeatedly

I never had any disconnects until now, but now there is one site that disconnects repeatedly. Reconnecting after deactivating and reactivating the child plugin works for a short time.
The only thing I can think of that is different to all other sites I maintain is that it is redirected to a subdirectory install via index.php:
require( dirname( FILE ) . ‘/sub.directory/wp-blog-header.php’ );

TIA for your help.


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.0.7.2                                                4.0.7.2                                      Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Activity Log for MainWP            1.4.2                                                  Inactive                                     Warning     
Advanced Uptime Monitor Extension  5.0.2                                                  Active                                       Pass        
MainWP Branding Extension          4.0                                                    Active                                       Pass        
MainWP Bulk Settings Manager Extension4.0.1                                                  Active                                       Pass        
MainWP Clean and Lock Extension    4.0.1                                                  Active                                       Pass        
MainWP Client Reports Extension    4.0.3                                                  Active                                       Pass        
MainWP Code Snippets Extension     4.0                                                    Active                                       Pass        
MainWP Custom Dashboard Extension  4.0                                                    Active                                       Pass        
MainWP Favorites Extension         4.0.2                                                  Active                                       Pass        
MainWP iThemes Security Extension  4.0.1                                                  Active                                       Pass        
MainWP Maintenance Extension       4.0.1                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.0                                                    Active                                       Pass        
MainWP Sucuri Extension            4.0.4                                                  Active                                       Pass        
MainWP Team Control                4.0                                                    Active                                       Pass        
MainWP Time Capsule Extension      4.0.1                                                  Active                                       Pass        
Toolbar Extras for MainWP          1.1.0                                                  Inactive                                     Warning     
WordPress                          
WordPress Version                  >=3.6                                                  5.3.2                                        Pass        
WordPress Memory Limit             >=64M                                                  256M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.2.27                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           30                                           Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   16M                                          Pass        
PHP Post Max Size                  >=2M                                                   16M                                          Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.67.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1d                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.2.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             No functions disabled.                                 
PHP Loaded Extensions              Core, PDFlib, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, gnupg, hash, iconv, imagick, imap, intl, jsmin, json, ldap, libxml, mailparse, mbstring, mcrypt, mongodb, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, recode, scrypt, session, snmp, soap, sockets, sodium, sqlite3, ssh2, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.1.44-MariaDB                              Pass        
MySQL Mode                         NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION             
MySQL Client Encoding              utf8mb4                                                
Server Info                        
Server Software                    Apache                                                 
Operating System                   FreeBSD                                                
Architecture                       64 bit                                                 
Server Protocol                    HTTP/2.0                                               
HTTPS                              ON - on                                                
Server self connect                Response Test O.K.                                     
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:73.0) Gecko/20100101 Firefox/73.0
Gateway Interface                  CGI/1.1                                                
Memory Usage                       16.31 MB                                               
Request Time                       1582732804                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              25                                                     
Use WP-Cron                        No                                                     
Optimize for Shared Hosting or Big NetworksYes                                                    
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return                                                         
Maximum number of pages to return                                                         
Primary Backup System              MainWP WP Time Capsule Extension                       
Maximum simultaneous requests      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip1                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests                                                        
Minimum simultaneous install/update requests                                                       
Active Plugins                     
Activity Log for MainWP            1.4.2                                                  Active                                       
Backup and Staging by WP Time Capsule1.21.20                                                Active                                       
Duplicator Pro                     3.8.7.1                                                Active                                       
Easy Updates Manager               9.0.1                                                  Active                                       
iThemes Security Pro               6.4.2                                                  Active                                       
MainWP Child                       4.0.7                                                  Active                                       
MainWP Dashboard                   4.0.7.2                                                Active                                       
MainWP Time Capsule Extension      4.0.1                                                  Active                                       
Toolbar Extras                     1.4.9                                                  Active                                       
Toolbar Extras for MainWP          1.1.0                                                  Active                                       
WP Crontrol                        1.7.1                                                  Active                                       
WP Reset PRO                       5.24                                                   Active                                       

Hi Lukas, for the start, can you please confirm that you are running the latest MainWP Child 4.0.7 on your child site and if the problem persists if you temporarily deactivate all plugins except for MainWP Child on the site?

Thanks Bogdan, 4.0.7 confirmed.
Sorry, I can’t take the site offline that long (it just launched).
Most of the plugins are the same as those on most of my sites that never disconnect.
And I don’t see anything suspicious with the ones that are special.
Don’t you suspect that redirection thing?

Hi Lukas, I had a problem with 2 sites being disconnected also. It turns out that my url in my site settings was http instead of https. Could this be your issue also?

thanks, http/https wasn’t my issue, but since the disconnects stopped today, it most probably was a temporary problem with the hosting service’s shared server. I also saw Gateway Timeouts when a plugin update finished and while staging the site using WP Time Capsule.

Thanks also @bogdan

1 Like

Hi Lukas, thanks for letting us know. Please monitor your sites over the next couple of days and let us know if the problem comes back.

Gateway Timeout is probably the server-side problem, so if the problem continues, please check with your host about increasing certain limitations that cause this.

2 Likes

Hey Lukas, is everything ok with the site last few days?

2 Likes

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