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

Bypass E_CHE_API_NOTFOUND #17534

Closed
gnoejuan opened this issue Jul 30, 2020 · 5 comments
Closed

Bypass E_CHE_API_NOTFOUND #17534

gnoejuan opened this issue Jul 30, 2020 · 5 comments
Labels
area/chectl Issues related to chectl, the CLI of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system.
Milestone

Comments

@gnoejuan
Copy link

Is your enhancement related to a problem? Please describe.

It appears the Che deployed an expired certificate.

image

Describe the solution you'd like

There have been other situations where I wanted to retry an installation of Che, but because the API was non-functional, server:stop and server:delete don't work.

Instead of trying to use an API, perhaps kubectl could be used to undo any changes?

Describe alternatives you've considered

Documentation of CheCtl's internals so the end user could manually undo chectl's action.

Additional context

@gnoejuan gnoejuan added the kind/enhancement A feature request - must adhere to the feature request template. label Jul 30, 2020
@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 Jul 30, 2020
@l0rd l0rd added area/chectl Issues related to chectl, the CLI of Che severity/P2 Has a minor but important impact to the 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 Jul 31, 2020
@tolusha
Copy link
Contributor

tolusha commented Jul 31, 2020

@gnoejuan
Do you have any errors with server:delete command?

@gnoejuan
Copy link
Author

gnoejuan commented Jul 31, 2020

image

Yes. I believe my current problem isn't related to Che exactly. Currently I believe the problem is with my k8s deployment, but I'm still hunting that down.

chectl server:start -a helm -b mainhub.lan -p k8s

My browser still says there's a problem with the cert (new private browsing window), but I do see the CLI says 404.

@tolusha
Copy link
Contributor

tolusha commented Aug 3, 2020

@gnoejuan
Thank you. I got it.

@SpontaneousDuck
Copy link

Perfect, I am also seeing the same issue. I think I am having a different problem with the front end as my browser just throws ERR_CONNECTION_TIMED_OUT but the issue with chectl server:delete is the same. Thanks for looking at this @tolusha

@gnoejuan
Copy link
Author

Just to confirm, the certificate problem was/is most likely a problem with k3s.

k3s-io/k3s#1621

I guess, just following up. After migrating back to microk8s, the cert was fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

5 participants