-
Notifications
You must be signed in to change notification settings - Fork 61
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
Connection to trace server fails in gitpod demo #415
Comments
Gitpod configuration was changed with this pull request: gitpod-io/gitpod#4548 Also it is possible to test it quickly if you click on the lock in the list of ports in Gitpod. This makes the port public without having to modify the configuration. |
I confirm that manually changing the service on 8080 to public makes things work again! Thanks @arfio! With private 8080 and then public 8080: Getting.Started.-.theia-trace-extension.-.Gitpod.Code.-.Google.Chrome.2021-07-14.16-30-44.mp4 |
Gitpod recently changed their default port visibility from public to private. This made it impossible for the front end to automatically connect to the trace server. Making the port used by the server (8080) public solves this issue. Fixes eclipse-cdt-cloud#415 Signed-off-by: Erica Bugden <[email protected]>
Gitpod recently changed their default port visibility from public to private. This made it impossible for the front end to automatically connect to the trace server. Making the port used by the server (8080) public solves this issue. Fixes #415 Signed-off-by: Erica Bugden <[email protected]>
Gitpod recently changed their default port visibility from public to private. This made it impossible for the front end to automatically connect to the trace server. Making the port used by the server (8080) public solves this issue. Fixes eclipse-cdt-cloud#415 Signed-off-by: Erica Bugden <[email protected]>
Server starts successfully (in the gitpod demo the server is started manually in the gitpod.yml script), but when opening a trace, the front end appears to fail to connect to the trace server. (The front end tries to automatically restart the server and fails with "Error opening serial port 8080 (Port busy)" since there's already a server running on that port.)
More context courtesy of @arfio:
Getting.Started.-.theia-trace-extension.-.Gitpod.Code.-.Google.Chrome.2021-07-14.15-07-53.mp4
Hypothesis 1 - Externally started server is confusing the front end (incorrect)
Stopped the manually started server and allowed the front end to start the server. Initially, this appears to work (trace file explorer comes up), but when a trace is opened it seems to lose connection to the server and tries to restart it (but fails because there's already a server running).
Getting.Started.-.theia-trace-extension.-.Gitpod.Code.-.Google.Chrome.2021-07-14.15-37-28.mp4
Hypothesis 2 - Gitpod is using port 8080 in some way and this is causing issues (incorrect)
Changed the port in the Trace Viewer settings and tried to open traces. Got the same behaviour as the previous hypothesis (file explorer comes up, but when try to open trace it breaks) and restart server, but always receives the same port busy error.
TraceCompassTutorialTraces.Theia-Trace.Example.Application.-.Google.Chrome.2021-07-14.15-41-07.mp4
Unverified hypotheses
The text was updated successfully, but these errors were encountered: