Can't remotely install plugins in .zip format

Hi all; I’ve already read all the relevant support topics on that issue, and checked every suggestion (disabled PHP modules, iThemes Security issues, folder permissions), but i’m facing this issue:

can’t install .zip plugins via mainWP dashboard; I’m using many different hosting providers (and some hosting are directly under my control) and the operation fails on ALL child sites.

There’s something I have overlooked at?

Thanks for any advice

Hi Meksone,

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Status → 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.

Hi Bogdan, thank you for the reply; here’s the report:

### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.11                                                 4.1.11                                       Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Advanced Uptime Monitor Extension  5.2.2                                                  API License Active                           Pass        
MainWP BackWPup Extension          4.0.4                                                  API License Active                           Pass        
MainWP Sucuri Extension            4.0.9                                                  API License Active                           Pass        
WordPress Version                  >=3.6                                                  5.8.3                                        Pass        
WordPress Memory Limit             >=64M                                                  128M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP Version                        >=7.0                                                  7.4.27                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           240                                          Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   32M                                          Pass        
PHP Post Max Size                  >=2M                                                   64M                                          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.58.0                                       Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1                                Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             opcache_get_status,                                    
PHP Loaded Extensions              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, 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
MySQL Version                      >=5.0                                                  10.1.48-MariaDB-0ubuntu0.18.04.1             Pass        
MySQL Mode                         NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION             
MySQL Client Encoding              utf8mb4                                                
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/1.0                                               
HTTPS                              ON                                                     
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       9.18 MB                                                
Request Time                       1641586524                                             
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.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              45                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksNo                                                     
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return  50                                                     
Maximum number of pages to return                                                         
Primary Backup System              MainWP BackWPup Extension                              
Maximum simultaneous requests      4                                                      
Minimum delay between requests     250                                                    
Maximum simultaneous requests per ip1                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests 8                                                      
Maximum simultaneous install and update requests3                                                      
Active Plugins                     
BackWPup                           3.10.0                                                 Active                                       
Debug Bar                          1.1.2                                                  Inactive                                     
Elementor                          3.5.3                                                  Active                                       
Elementor Pro                      3.5.2                                                  Active                                       
Mailjet for WordPress              5.2.12                                                 Active                                       
MainWP Dashboard                   4.1.11                                                 Active                                       
OoohBoi Steroids for Elementor     1.8.2                                                  Inactive                                     
SAWO Passwordless Authentication   2.0.4                                                  Inactive                                     
Sucuri Security - Auditing, Malware Scanner and Hardening1.8.30                                                 Active                                       
Trusona                            1.5.5                                                  Inactive                                     
Uncanny Automator                  3.5.2                                                  Inactive                                     
WP Hide & Security Enhancer        1.7.4                                                  Inactive                                     
WP Hide & Security Enhancer PRO    2.9.9                                                  Active                                       
WP Webhooks                        3.2.1                                                  Inactive                                     

Hi Meksone,

Thanks for the update.

When trying to install plugin by uploading ZIP file, Child Sites actually need to connect to Dashboard site to download the file. So when there is some security plugin or server-side security rule blocking that request, process will fail.

When I checked the report, I noticed the failed self-connect check:

I think that the rule that is blocking connection is blocking requests from child sites.

Can you try to disable all security plugins on the dashboard (just temporarily) and see if that helps?

Hi, thank you for the reply;
I’ve tried without any plugin (WP hide and Sucuri was the most suspect) but without success…
Maybe I can try to completely disable the firewall (I have full control on the host, it’s a cloud instance of Ubuntu) to see if that helps…

in the meantime, thank you for the hint :wink:

Hi, I’m posting the solution for future reference:

The real problem was the plugin “WP Hide & Security Enhancer” (that, strangely, works fine until now).
That plugin help the admin to set complex htaccess rewrite rules to hide sensitive data in Wordpress (default paths, plugin names and so on).
The option that cause troubles to mainWP to is “Block default Admin Url”, that have to be set on “no”.

After I’ve setted that option, the plugin update through .zip files starts to work again.

Thanks @bogdan , you’ve turned my attention to the right direction.

Last thing: mainWP error " Not expected HTTP response body:" on self connect is still present, but apparently that doesn’t cause any problem.


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