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

scm authentication required error when devfile present inside organization repository (gitlab.org.com) is given as input #20997

Closed
Divine1 opened this issue Jan 10, 2022 · 2 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.

Comments

@Divine1
Copy link

Divine1 commented Jan 10, 2022

Summary

currently i have installed eclipse-che on minikube and this setup works fine while using the devfile hosted in public github.com respository.

i'm facing a error while trying to access a devfile hosted inside my company's gitlab repository gitlab.org.com .
below is the error message

image

i have followed the steps mentioned in below documentation to add personal access token of my gitlab as a secret in kubernetes.

https://www.eclipse.org/che/docs/che-7/end-user-guide/authenticating-on-scm-server-with-a-personal-access-token/#configuring_gitlab_authentication_che

i have added the secret file in eclipse-che namespace, but still the error appears

image

how to find our value for che.eclipse.org/che-userid? currently i'm using the userid taken from below window in kubernetes secret file

image

please let me know how to resolve this issue

Relevant information

No response

@Divine1 Divine1 added the kind/question Questions that haven't been identified as being feature requests or bugs. label Jan 10, 2022
@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 Jan 10, 2022
@skabashnyuk
Copy link
Contributor

@Divine1 thank you for sharing this report. To get a better answer for you it is important to know the che version and the way how did you install che. (with or without devworkspacce support). Context #20831.

@svor svor added status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jan 10, 2022
@Divine1
Copy link
Author

Divine1 commented Jan 11, 2022

@skabashnyuk

i have figuredout the issue.

the che.eclipse.org/che-userid value which i updated in secret file and the user i used to login into eclipse-che website were different. This is the rootcause of my issue.

Once i logged-in with the matching userid, the issue got resolved.

please let me know if more explanation is needed related to the solution.

thank you for the support.

@Divine1 Divine1 closed this as completed Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.
Projects
None yet
Development

No branches or pull requests

4 participants