Isn't Local supposed to be local

Bug Summary

I can’t use Local without an internet connection. Is that normal?

Steps to reproduce

I fire up a site in Local, switch off my wifi and from that point I can no longer navigate WP Admin. Occasionally a page will load after a long delay, but most of the time it just doesn’t load anything.

Environment Info

  • MacOS (latest)
  • All latest versions as of today.
  • Local version: Version 9.2.3+6776

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

  • Log extract: The log is massive, almost a meg of the same warning every few seconds about native mysql password deprecation:

{“class”:“Process”,“level”:“warn”,“message”:“2025-04-02T21:30:53.137744Z 1405 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ‘‘mysql_native_password’ is deprecated and will be removed in a future release. Please use caching_sha2_password instead’”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2025-04-02T21:30:53.137Z”}

and then this:

{"class":"LightningServicesService","level":"error","message":"network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json","stack":"FetchError: network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json\n    at Timeout.<anonymous> (%%appPath%%/node_modules/node-fetch/lib/index.js:1484:13)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","thread":"main","timestamp":"2025-04-02T21:31:01.164Z","type":"request-timeout"}
{"class":"LightningServicesService","level":"error","message":"network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json","stack":"FetchError: network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json\n    at Timeout.<anonymous> (%%appPath%%/node_modules/node-fetch/lib/index.js:1484:13)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","thread":"main","timestamp":"2025-04-02T21:31:01.167Z","type":"request-timeout"}
{"class":"addIpcAsyncListener","level":"warn","message":"Duplicate callback appears to be getting added to getWordpressTranslations","stringifiedCallback":"() => __awaiter(this, void 0, void 0, function* () { return this.getWordpressTranslations(); })","thread":"main","timestamp":"2025-04-03T08:40:03.751Z"}
{"class":"addIpcAsyncListener","level":"warn","message":"Duplicate callback appears to be getting added to connectManifestWpeService:create","stringifiedCallback":"(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain) => this.create(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain)","thread":"main","timestamp":"2025-04-03T08:40:03.753Z"}
{"level":"warn","linuxEdition":null,"localChannel":"stable","localVersion":"9.2.3+6776","message":"Electron Event ready","osArch":"arm64","osPlatform":"darwin","osRelease":"24.3.0","timestamp":"2025-04-03T08:40:03.893Z","windowsEdition":null}
{"class":"LightningServicesService","level":"error","message":"network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json","stack":"FetchError: network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json\n    at Timeout.<anonymous> (%%appPath%%/node_modules/node-fetch/lib/index.js:1484:13)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","thread":"main","timestamp":"2025-04-03T08:46:47.081Z","type":"request-timeout"}
{"class":"LightningServicesService","level":"error","message":"network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json","stack":"FetchError: network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json\n    at Timeout.<anonymous> (%%appPath%%/node_modules/node-fetch/lib/index.js:1484:13)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","thread":"main","timestamp":"2025-04-03T08:46:47.084Z","type":"request-timeout"}
{"class":"LightningServicesService","level":"error","message":"network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json","stack":"FetchError: network timeout at: https://getflywheel.github.io/local-lightning-services/site-services-v2.json\n    at Timeout.<anonymous> (%%appPath%%/node_modules/node-fetch/lib/index.js:1484:13)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","thread":"main","timestamp":"2025-04-03T08:46:47.109Z","type":"request-timeout"}
{"class":"Process","level":"warn","message":"AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using mdhs-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message","process":"httpd","thread":"main","timestamp":"2025-04-03T08:46:51.114Z"}
{"class":"Process","level":"warn","message":"2025-04-03T08:46:51.284701Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.","process":"mysql","thread":"main","timestamp":"2025-04-03T08:46:51.300Z"}
{"class":"Process","level":"warn","message":"2025-04-03T08:46:51.284705Z 0 [System] [MY-010116] [Server] %%userDataPath%%/lightning-services/mysql-8.0.35+2/bin/darwin-arm64/bin/mysqld (mysqld 8.0.35) starting as process 20734","process":"mysql","thread":"main","timestamp":"2025-04-03T08:46:51.300Z"}
{"class":"Process","level":"warn","message":"2025-04-03T08:46:51.287698Z 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.","process":"mysql","thread":"main","timestamp":"2025-04-03T08:46:51.300Z"}
{"class":"Process","level":"warn","message":"2025-04-03T08:46:51.289298Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","process":"mysql","thread":"main","timestamp":"2025-04-03T08:46:51.301Z"}
{"class":"Process","level":"warn","message":"2025-04-03T08:46:51.302869Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-04-03T08:46:51.303Z"}
{"class":"Process","level":"warn","message":"2025-04-03T08:46:51.308497Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-04-03T08:46:51.308Z"}

Hey @mark22222222!

As a test can you create a new, blank site and see if you can access that okay without the internet connection?

Hi Nick

Apologies, I should have done some proper testing before posting a bug.

I was able to create, edit and serve a perfectly functional site locally with no connection.

So I figured it might be my VPN (I leave it on while I’m off-line), switched if off and everything appears fine again.

No bug here thankfully, just a muppet with a keyboard.

Great bit of kit by the way…

2 Likes

No problem at all @mark22222222 I’m glad we were able to get to the bottom of it! Happy Developing :green_heart: