Could not connect to host

Hello, 

 

I have been trying to sort this issue out for a while including removing Phpstorm and all of the cache files etc but I have been unable find a fix. 

 

The issue seems to have started when servers and connections were separated. Now every time I to access a site it does not work until I go into the server and then the connection and test it. It then allows me to use the server as normal till the next day.

 

I have also made a demo here. https://monosnap.com/file/hIP454dv7hrlc0aq7lT95PVF3u1mJ1

Log file: 2020_07_10_SidpZPKKB3qMbnrd

 

 

6 comments
Comment actions Permalink

Please share your ~/.ssh/config (or any other one that has those servers defined) file too.

0
Comment actions Permalink

No problem. 2020_07_10_J1tLGVCUAgVS57b5

0
Comment actions Permalink

Thank you! I could reproduce that, it's a bug that has to be fixed: https://youtrack.jetbrains.com/issue/WI-54250
An obvious workaround here would be using hostnames and not SSH config aliases, since you fill the username, the key, and the passphrase in anyways, it shouldn't affect your workflow too much.

0
Comment actions Permalink

Same problem here, It impacts heavily my workflow. No way to workarround it here.

In my case after host configuration split the configuration worked ok until now.

Changing host alias to hostname produces this error:

Can't connect to remote host: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange

 

0
Comment actions Permalink

Unfortunately, the error message alone does not tell much. Would it be possible to collect log files (Help > Collect Logs) with this new error (when hostname is specified) and report the issue to YouTrack / contact the support team?

0
Comment actions Permalink

I've already fill a bug report, thanks.

0

Please sign in to leave a comment.