gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.82k stars 1.23k forks source link

Open multiple workspaces in IntelliJ #8255

Closed buggtb closed 2 years ago

buggtb commented 2 years ago

I found today I wanted to write the docs for a project in our doc repo, but the code was in its own repo.

So I launched 1 workspace in IntelliJ then tried to launch another and it tried, and then closed down. So it appears you can't open multiple projects, but thats not great, documentation is one example, but UI repo vs API repo and similar are another pattern I'll hit regularly and would have to run a local version or a VSCode workspace I guess,.

akosyakov commented 2 years ago

Opening multiple workspaces with IntelliJ for different project (repo + path) should be supported. If it is not it is a bug. Do you know how I can reproduce it?

buggtb commented 2 years ago

Its a bug then cause I can't do it.

Open workspace 1, no problem. Open workspace 2, the gateway pops up does its thing, then when it looks like its going to launch the IDE, the gateway closes the vanishes and thats that. If I go back and tell it to launch the IDE again, it loads the gateway, sometimes you might get a quick view of an ide window, but then it closes down again.

buggtb commented 2 years ago

I can't test this theory right now, but I wonder if its because I'm an licensed user and there's a seat collision, might be something related to that, which would be sad if true.

akosyakov commented 2 years ago

@buggtb Could you collect gateway logs and send them to support@gitpod.io link this issue and me please? 🙏

buggtb commented 2 years ago

Sent.

There is a

2022-02-25 11:03:57,862 [76226689] INFO - om.intellij.ssh.impl.sshj.sshj - Error from SSHJ local tunnel for SshjSshConnection(pixlise-pixlisegoapi-ohjq4ksv6ps@pixlise-pixlisegoapi-ohjq4ksv6ps.ws-eu34.gitpod.io)@39b65c51: Local client /127.0.0.1:57537 ==> Local server localhost:57536 ==> Remote server 127.0.0.1:5990: local to remote copier: java.net.SocketException: Connection reset

in it at the bottom. Are there likely to be logs on the workspace you also need from a failure like that?

buggtb commented 2 years ago

Just for completeness sake, I have seen this both on Windows & my Chromebook, so its not a single platform issue.

akosyakov commented 2 years ago

Could you try with EAP support? In order to enable in Gitpod check latest release in preferences. Also install EAP Gateway locally. Maybe it was improved in the meantime. If it is not it would be nice if you can record loom that we can share with JB folks. Thank you!

loujaybee commented 2 years ago

Will investigate this one.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

loujaybee commented 2 years ago

Relates to:

akosyakov commented 2 years ago

@buggtb Do you still not able to connect to 2 different workspaces? It works nicely for us on Mac. If you cannot could you collect logs please following https://www.gitpod.io/docs/troubleshooting#gitpod-logs-in-jetbrains-gateway

buggtb commented 2 years ago

You can shut this one down now, works for me, thanks!

On Thu, 18 Aug 2022, 11:01 Anton Kosyakov, @.***> wrote:

@buggtb https://github.com/buggtb Do you still not able to connect to 2 different workspaces? It works nicely for us on Mac. If you cannot could you collect logs please following https://www.gitpod.io/docs/troubleshooting#gitpod-logs-in-jetbrains-gateway

— Reply to this email directly, view it on GitHub https://github.com/gitpod-io/gitpod/issues/8255#issuecomment-1219296054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZI6C6N4ZPOIAC3J5W7HDVZYCYZANCNFSM5OSUMSLQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Spicule Limited is registered in England & Wales. Company Number:

  1. Registered office: First Floor, Telecom House, 125-135 Preston Road, Brighton, England, BN1 6AF. VAT No. 251478891.

All engagements are subject to Spicule Terms and Conditions of Business. This email and its contents are intended solely for the individual to whom it is addressed and may contain information that is confidential, privileged or otherwise protected from disclosure, distributing or copying. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Spicule Limited. The company accepts no liability for any damage caused by any virus transmitted by this email. If you have received this message in error, please notify us immediately by reply email before deleting it from your system. Service of legal notice cannot be effected on Spicule Limited by email.