Skip to content
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

Expose workspace ports on external IP #459

Open
geropl opened this issue Apr 9, 2019 · 4 comments
Open

Expose workspace ports on external IP #459

geropl opened this issue Apr 9, 2019 · 4 comments
Labels
meta: never-stale This issue can never become stale team: workspace Issue belongs to the Workspace team type: feature request New feature or request

Comments

@geropl
Copy link
Member

geropl commented Apr 9, 2019

Currently the model we use for accessing workspace ports is different to 'real' machines our users are used to.

Problems with this approach:

  • limited to https
  • a lot of frontends try to connect to backends using the pattern ${window.location.hostname}:${port}, which does not work with Gitpod (example: trying to get hot loader working #435 (comment) f). Only solution: patch the respective code or put proxy in front

A solution would be to expose workspaces under a IP6 address. Then each workspace would be accessible under: :
Optionally, we could add a (customizable) DNS entry for that as well (see #329)

This would allow other usecases:

  • ssh access into workspaces to integrate with local environment
  • none-https traffic
@geropl geropl added the type: feature request New feature or request label Apr 9, 2019
@stale
Copy link

stale bot commented Mar 18, 2021

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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 18, 2021
@geropl geropl closed this as completed Mar 19, 2021
@axonasif axonasif added meta: never-stale This issue can never become stale and removed meta: stale This issue/PR is stale and will be closed soon labels Feb 23, 2022
@axonasif axonasif reopened this Feb 23, 2022
@axonasif
Copy link
Member

axonasif commented Feb 23, 2022

Please see https://gitpod.slack.com/archives/C02EN94AEPL/p1645623283439319 for context on why this was re-opened 🙏

@atduarte
Copy link
Contributor

@kylos101 have no idea on how difficult this would be. Do you have any idea?

@shaal
Copy link
Contributor

shaal commented Feb 9, 2024

I wanted to propose an idea related to another issue I had opened previously (#9376).

When running the gp validate command, Gitpod generates a new debug workspace with a debug- prefix in the URL.

Would it be feasible for future Gitpod workspace URLs to have ide- as a prefix instead? Additionally, if there is a server running in the Gitpod workspace, could the current workspace URL display port 443 by default rather than the IDE?

I believe this would allow for cleaner URL segmentation between debug/IDE workspaces and make it simpler to access any web servers directly. Please let me know if this aligns with Gitpod's roadmap or if any clarification is needed on my proposal. I'm happy to discuss further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: never-stale This issue can never become stale team: workspace Issue belongs to the Workspace team type: feature request New feature or request
Projects
No open projects
Status: No status
Development

No branches or pull requests

4 participants