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:

ERR_TIMED_OUT

https://ibb.co/3TpBjW4

https://ibb.co/D7GJG5S

https://ibb.co/t26HNjW

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

Jaypan’s picture

You can restart DDev rather than restarting your whole system.

drupol’s picture

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. 

Jaypan’s picture

Sounds like a system problem, not a Drupal issue.

drupol’s picture

Okay, thanks!

pheski’s picture

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

allan.thecodemaster’s picture

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.

pheski’s picture

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

manosblim’s picture

Did you ever find a solution to this problem ?  I too am having a similar problem.