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

GitPod with VSCode: Ports occasionally stop working and need to be re-added manually #20143

Open
jasssse opened this issue Aug 22, 2024 · 3 comments
Labels
team: team-experience type: bug Something isn't working

Comments

@jasssse
Copy link

jasssse commented Aug 22, 2024

Bug description

Our GitPod workspaces spin up multiple docker containers whose ports are forwarded our local machines, and we use VSCode as our editor. Occasionally, the ports become irresponsive; they hang and eventually our requests timeout.

This happens frequently with Postgres on port 5432, but also sometimes with our rails app at 3000. Strangely, deleting the port from VSCode and adding it back manually fixes this issue in most cases. Sometimes this 'fix' does not resolve the issue, and instead the problem fixes itself after some unknown amount of time.

Steps to reproduce

We are unsure how to exactly reproduce this issue, but it comes up most commonly when:

  • Switching between git branches
  • The workspace itself times out and needs to be reopened from the GitPod web UI (note however that this has occurred even in active workspaces)

Workspace affected

No response

Expected behavior

The ports should simply not become irresponsive.

Example repository

No response

Anything else?

The Ports tab where ports can be deleted and added:
Screenshot 2024-08-22 at 3 58 58 PM

@jasssse jasssse added the type: bug Something isn't working label Aug 22, 2024
@Ethra8
Copy link

Ethra8 commented Aug 29, 2024

Same issue happens here... no ports available,
image
blue horizontal cursor keeps moving, like searching/loading ports, but none ever appear.
Have had this issue for a couple of days, not before.

@axonasif
Copy link
Member

Hi, could you both please collect the vscode logs after this happens and send them to us?

Here are the instructions: https://www.gitpod.io/docs/help/troubleshooting#gitpod-logs-in-vs-code-browser-and-desktop

@nhorton
Copy link

nhorton commented Sep 27, 2024

Hey - wanted to leave an update. We have not uploaded logs because #20224 is actually hitting so often that we are not seeing this issue right now. We will send some logs as soon as that other one is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: team-experience type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants