PyCharm via Gateway does not connect properly

I've been having trouble running a remote session of PyCharm using JetBrains Gateway. We ecently got a new dev server and I have wanted to use the server for remote development. The server runs Linux AMD 64, Ubuntu 20. Similarly, my old server had the same setup, which worked fine. I'm noticing that no data is transferred between the remote host and my client.

I'm always getting the same numbers for total up and down, every time I start the remote server. The remote directory isn't loading as well just giving a blank window:

My client is running on an M1 Mac. I tried checking the troubleshooting guide, but to no success. Are there any requirements for running the remote server? The documentation doesn't list any except for sftp, which is working. I also tried checking the firewall, but it isn't enabled on the server.

0
5 comments

Hello,

According to the description of the issue, it looks loke you faced this bug https://youtrack.jetbrains.com/issue/GTW-2357. Please check if the workaround mentioned in the comments helps you solve the problem.

0

I've tried the workaround. I have put the export command in my main shell config file (.zshrc) and I tried running the pycharm.sh file. Running that script gives me an error: "Unable to detect graphics environment". Gateway still doesn't work.

0

>tried running the pycharm.sh

 

For remote UIless IDE, please use this scenario: https://www.jetbrains.com/help/idea/2022.2/remote-development-a.html#use_local_ide

with "bin/remote-dev-server.sh" launcher. 

1

Thanks for the information. I managed to start a session with the "remote/dev-server.sh run" command and join using the HTTP link. Afterwards the gateway behaved as it usually would, even after closing the session and starting a new one directly from JetBrains Gateway.

0

Thank you for checking. We really wait for the fix of GTW-2357 asap. 

0

Please sign in to leave a comment.