I’m not exactly sure what order I had initial issues in or what order I attempted to fix them but I still have several issues - I’ll do my best to explain them.
Created a new site to use for MainWP (site name MainWP). However, I had issues even before installing the MainWP plugin. I seemed to have resolved initial issues with making the site trusted. I have found on another thread here that said that Chrome needed to be restarted and I did seem to have a secure connection after that, but back on the Local dashboard if I click off to another site in my list of websites and go back, it no longer says it’s trusted. So, question 1: should the Trusted message stick and remain as Trusted?
When I tried to install the MainWP plugin, I was getting a curl error and I think that was caused by Kaspersky blocking the connection - however, I’m not not sure what settings are necessary to allow Local and the local sites to work properly. I have added Local as a trusted application in Kaspersky but I don’t fully understand all the various options so I’m not sure exactly what I need to do. I know that I’ve had to add a few other trusted applications (incluiding ngrok-i386.exe) to Kaspersky in the last month or so as it looks like they have tightened up on what they allow.
I’ve seen various error messages in WordPress admin on this site but some were caused by blocking by Kaspersky. However, I’ve still left with this error on all MainWP pages:
Warning: openssl_pkey_export(): cannot get key from parameter 1 in C:\Users\livec\Local Sites\mainwp\app\public\wp-content\plugins\mainwp\pages\page-mainwp-server-information-handler.php on line 216
(I’ve pasted the call stack below.)
So it still looks like there is an SSL issue of some sort. If I exit Kaspersky and reload the page, I still get the same error so it’s not Kaspersky’s fault here.
So, I’m confused and not entirely clear what I’ve done so far so I’m looking for suggestions on how to diagnose this further. I obviously don’t know whether this is a Local issue or a MainWP issue but because of the Trusted issue I mentioned, I think I need to understand that first before going to MainWP support.
All help greatly appreciated!
System Details
-
Which version of Local is being used?
Local 15.10.1+5267 -
What Operating System (OS) and OS version is being used?
Windows 10 Home 19041.867
Chrome 89.0.4389.82
Kaspersky Internet Security 21.2.16.590 (0)
Log file of recent entries
{"thread":"main","class":"Process","process":"mailhog","pid":9132,"level":"info","message":"Killing process","timestamp":"2021-03-12T22:06:19.431Z"}
{"thread":"main","class":"Process","process":"phpCgi","pid":25364,"level":"info","message":"Killing process","timestamp":"2021-03-12T22:06:19.499Z"}
{"thread":"main","class":"Process","process":"phpCgi","pid":26456,"level":"info","message":"Killing process","timestamp":"2021-03-12T22:06:19.596Z"}
{"thread":"main","class":"Process","process":"nginx","pid":19804,"level":"info","message":"Killing process","timestamp":"2021-03-12T22:06:19.728Z"}
{"thread":"main","class":"Process","process":"mysql","pid":23816,"level":"info","message":"Killing process","timestamp":"2021-03-12T22:06:19.871Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-03-12T22:06:20.033Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting %%userDataPath%%\\run\\LlAIe4Hob","level":"info","timestamp":"2021-03-12T22:06:20.781Z"}
{"thread":"main","reason":{},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-03-12T22:06:24.043Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2021-03-12T22:06:24.798Z"}
{"thread":"main","class":"HostsFileService","stdout":"Updating hosts file at C:\\WINDOWS\\System32\\drivers\\etc\\hosts\nUpdated hosts file at C:\\WINDOWS\\System32\\drivers\\etc\\hosts\n","stderr":"","level":"info","message":"Updated hosts.","timestamp":"2021-03-12T22:06:28.665Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2021-03-12T22:07:17.258Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2021-03-12T22:07:17.262Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-03-12T22:07:17.326Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"dataPath":"C:/Users/livec/AppData/Roaming/Local/run/P5EbU76So/mysql/data","level":"info","message":"Initializing MySQL datadir...","timestamp":"2021-03-12T22:07:17.452Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-03-12T22:07:26.180Z"}
{"thread":"main","class":"Process","process":"nginx","pid":12824,"level":"info","message":"Killing process","timestamp":"2021-03-12T22:07:26.652Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2021-03-12T22:07:27.658Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"message":"Setting up MySQL user...","level":"info","timestamp":"2021-03-12T22:07:27.685Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-03-12T22:07:26.712855Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\\lightning-services\\mysql-8.0.16+5\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 23172","timestamp":"2021-03-12T22:07:29.854Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-03-12T22:07:26.716720Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2021-03-12T22:07:29.855Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-03-12T22:07:29.811486Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-03-12T22:07:29.855Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-03-12T22:07:29.855166Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\\lightning-services\\mysql-8.0.16+5\\bin\\win64\\bin\\mysqld.exe: ready for connections. Version: '8.0.16' socket: '' port: 10083 MySQL Community Server - GPL.","timestamp":"2021-03-12T22:07:29.857Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"message":"Creating MySQL database...","level":"info","timestamp":"2021-03-12T22:07:30.536Z"}
{"thread":"main","class":"HostsFileService","stdout":"Updating hosts file at C:\\WINDOWS\\System32\\drivers\\etc\\hosts\nUpdated hosts file at C:\\WINDOWS\\System32\\drivers\\etc\\hosts\n","stderr":"","level":"info","message":"Updated hosts.","timestamp":"2021-03-12T22:07:32.083Z"}
{"thread":"main","class":"WordPressInstaller","message":"Init WordPressInstaller","level":"info","timestamp":"2021-03-12T22:07:32.085Z"}
{"thread":"main","class":"WordPressInstaller","message":"Starting standardInstall()","level":"info","timestamp":"2021-03-12T22:07:32.086Z"}
{"thread":"main","class":"WordPressInstaller","message":"maybeGetLatestVersion()","level":"info","timestamp":"2021-03-12T22:07:32.086Z"}
{"thread":"main","class":"WordPressInstaller","latestOfflineWpVersion":"5.7","level":"info","message":"Latest offline version info","timestamp":"2021-03-12T22:07:32.087Z"}
{"thread":"main","class":"WordPressInstaller","version":"5.7","download":"https://downloads.wordpress.org/release/wordpress-5.7.tar.gz","level":"info","message":"Latest version info","timestamp":"2021-03-12T22:07:32.422Z"}
{"thread":"main","class":"WordPressInstaller","message":"Configuring wp-config.php","level":"info","timestamp":"2021-03-12T22:07:40.623Z"}
{"thread":"main","class":"WordPressInstaller","message":"Installing WordPress","level":"info","timestamp":"2021-03-12T22:07:41.258Z"}
{"thread":"main","class":"WordPressInstaller","message":"Attempting to delete Akismet and Hello Dolly","level":"info","timestamp":"2021-03-12T22:07:43.528Z"}
{"thread":"main","class":"WordPressInstaller","message":"Writing salts to wp-config.php","level":"info","timestamp":"2021-03-12T22:07:45.399Z"}
Call stack for the error above:
Call Stack
# Time Memory Function Location
1 0.0007 420088 {main}( ) ...\admin.php:0
2 0.3645 17755896 do_action( ) ...\admin.php:259
3 0.3645 17756272 WP_Hook->do_action( ) ...\plugin.php:484
4 0.3645 17756272 WP_Hook->apply_filters( ) ...\class-wp-hook.php:316
5 0.3645 17757400 MainWP\Dashboard\MainWP_Updates::render( ) ...\class-wp-hook.php:292
6 0.3681 17877760 MainWP\Dashboard\MainWP_Updates::render_header( ) ...\page-mainwp-updates.php:613
7 0.3681 17878136 MainWP\Dashboard\MainWP_UI::render_top_header( ) ...\page-mainwp-updates.php:152
8 0.3748 17881912 do_action( ) ...\class-mainwp-ui.php:636
9 0.3748 17882288 WP_Hook->do_action( ) ...\plugin.php:484
10 0.3748 17882288 WP_Hook->apply_filters( ) ...\class-wp-hook.php:316
11 0.3748 17883416 MainWP\Dashboard\MainWP_System_View::admin_notices( ) ...\class-wp-hook.php:292
12 0.3749 17883896 MainWP\Dashboard\MainWP_System_View::render_notice_config_warning( ) ...\class-mainwp-system-view.php:306
13 0.3749 17883896 MainWP\Dashboard\MainWP_Server_Information_Handler::is_openssl_config_warning( ) ...\class-mainwp-system-view.php:349
14 0.3749 17883896 MainWP\Dashboard\MainWP_Server_Information_Handler::get_ssl_warning( ) ...\page-mainwp-server-information-handler.php:231
15 0.3752 17883920 openssl_pkey_export ( ) ...\page-mainwp-server-information-handler.php:216
[/details]