When i first installed localwp, it was running fine. but since yester day this is the messsage i have been getting " 504
Request Timed Out
The page you requested generated a server timeout and could not be processed. If you continue to get this message after refreshing, try restarting the Local site.
If the error persists, check the Local Router Logs in Local by going to
Help » Reveal Local Router’s Logs. One or two sentence summary of the issue.
Troubleshooting Questions
Does this happen for all sites in Local, or just one in particular?
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
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!
System Details
Which version of Local is being used?
v 6.1.1
What Operating System (OS) and OS version is being used?
For example: macOS Catalina or Windows 10 Professional
windows 10 professional
Attach the Local Log. See this Help Doc for instructions on how to do so:
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.
A lot of things can cause a 504, to start you might simply try restarting Local, or restarting your machine. If you’re running any other large programs and Local at the same time you might try closing those down.
local-lightning.log (1005.3 KB)
I think I have tried most the things you suggested. I have uploaded my local logs to this reply for your perusal and hopefully come up with a suggestion that can help me resolve it.
Do you have any antivirus, security, or firewall applications that could be blocking Local? It looks like from the log it might be having trouble connecting.
More details about troubleshooting this here: Router Mode
Thank you, Nick, but I have tried my possible best to try to find a solution to this problem. I read the troubleshooting in router mode but still no headway. I even tried to fetch out what is listening to port 80. But for some reason, I can’t find port 80 on my command prompt. A screenshot of the command prompt is attached
Do you have any antivirus, security, or firewall applications that could be blocking Local? It looks like from the log it might be having trouble connecting.
More details about troubleshooting this here: Router Mode
To back up here a little bit, do you get the 504 errors just when you’re using Local with any site? Or is it only a specific site? For example, if you create a new, blank site in Local do you still get errors?
When the hosts file is unable to be updated that usually indicates something is still blocking Local. Are you running any other developer applications simultaneously?
But it was working before. I downloaded it like a week and used it consistently for that week before I started facing this challenges of errors. I have not downloaded anything on my system. In fact localwp was the last application I installed on my PC.
If an application is disturbing it from running I should have been faced with the problem from day one that I installed it. Don’t you think?
When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).
Check and see if the issue still persists. If so, please provide us with an updated log. Retrieving Local’s Log File
Thank you very much Nick for the help so far rendered. Below is an update of my journey.
On the error 504 issue, I have tried all what you asked me to try out. The error 504 was not resolved. However you told me to install the updated version of localwp which I did. You also told me it was pertinent to export my website in a folder in another section of my laptop. I tried to export the website from localwp to a separate file, but i got an error message in doing that.
Nevertheless I uninstalled the version I had and installed the newer version. after the installation of the new version the error 504 disappeared. but right now the error message i am getting from my home page when I click visit my site is (" This page doesn’t seem to exist.
It looks like the link pointing here was faulty. Maybe try searching?"). but the thing is if I go to my pages on WordPress and click home page I don’t get that error message. I don’t know why I am getting that kind of message when I click on visit my site on WordPress?
You may also try utilizing a different browser (Firefox, Safari, Internet Explorer if you’re using Chrome for example) or an Incognito window to troubleshoot further.
The easiest way to open an Incognito window is with the keyboard shortcut combination Ctrl-Shift-N (Windows) or Command-Shift-N (macOS). Another way is to click on the menu on the upper right — it’s three vertical dots — and select New Incognito Window from the list.