-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDEV integration entered unknown state by timeout #83
Comments
This notification appears if the |
Also include the ddev version, |
No little red exclamation mark since my message on Discord, but plenty of these unknown state notifications. Still haven't got the full error to send you the ID of, I have been pressing the report button so I'm not sure where those go? Is there any other way to track them down?
I found my
Some things I'm taking from this
Edit: Adding more logging from earlier in the file. |
Have you restarted docker? What docker provider are you using? |
Sorry, I see it's docker desktop. do try restarting it. |
Hey @graham73may, Thanks for adding these information!
Please install the stable 1.0.0 release of the plugin.
Executing |
Looking in PHPStorm - plugin looks like it's updated since yesterday. Disabled ZSH, will see how the plugin behaves today and report back. |
Does this error occur right from the start? Does it allways timeout, or only sometimes? You can easily check by clicking "Sync DDEV State". This will retrigger the Thanks! |
@graham73may, thanks for your feedback! I am using ZSH too and like it quite much. ;)
As you can see the command takes longer than 5 seconds this is causing the timeout. So this is not a problem with the plugin but with a generally slow execution of the @rfay just told me that the output of |
I'll be happy to hop on a call with you ask well @graham73may - It would be interesting to see what |
Well
Can I send you a DM on discord with the output of that list? It contains a lot of client URLs as I'm sure you can imagine! Trying Output below
|
@rfay Sure thing, very happy to! Let me know if anything stands out in the debug info, if not I'll contact you on Discord :) |
Discord is fine, a gist is the best place for large blocks of text, thanks. |
You will want to increase the disk allocated in Docker Desktop and probably clean up also. |
Both commands executed! I've sent you a Discord with the output of RE number of projects running, no I only have 2 or 3 ddev sites running at once. I'll have a full project cull to bring the storage down and see how that goes! |
Thanks for the help debugging rfay! Some interesting results... swapped from Docker Desktop to Colima. Colima responsiveness:
After that, I've factory reset docker desktop.
I'll be moving over to Colima now.... Which will probably resolve this issue! |
Great that you found a solution @graham73may. Thanks for your support @rfay! |
Sad to hear... I would still love to understand why the ddev command is that slow for you, @graham73may . Could you maybe give some information about your hardware, CPU, HDD/SSD, Memory? |
System: Hard drive:
What is your PHPStorm heap size set to? (https://www.jetbrains.com/help/phpstorm/increasing-memory-heap.html) Mine's currently 2048. Would really appreciate if you can change it to 8 seconds and see if that helps 😅 . Thanks! |
Normally PhpStorm doesn't have to index all the time. What's up with it doing that all the time @graham73may ? I normally only see a big index when I open a project for the first time. |
Didn't understand you were asking for an edit to the comment. Edited. |
I keep getting it again after raised timeout to 20000ms. de.php_perfect.intellij.ddev still timeouts after 8 seconds.
|
kind reminder |
Hey @alexbogias, the timeout you encounter is the one set in the plugin for executing this command. You can not change it. This bug is very hard to fix as I can no reproduce it. |
OK I ll let you know when it come up again |
@nico-loeber Send you an email yesterday if you were available to work on it with a screen share. Maybe my mail is in you SPAM or something :( |
Thanks for your email @alexbogias and the information in it! It looks to me like this is a WSL issue in your case. I had this kind of error in the past as well, sometimes I tried to restart phpstorm and got different other errors as well, for example that my git version is out of date or even that there is no git installed. You can try to restart WSL by running Please try this the next time and give feedback. |
I have found this as well. I can ignore the error, but it's not clear what happens when you "Sync DDEV state". IMO this mostly happens when you open a DDEV project and DDEV is not running. |
This message informs you, that If |
Happens when I do a ddev snapshot restore. PHPStorm 2023.2 |
I just switched from laravel valet to ddev and am getting this error constantly. Running Colima with qemu on an M2 mac. Is there a way to keep the ddev plugin enabled in phpstorm but stop the popup notifications when this happens? You can clearly tell when it occurs by the ddev status indicator. |
This shouldn't happen at all, that's why I added the notification so I get feedback on this. |
@vpermits, thanks for your feedback! I will check if this is reproducible for me. |
@nico-loeber I think an option to stop the notifications would be useful for anyone who keeps getting the error. Following up, I've stopped getting the errors on my M2. I'm not sure why, but here's everything that changed that could possibly be related to the issue:
I hope that helps. |
I'm pretty surprised you could ever have done 2GB with Colima... And DNS is consistently a problem with Colima. @nico-loeber Orbstack is trending really strongly as an alternative to Colima. Not open-source, but really well maintained and super fast. You'll see it showing up in your world here. |
@rfay Thanks for the suggestion! Switching to orbstack took less than 10 minutes, and ALL of the issues I was having while using colima are gone--including this one. |
Seeing this too on frequently on
Colima was installed with recommended settings from DDEV docs ( If I can assist in debugging this somehow, happy to provide logs, etc. :) (I'll consider trying orbstack as well in future) |
I also switched to orbstack via https://docs.orbstack.dev/install#colima, works so far. 👍 But PhpStorm is still looking for colima for eslint. Could not find the setting for this (yet) 🤔 |
You may want to open an issue with Jetbrains in their PhpStorm queue to ask for Orbstack, if it hasn't already been requested. |
This error still exists in latest wsl / ddev / phpstorm and ddev phpstorm plugin :( |
The timeout of 8 seconds is too short IMO. When I run |
@richarddewit I'd be very happy to take a look with you. Here's what I see, the first time did take a second, the second time 0.1 seconds.
|
@rfay - I'm on MacOS btw (M2 Pro, Sonoma 14.1.1 (23B81))
|
@richarddewit I have no idea how you can get that, but I imagine it's because you have that misconfigured Fritzbox router. Would you mind reconfiguring it so that |
@rfay - ok apparently it only takes this long if I haven't run |
With internet disabled (should be similar to your router problem) and
I do think you'd be much happier if you do the simple reconfiguration of your Fritzbox router so DDEV doesn't have to add entries to your /etc/hosts file all the time :) |
Using versions:
In the IDE there is popup info with the following text:
Info pannel reports this error: |
Is there an existing issue for this?
Are you sure that this bug is related to this DDEV Integration Plugin?
Enter your error report ID (If available)
No response
Describe the bug
This notification triggers a lot.
Example from just doing general debug work on a project, loading a drupal site in the browser etc.
I can't work out what's causing it, I'm not interacting with any ddev commands or the plugin. My main suspicion was
ddev xdebug on/off
but I can run that pretty harmlessly.Thought maybe Drupal was quite heavy... so tried a plain php mini site I have. Same behaviour:
Steps to reproduce
Additional context
No response
The text was updated successfully, but these errors were encountered: