Open graham73may opened 2 years ago
@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! I got it yesterday and it was not in spam but sadly I didn't had any time for a screenshare.
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.
This was caused by the git --version
command that timed out / failed in the WSL.
You can try to restart WSL by running wsl --shutdown
in a powershell. You might need to restart docker desktop, as it will get in trouble when its linux backend is gone. ;)
Please try this the next time and give feedback.
This error occurred with me this morning when waking my computer. It had been in sleep mode overnight, but the error did not trigger until many hours later, around 6:00am this morning.
Clicking on the 'Sync DDEV State' has no visual effect or recovery and the message remains.
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.
I have found this as well. I can ignore the error, but it's not clear what happens when you "Sync DDEV state".
This message informs you, that ddev describe
failed to execute for some reason. It should happen together with an error you can report, that gives you more detail why it failed.
If ddev describe
fails, ddev features like the start / restart / poweroff buttons will be disabled, since the plugin does not know the current state of ddev. By clicking "Sync DDEV State" the state of the plugin gets reset and the ddev describe
is executed again. If everything works fine the status, shown on the lower right corner, will switch from "Unkown" to "Running".
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.
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. Sadly it seems quite inpredictable and hard to debug, at least on my hardware so this is an issue that exists for quite a long time, even there were alreadys some improvements on this. I can maybe add something like an "Accept and Don't show again" option. What do you think about it @langlers?
Happens when I do a ddev snapshot restore. PHPStorm 2023.2
@vpermits, thanks for your feedback! I will check if this is reproducible for me.
Is there a way to keep the ddev plugin enabled in phpstorm but stop the popup notifications when this happens?
I can maybe add something like an "Accept and Don't show again" option. What do you think about it @langlers?
@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 (colima start --cpu 4 --memory 6 --disk 100 --vm-type=qemu --mount-type=sshfs --dns=1.1.1.1
, only switched network driver to slirp
).
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.
Good news: I asked the support, but it turned out I just needed to hit "reset" here
After resetting, eslint it worked fine. 🥳
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 ddev --version
it consistently runs for 15 seconds
@richarddewit I'd be very happy to take a look with you. ddev --version
should never take 15 seconds. Could you please show the output of time ddev --version
? And also please do a ddev debug test
and put the output in a gist on gist.github.com and give a link here? (a text file attached would be OK also).
Here's what I see, the first time did take a second, the second time 0.1 seconds.
$ time ddev --version
ddev version v1.22.6
real 0m1.331s
user 0m0.028s
sys 0m0.054s
rfay@rfay-tag1-m1:~/workspace/ddev$ time ddev --version
ddev version v1.22.6
real 0m0.122s
user 0m0.020s
sys 0m0.040s
@rfay - I'm on MacOS btw (M2 Pro, Sonoma 14.1.1 (23B81))
$ time ddev --version
ddev version v1.22.6
ddev --version 0.07s user 0.09s system 1% cpu 15.494 total
@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 *.ddev.site
works and maybe that will be the issue? See https://ddev.readthedocs.io/en/latest/users/usage/troubleshooting/#dns-rebinding-prohibited-mostly-on-fritzbox-routers
@rfay - ok apparently it only takes this long if I haven't run ddev start
yet. Afterwards it's nearly instant.
With internet disabled (should be similar to your router problem) and ddev poweroff
I see
$ time ddev --version
ddev version v1.22.6
real 0m0.208s
user 0m0.035s
sys 0m0.076s
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:
The DDEV Integration Plugin has lost track of the DDEV status. This most likely occurs together with another related error message. Please report this issue if it occurs repeatedly.
Info pannel reports this error:
java.lang.IllegalStateException: There is no ProgressIndicator or Job in this thread, the current job is not cancellable.
at com.intellij.openapi.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:128)
at com.intellij.openapi.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:126)
at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:83)
at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:126)
at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:121)
at com.intellij.execution.wsl.WslIjentUtil.runProcessBlocking(WslIjentUtil.kt:63)
at com.intellij.execution.wsl.WSLDistribution.lambda$patchCommandLine$2(WSLDistribution.java:239)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:491)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:464)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:357)
at com.intellij.execution.process.OSProcessHandler.startProcess(OSProcessHandler.java:86)
at com.intellij.execution.process.OSProcessHandler.
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