Local Community

Local Lightning on Mac cannot establish a connection to WordPress.org

I think the instructions here are out of date:

https://localwp.com/help-docs/local-site-cannot-establish-a-connection-to-wordpress-org/

I’m on Mac High Sierra using the latest version of Local (5.6.8+4514).

My Local site doesn’t connect to Wordpress.org, meaning I can’t do updates (I get a curl timeout error). My local site is also very slow.

Hey @loisovervoorde, Welcome to the Local Community Forums!

Thanks for the heads about the out of date help docs, I’ll make a note to review them and update as needed!

As for why this his happening, usually with a curl timeout that means that something is preventing Local from making a connection to WordPress.org.

Do you have any antivirus software installed?

Can you also please provide your Local Log so we can take a closer look at what’s going on in Local? See this Community Forum post for instructions on how to do so:

Thanks for the quick reply!
I have Sophos Antivirus, but I tried disabling it with no effect.
Here is the log from today’s startup:

{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/apache-2.4.43+4/lib/main.js","timestamp":"2020-08-12T06:02:23.341Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/apache-2.4.43+4/lib/main.js","timestamp":"2020-08-12T06:02:23.404Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/php-5.6.39+6/lib/main.js","timestamp":"2020-08-12T06:02:23.406Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/php-5.6.39+6/lib/main.js","timestamp":"2020-08-12T06:02:23.473Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2020-08-12T06:02:23.476Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2020-08-12T06:02:23.478Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+3/lib/main.js","timestamp":"2020-08-12T06:02:23.480Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+3/lib/main.js","timestamp":"2020-08-12T06:02:23.529Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+3/lib/main.js","timestamp":"2020-08-12T06:02:23.531Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+3/lib/main.js","timestamp":"2020-08-12T06:02:23.580Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+3/lib/main.js","timestamp":"2020-08-12T06:02:23.582Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+3/lib/main.js","timestamp":"2020-08-12T06:02:23.626Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+10/lib/main.js","timestamp":"2020-08-12T06:02:23.628Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+10/lib/main.js","timestamp":"2020-08-12T06:02:23.671Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%appPath%%/node_modules/@getflywheel/local-addon-broken-link-checker/lib/main.js","timestamp":"2020-08-12T06:02:23.673Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%appPath%%/node_modules/@getflywheel/local-addon-broken-link-checker/lib/main.js","timestamp":"2020-08-12T06:02:23.674Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/local-components/package.json","level":"info","timestamp":"2020-08-12T06:02:23.675Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/localcert/package.json","level":"info","timestamp":"2020-08-12T06:02:23.675Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/localtunnel/package.json","level":"info","timestamp":"2020-08-12T06:02:23.676Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/memoize-one-ts/package.json","level":"info","timestamp":"2020-08-12T06:02:23.677Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"main\" or \"renderer\" specified in package.json: %%appPath%%/node_modules/@getflywheel/replacestream/package.json","level":"info","timestamp":"2020-08-12T06:02:23.677Z"}
{"thread":"main","class":"","message":"Compiling service configs...","level":"info","timestamp":"2020-08-12T06:02:35.611Z"}
{"thread":"main","class":"Process","process":"httpd","level":"warn","message":"AH00557: httpd: apr_sockaddr_info_get() failed for hel0lois15","timestamp":"2020-08-12T06:02:36.065Z"}
{"thread":"main","class":"Process","process":"httpd","level":"warn","message":"AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message","timestamp":"2020-08-12T06:02:36.065Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-12T06:02:36.147476Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+3/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 15736","timestamp":"2020-08-12T06:02:36.932Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-12T06:02:36.153964Z 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":"2020-08-12T06:02:36.933Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-12T06:02:36.158524Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2020-08-12T06:02:36.933Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-12T06:02:36.894969Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2020-08-12T06:02:36.934Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-12T06:02:36.932289Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+3/bin/darwin/bin/mysqld: ready for connections. Version: '8.0.16'  socket: '%%site.runData%%/mysql/mysqld.sock'  port: 10008  MySQL Community Server - GPL.","timestamp":"2020-08-12T06:02:36.934Z"}

There’s not too much going on in that log file.

Is there anything special about the connection to the internet? For example, are you using a VPN, or any other tool to manage the connection?

Are you able to take a screencast of where you are seeing this message?