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

Error Route and path matches, but all pods are down at workspace startup #22641

Closed
l0rd opened this issue Oct 31, 2023 · 7 comments
Closed

Error Route and path matches, but all pods are down at workspace startup #22641

l0rd opened this issue Oct 31, 2023 · 7 comments
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@l0rd
Copy link
Contributor

l0rd commented Oct 31, 2023

Describe the bug

image

Che version

7.75@latest

Steps to reproduce

I am not able to reproduce this systematically. It happens from time to time on dogfooding instance starting a workspace. Clicking "retry" makes it work.

Environment

Dogfooding instance

@l0rd l0rd added the kind/bug Outline of a bug - must adhere to the bug report template. label Oct 31, 2023
@l0rd
Copy link
Contributor Author

l0rd commented Oct 31, 2023

@amisevsk @ibuziuk @tolusha do you have any clue why this can happen?

@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Oct 31, 2023
@tolusha
Copy link
Contributor

tolusha commented Oct 31, 2023

What about events?

@amisevsk
Copy link
Contributor

Are there any issues with the Che Gateway deployment (logs, restarting pods, etc.)?

I think that's the HTML for the "Application not running" page OpenShift shows when the route doesn't find any deployments.

@dkwon17 dkwon17 added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Oct 31, 2023
@l0rd
Copy link
Contributor Author

l0rd commented Oct 31, 2023

Could it be that's VS Code that's ready before the gateway? I don't have logs / events but I will get them if I am able to reproduce this problem.

@amisevsk
Copy link
Contributor

amisevsk commented Nov 1, 2023

It's strange because the final readiness check for "workspace is ready" is to make a request on the main url, which would make that unlikely since the gateway would have to go down between the readiness request and the redirect from dashboard.

I could also be a route issue (e.g. return 404, then the unavailable page)

@dkwon17
Copy link
Contributor

dkwon17 commented Jan 15, 2024

This issue came from a failed server-config request, which is made by the dashboard here. I did create this PR: eclipse-che/che-dashboard#1039 but it doesn't deal with the root problem.

@amisevsk is correct, the error message is the HTML page for the "Application not running" page OpenShift shows when the route doesn't find any deployments.

This particular issue is rare and intermittent, and I think it can potentially happen when making any request to che-gateway.

For example, today I got the same error when I was accessing the dashboard, when the dashboard was getting resources:
image

I didn't see anything suspicious in the gateway logs, or events.

We could try enabling ingress access logs and see if that might provide more details

@dkwon17
Copy link
Contributor

dkwon17 commented Jan 30, 2024

I believe we can close this issue thanks to the merge of eclipse-che/che-dashboard#1039,

If I can reproduce the issue in #22641 (comment) again, I will create a new issue

@ibuziuk ibuziuk closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants