HTTP connection timeout

I have a child site that disconnect randomly with the error HTTP error - Connection timed out after 10000 milliseconds
Reconnecting gives me same error.
After few days I can reconnect again. But then again it disconnects again.
What is the reason for this error message? And how to fix?

Hey @alainL

Connection time out usually means that there’s a security rule on the child site that’s blocking the connection from the Dashboard.

How many times did you have to reconnect the child site, and did you have to do anything (e.g. turning off some plugins) on the child site itself to reconnect it?

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.

This is the second time it happens. I didn’t do anything special to reconnect the first time. It just worked again.

This is the system report:


### WordPress Check                Required                                               Detected                                     Status   ###

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

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        NSS/3.53.1                                   Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.18.1                                               7.29.0                                       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 ( V7.4.)                                             
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, ionCube Loader, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PHP Post Max Size                  >=2M                                                   64M                                          Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   64M                                          Pass        
PHP Version                        >=7.0                                                  7.4.33                                       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                                                  10.3.37-MariaDB                              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                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       85.44 MB                                               
Operating System                   Linux                                                  
Request Time                       1674845556                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    Yes                                                    
Cache control enabled              No                                                     
MainWP Dashboard Version           Latest: 4.3.1 | Detected: 4.3.1 Pass                   
MainWP legacy backups enabled      No                                                     
Maximum number of comments         50                                                     
Maximum number of pages to return  50                                                     
Maximum number of posts to return  50                                                     
Maximum simultaneous install and update requests3                                                      
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 8                                                      
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of child sites              51                                                     
Optimize for shared hosting or big networksYes                                                    
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              MainWP UpdraftPlus Extension                           
REST API enabled                   No                                                     
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.0                                                                                                           
Advanced Uptime Monitor Extension  5.2.2                                                  Actived                                      Pass        
Dashboard Lock                     4.0.2                                                  Actived                                      Pass        
MainWP Bulk Settings Manager Extension4.0.5                                                  Actived                                      Pass        
MainWP Clone Extension             4.0.3                                                  Actived                                      Pass        
MainWP Code Snippets Extension     4.0.3                                                  Actived                                      Pass        
MainWP Comments Extension          4.0.7                                                  Actived                                      Pass        
MainWP Custom Dashboard Extension  4.1.2                                                  Actived                                      Pass        
MainWP File Uploader Extension     4.1.1                                                  Actived                                      Pass        
MainWP Google Analytics Extension  4.0.5                                                  Actived                                      Pass        
MainWP Lighthouse Extension        4.0.2                                                  Actived                                      Pass        
MainWP Maintenance Extension       4.1.2                                                  Actived                                      Pass        
MainWP Pro Reports Extension       4.0.13                                                 Actived                                      Pass        
MainWP Rocket Extension            4.0.5                                                  Actived                                      Pass        
MainWP Staging Extension           4.0.4                                                  Actived                                      Pass        
MainWP UpdraftPlus Extension       4.0.8                                                  Actived                                      Pass        
MainWP Vulnerability Checker Extension4.1.2                                                  Actived                                      Pass        
MainWP White Label Extension       4.1.3                                                  Actived                                      Pass        
MainWP WooCommerce Shortcuts Extension4.1.1                                                  Actived                                      Pass        
MainWP WooCommerce Status Extension4.0.8                                                  Actived                                      Pass        
MainWP Wordfence Extension         4.0.9                                                  Actived                                      Pass        

### Plugin                         Version                                                Status                                    ###

Activity Log                       2.8.5                                                  Active                                       
Activity Log for MainWP            2.1.0                                                  Active                                       
MainWP Dashboard                   4.3.1                                                  Active                                       
MainWP Key Maker                   1.2                                                    Active                                       
UpdraftPlus - Backup/Restore       2.22.25.26                                             Active                                       
Wordfence Security                 7.8.2                                                  Active                                       
WP Crontrol                        1.15.1                                                 Active                                       

Nothing in your system report stands out as an obvious issue.

And considering the Connection Time out is affecting only one child site, it is likely that a security rule on the child site is causing the disconnection.

If the disconnections start to reoccur, you may try following some of the following steps to see if it will help.

  1. Do you use some security plugins on your child site? If yes, can you try to temporarily disable them and see if that helps?

  2. Do you have any security rules present in the .htaccess file of the child site? If yes, can you try temporarily removing them and see if that helps?

  3. Do you use Cloudflare or any other cloud proxy firewall? If yes, can you try to whitelist your Dashboard IP or temporarily disable it to see if that helps?

  4. Do you use any kind of server-side security measures such as mod_security or server-side firewalls? If yes, can you try to temporarily disable them and see if that helps?

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