Error running "main.py": While creating remote tunnel for SshjSshConnection
Answered
I'm running a project from PyCharm with a remote interpreter. I connect to this server by ssh and sometimes I get this error:
16:55 Error running 'main.py': While creating remote tunnel for SshjSshConnection(<crc32=zb65bg>@<crc32=1ljowo7>)@18ad558d: localhost:63342 <== localhost:63342
If I run the same script with the Python Console mode it works, but not in with debug mode
Usually, I make it work if:
- restart PyCharm
- reboot my laptop
But not this time...
How can I solve this problem?
Please sign in to leave a comment.
Please see:
https://youtrack.jetbrains.com/issue/PY-37055
https://youtrack.jetbrains.com/issue/PY-37182
Delete ~/.pycharm_helpers from remote host, and kill all opened SSH sessions that may still run in the background or reboot the remote host and try again.
hello, have you solved this problem?
when I try to these measures, but It doesn't work.
@Zsonghuan
Could you clarify if you are using the latest PyCharm version?
If so, please file a ticket to https://youtrack.jetbrains.com/issues/PY and attach your idea.log file from Help | Show Log in... after reproducing the issue.