Will hang after loading 1 or 2 pages

Issue Summary

Local runs fine all my sites except for this one particular site. I start the site and load the homepage just fine. I log in to admin and it will hang. Once it hangs all other pages including frontend will hang until I restart the site. The Local interface will then report “The site’s Wordpress URL settings do not match the host set in Local”

I have tried with pretty names and localhost ports. I have tried with default Wordpress 2021 theme and same result. Perhaps it’s a database issue.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

One site.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?

Yes

Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

Start the site
Log into admin
If it doesn’t hang on the dashboard the second or third admin screen will cause the site to hang killing the frontend also

System Details

  • Which version of Local is being used?

6.2.0

  • What Operating System (OS) and OS version is being used?
    • For example: macOS Catalina or Windows 10 Professional

Mac Monterey

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:05:23.321573Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 2168”,“timestamp”:“2022-01-27T11:05:25.251Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:05:23.323886Z 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”:“2022-01-27T11:05:25.251Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:05:23.324499Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive”,“timestamp”:“2022-01-27T11:05:25.251Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:05:25.239177Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2022-01-27T11:05:25.252Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:05:25.250530Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10014 MySQL Community Server - GPL.”,“timestamp”:“2022-01-27T11:05:25.252Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:09:10.321620Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 2331”,“timestamp”:“2022-01-27T11:09:11.406Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:09:10.323893Z 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”:“2022-01-27T11:09:11.406Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:09:10.324453Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive”,“timestamp”:“2022-01-27T11:09:11.407Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:09:11.394239Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2022-01-27T11:09:11.407Z”}

{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-27T11:09:11.405639Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10014 MySQL Community Server - GPL.”,“timestamp”:“2022-01-27T11:09:11.407Z”}

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Looks like this might potentially be caused by Wordfence. When I enabled it everything slowed down and then hung. Happy to disable this for local development, but does anyone else have this same issue?

Unfortunately this must have been a coincidence as the problem is back. I’ve tried switching from Nginx to Apache but it throws a similar error:

[Wed Feb 09 16:33:59.996332 2022] [proxy_fcgi:error] [pid 3288:tid 13034500096] (70007)The timeout specified has expired: [client 127.0.0.1:60365] AH01075: Error dispatching request to :10013: (polling), referer: http://orthoracle.local/subscribe/

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