Skip to content

Epic: JetBrains dedicated ports window #9700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DRSchlaubi opened this issue May 2, 2022 · 10 comments
Closed

Epic: JetBrains dedicated ports window #9700

DRSchlaubi opened this issue May 2, 2022 · 10 comments

Comments

@DRSchlaubi
Copy link

DRSchlaubi commented May 2, 2022

A dedicated ports view in JetBrains

Related issues:

Original issue

Describe the behaviour you'd like

In VS Code their is a Gitpod tool window for ports, IntelliJ has UI for ports, however that only works on the local machine the client is installed on, if you want to use the Gitpod port forwarding, you need to use the CLI, which cannot forward public ports (afaik)

@ENate
Copy link

ENate commented May 6, 2022

Hi. Tried opening a gitpod workspace via the JetBrains Gateway and got the following message:


org.eclipse.lsp4j.jsonrpc.ResponseErrorException: operation not permitted: missing get permission on workspace
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
	at org.eclipse.lsp4j.websocket.WebSocketMessageHandler.onMessage(WebSocketMessageHandler.java:40)
	at org.eclipse.lsp4j.websocket.WebSocketMessageHandler.onMessage(WebSocketMessageHandler.java:25)
	at org.eclipse.jetty.websocket.jsr356.messages.TextWholeMessage.messageComplete(TextWholeMessage.java:59)
	at org.eclipse.jetty.websocket.jsr356.endpoints.JsrEndpointEventDriver.onTextFrame(JsrEndpointEventDriver.java:228)
	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:152)
	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:326)
	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:202)
	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:225)
	at org.eclipse.jetty.websocket.common.Parser.parseSingleFrame(Parser.java:259)
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:459)
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:440)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)

Any help will be appreciated. Thanks

@loujaybee loujaybee changed the title Gitpod tool window for JetBrains gateway Gitpod ports window for JetBrains gateway May 9, 2022
@loujaybee
Copy link
Member

Thanks for raising @DRSchlaubi, we are currently discussing with JetBrains about this. We are expecting some updates to JetBrains Gateway etc that hopefully will make this possible in the next version 🙏

@akosyakov
Copy link
Member

@ENate Could you file another issue? An error sounds like this workspace does not belong to you. Live workspace sharing is not supported for JB.

@ENate
Copy link

ENate commented May 19, 2022

Thanks @akosyakov . You are right in saying that the workspace does not belong to me. But I am a collaborator to the Git repo of the project and will like to open the project on my Vscode desktop. It seems it is not possible to open the repo/workspace on my vscode desktop if I sign into github with another work account. Does this mean it is not possible to open this project (on my vscode desktop) using my work account (instead of a personal account) if I am added as a collaborator to the repo? Thank you.

@akosyakov
Copy link
Member

@ENate Please move discussion to another issue. It is off-topic here. 🙏

@ENate
Copy link

ENate commented May 19, 2022

Ok Thanks

@loujaybee
Copy link
Member

A couple updates here, JetBrains have now worked on a dedicated ports view and we'll look at integrating this soon.

Also, we've now got support for multiple terminals (showing for IDEs in latest currently:

And we're still resolving some issues with showing the ports view on those terminals:

In addition to the dedicated view, these should both help with generally exposing port visibility in the IDE.

@loujaybee loujaybee changed the title Gitpod ports window for JetBrains gateway JetBrains: Implement dedicated ports window Sep 28, 2022
@loujaybee loujaybee changed the title JetBrains: Implement dedicated ports window JetBrains: dedicated ports window Sep 28, 2022
@loujaybee loujaybee changed the title JetBrains: dedicated ports window Epic: JetBrains dedicated ports window Sep 29, 2022
@loujaybee
Copy link
Member

loujaybee commented Dec 14, 2022

Currently blocked / waiting on JetBrains: The ports view is not fully complete to our standards. We're waiting on API's for sorting ports, and also we would like to grouping and organise forwarded and exposed ports differently. However, we should consider breaking these out into separate bugs and issues, and consider this epic complete. @felladrin + @andreafalzetti to collate remaining issues + bugs (either on YouTrack or GitHub) and add to this epic.

@loujaybee
Copy link
Member

Still waiting to compile links for JetBrains on YouTrack.

@loujaybee
Copy link
Member

Issues have been progressed as far as we can for now. We're waiting on some further updates from Jetbrains API's, however we'll open smaller issues to address. More information on the change in the changelog:

https://www.gitpod.io/changelog#manage-workspace-ports-without-needing-to-leave-your-jetbrains-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

6 participants