MainWP Community

Cannot connect to site; error Invalid request%21

Hi,

I have just installed MainWP. Seems like a fab tool, except I cannot use it. Running the setup wizard I choose WebHost as I’m not running a local install. Then when trying to connect the first site I get “Invalid request%21”. When I later take a look in the status I see SSL Warning: error:02001002:system library:fopen:No such file or directory.

I have looked through this forum but the solutions for same errors with other folk do not work for me. I even tried selecting a local Windows host and then entering the openssl.conf path from PHPInfo, but no dice. I am of course not running on a local Windows host, but a shared web host. The site I’m connecting to is on the main domain from which I’m running MainWP on a subdomain. So on the same host.

Hope someone can help.

Leon

Further information.

When looking through the error.log file I see this suspicious warning:

PHP Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in /subdomains/dashboard/wp-content/plugins/mainwp/class/class-mainwp-manage-sites-view.php on line 1608

Hi Leon, can you please check the solution from here: Can't connect a single site appears to be the same problem.

I don’t think it is the same. I did check the forum and look into this in great detail. In the end I looked into the database with MySQL to see what was stored for the openssl.conf path. The field in the database (in wp_options I think it was) is identical to the PHPInfo data.

When you check your localhost setup, can you please verify that the openssl.cnf acualy exists in the location?

It does not run on a localhost but on a shared Web server (just my ISP).

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:

image

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


### 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                  
No installed extensions            
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.3.15                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           120                                          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                                                   128M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                error:2006D080:BIO routines:BIO_new_file:no such fileWarning     
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.52.1                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.0.2u                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.3.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             apache_child_terminate, apache_get_modules, apache_note, apache_setenv, closelog, dl, exec, lchgrp, lchown, link, linkinfo, lstat, opcache_reset, openlog, passthru, pclose, pfsockopen, popen, posix_access, posix_ctermid, posix_get_last_error, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_initgroups, posix_isatty, posix_kill, posix_mkfifo, posix_mknod, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setrlimit, posix_setsid, posix_setuid, posix_strerror, posix_times, posix_ttyname, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, readlink, set_time_limit, shell_exec, symlink, syslog, system, virtual,
PHP Loaded Extensions              Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, posix, pspell, session, soap, sockets, sqlite3, standard, tidy, tip_wh, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.1.44-MariaDB-1~stretch                    Pass        
MySQL Mode                         NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION             
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64 bit                                                 
Server Protocol                    HTTP/1.1                                               
HTTPS                              ON - on                                                
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
Gateway Interface                  CGI/1.1                                                
Memory Usage                       9.23 MB                                                
Request Time                       1584376613                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              0                                                      
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                                                         
Maximum number of pages to return                                                         
Primary Backup System              Default MainWP Backups                                 
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                     
Akismet Anti-Spam                  4.1.3                                                  Inactive                                     
Hello Dolly                        1.7.2                                                  Inactive                                     
MainWP Dashboard                   4.0.7.2                                                Active                                       
WP-ServerInfo                      1.66                                                   Active                                       

I see there is still problem with the OpenSSL library on the server.

Can you send me temporary login to your dashboard via private message so I can check this further?

Hmmm. Ok. In need to see how I do this without sacrificing security. I do trust you, but I’m not entirely sure I should do this as you will potentially have access to my full site.

If it would make you feel more comfortable, you can open a helpdesk ticket where we can continue

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