pycharm stuck at logging after ssh timeout


i have a remote interpreter where deployment is done. things work fine.

when there is no activity on pycharm 'long enough', it loses the connection to the host.

this is fine since the host must have a timeout to stop the connection.

the issue is when i go back to work on pycharm it can no longer connect, and it get stuck at logging and i have to restart the editor.

this is not helpful.

i expect that pycharm will easily restart the connection.

nothing is working once the connection is lost: deployment, ssh, interpreter.


any idea how to fix this?

i have seen this issue for a very long time. it is too much.


often, i have to wait very long time before pycharm restarts the connection.



output of 'file transfer':

[15/09/2021 23:35] Automatic upload failed. Could not resolve file "sftp://remote-host". (Timeout expired)

why it cant resolve the host?


PyCharm 2021.2.1 (Professional Edition)
Build #PY-212.5080.64, built on August 25, 2021
For educational use only.
Runtime version: 11.0.11+9-b1504.16 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 4.17.4-041704-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 1958M
Cores: 12
Non-Bundled Plugins: intellij-clock (2.0.0), atom-one (1.3.1), ClearCachePlugin (1.1)
Current Desktop: ubuntu-communitheme:ubuntu:GNOME


1 comment
Comment actions Permalink

any news on this?

it is really annoying



Please sign in to leave a comment.