JetBrains Gateway: Connection is not reestablished after IDE is restarted

Hi,

I am experiencing an issue that looks to me like a problem in the JetBrains ThinClientHandle.
I am developing a plugin for the JetBrains Gateway, Eclipse-Che/OpenShift Dev Spaces to be specific. We are running the remote-dev-server on a pod/container, port-forwarding to it.
If I restart the IDE the main window is closed and replaced by a Dialog “Connecting to the remote host…” and never succeeds to (re-) connect.


My ThinClientHandle never gets notified via any of the following callbacks:

  • client.lifetime.onTerminated {...}
  • client.onClientPresenceChanged.advise(client.lifetime) {...}
  • client.clientClosed.advise(client.lifetime) {...}

Behind the scenes I see the port-forwarding being shut down. Reestablishing it doesn’t heal the client, it keeps trying to connect.
I also failed to close the dialog so that I can create a new ThinClientHandle.

I’d appreciate any hints/help, thanks a lot!

For reference, our issue is here:

1 Like

Hi @adietish , can you please provide the logs for the client, host, and gateway?