Hello,
I have ddev local environment set up. At first start of laptop, drupal runs just fine in ddev environment (very slow tho). After computer stays idle for few hours, everything stops working. I also end the docker service from the task manager and then try to restart everything, still nothing works. I get this error when I try to access the site
This site can’t be reached
ddev-drupal9.ddev.site took too long to respond.
Try:
- Checking the connection
- Checking the proxy and the firewall
- Running Windows Network Diagnostics
ERR_TIMED_OUT
I face this issue almost every day while docker containers are still running. In this case, I restart the laptop to make everything work again. How can I fix it without restarting the laptop each time?
Comments
You can restart DDev rather
You can restart DDev rather than restarting your whole system.
How do you restart DDev? DDev
How do you restart DDev? DDev commands do not run when I have the issue. I tried DDev poweroff commands before. It did not do anything. DDev commands work just fine when I start my laptop. DDev commands stop working after system is idle for few hours or overnight.
Sounds like a system problem,
Sounds like a system problem, not a Drupal issue.
Okay, thanks!
Okay, thanks!
Might want to check in Discord DDEV support
rfay does a fantastic job supporting ddev and helping folks solve problems through the DDEV discord channel. If you haven't solved this, I'd ask there.
https://discord.gg/kDvSFBSZfs
Same issue, random intervals in occurances.
At one point a simple ddev start works well and I can access my site and at another point I get the famous site cant be reached on the same system, frankly I don't think its OS or laptop issue, it must an issue between DDEV, Drupal and Docker, I hope this year this issue can taken a little more seriously because its always been here and a lot of people lose a lot of time when this issue happens. It get quite frustrating.
Personally I don't have the expertise to diagnose the problem and see which software between the three is responsible however this incompatibility is quite costly.
Suggest asking your question on Discord
DDEV has a pretty active support community ( > 1600 members) on Discord. Randy Fay who maintains DDEV is active there. DDEV has debugging tools.
I'd urge you to post your problem on Discord. If it is actually a DDEV problem, that is your best source of help. They are also excellent at helpibng you isolate problems originating outside the DDEV realm and pointing to solutions.
DDEV on Discord: https://discord.gg/5wjP76mBJD
Did you ever find a solution
Did you ever find a solution to this problem ? I too am having a similar problem.