PhpStorm stalls on "Connecting." in "Checking PhpStorm Helpers Version"

Answered

Trying to 'Run' a Remote PHP (Vagrant) CLI command. It connects to Vagrant just fine, then pops up a window titled "Checking PhpStorm Helpers Version". It has been stuck "Connecting." for the past 20 minutes and more. The only way I can interact with my project window again is force-quitting PhpStorm and restarting.

Just started happening yesterday. What's going on? I can run "Check for Updates..." without trouble. Assuming this also checks plugin versions, it's not that.
--------------

PhpStorm 2018.1.6
Build #PS-181.5281.35, built on June 14, 2018

JRE: 1.8.0_152-release-1136-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.5

4 comments

Hello,

Are there any errors/messages in Help > Show Log in Finder > idea.log?

0

Good morning, Vladimir. This is the only thing in the logs, while this is happening: 

2018-07-09 09:19:33,220 [ 928943] INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @52301cdf to vagrant@127.0.0.1:2222 
2018-07-09 09:19:33,330 [ 929053] INFO - ugins.remotesdk.RemoteTransfer - Uploading helpers to /home/vagrant/.phpstorm_helpers
2018-07-09 09:19:33,423 [ 929146] INFO - s.webDeployment.PublishUtils$1 - Using "/var/folders/nb/hqlcbg8n6tzfby5xk34npm5w0000gn/T/vfs_cache" as temporary files store.
2018-07-09 09:19:33,445 [ 929168] INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @52301cdf to vagrant@127.0.0.1:2222

It stalls out on that last line for some unknown reason. It successfully connected on the first.

Restarting my VM did indeed reset the connection. So, it's definitely related to that.

0

And look at that, restart of my VM worked. I guess something got a little quirky with the two.

 

On a side note: I have noticed instances were scripts would not properly terminate when running from within PhpStorm. You can test this by running an infinite loop script, or one that sleeps for 30+ minutes, to see it doesn't stop the script before disconnecting.

0

I have noticed instances were scripts would not properly terminate when running from within PhpStorm.

Do you think it should? What would be the reasonable trigger for PhpStorm to force kill a process? A timeout? Right now, the process is being killed when you intentionally stop it with the Stop (red square) button.

1

Please sign in to leave a comment.