SFTP Hangs on OS X w/ v.2

I usually edit my websites online with Transmit and MacVim after developing locally with PhpStorm and MAMP.  I recently decided to try the SFTP plugin in PhpStorm.  I set it up the same as I have in Transmit, but when I test the connection, the dialog "Test SFTP Connection" says "Connecting by SFTP" and hangs.  I was using version 1 of PhpStorm but upgraded to 2.0.1 to see if that fixed the hang.  No luck.  I can "cancel" now, which I couldn't do on v1, but that's about it for changes.

Transmit works fine at the same time that I'm having PhpStorm hang.  This is OS X 10.6.7, and it's Transmit 3.7 that is working, fwiw.

Anyone else have the same issue?

EDIT: This might be a related issue from the Console.  I have allowed PhpStorm to accept connections when it asks.

4/25/11 10:22:23 AM apsd-ft[176] <APSCourier: 0x100117ee0>: Stream error occurred for <APSTCPStream: 0x10060c010>: Error Domain=NSPOSIXErrorDomain Code=57 UserInfo=0x100141db0 "The operation couldn’t be completed. Socket is not connected"


Hello R Bailey,

Can you please attach connection logs?



That's a little personal, isn't it?  ;^)  I removed the URL.

EDIT: Fix found; logs removed.


Thanks for the logs,

The likely reason is an incompatibility between the library we for SFTP connection and your particular SFTP server. I've found that it may be fixed in the latest releases. Can you please try the following:

1. Shutdown the app
2. Download latest version of the library (jsch-0.1.44.jar).
3. Open the folder (PhpStorm installation)/plugins/webDeployment/lib
4. Rename file 'jsch-0.1.42.jar' to 'jsch-0.1.42.jar.original' (or take it out of PhpStorm installation)
4. Put downloaded file 'jsch-0.1.44.jar' to the folder
5. Start the app, try to connect.



Money.  That fixed it.  Thanks for the very speedy help.


Cool! Thanks for checking!


Nm.  Working now.  I'm going to go with a PIBCAK error.


Please sign in to leave a comment.