-
Notifications
You must be signed in to change notification settings - Fork 673
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
[BUG] Flytectl demo start with GITHUB_TOKEN throws 401 #4879
Comments
Thank you for opening your first issue here! 🛠 |
🤖 Hey there, @jsong336! Nice to see you back. Hope you've been doing well! Based on the error message you provided, it seems like the The Here are a few things you can try:
If none of these suggestions solve your issue, could you provide more information about your environment? Specifically, how you're running the For more information about GitHub tokens and their permissions, you can refer to the GitHub documentation. I hope this helps! If you have any other questions or need further clarification, feel free to ask. -Dosu Sources
|
@jsong336, Is it still not working for you? |
@pingsutw It works when I set the GITHUB_TOKEN empty. I think the flytectl uses GITHUB_TOKEN if it exists while getting the list available images and throw 401 since I dont have access over the repos which I think is very strange behaviour |
I think Flytectl should check if GITHUB_TOKEN Zia empty or not. |
Yeah I could, I probably would like to dig the code bit more to see what should be expected behaviour. |
When
flytectl demo start
is ran withGITHUB_TOKEN
, it throws 401 error. SettingGITHUB_TOKEN
empty works.It seems to do something with when flytectl tries to list list available images with authenticated GHRepoService
https://github.com/flyteorg/flytectl/blob/9c87165667b75efedd678707aeacc5a4e4981261/pkg/github/githubutil.go#L75
The text was updated successfully, but these errors were encountered: