Gitextractor failing with multiple github tokens #8406
-
Whenever I add multiple github tokens the gitextractor plugin starts to fail with error, if only keep one token it works correctly. I have individually verified all tokens and they are working correctly individually |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
The error message indicates that the authentication method being used is outdated, as GitHub removed support for password authentication in August 2021. The gitextractor plugin supports authentication using personal access tokens, which should be configured correctly. When using multiple GitHub tokens, ensure that each token is from a different GitHub account, as tokens from the same account share the rate limit. The plugin selects the first token from a comma-separated list for authentication, so verify that the tokens are correctly formatted and separated [1]. Additionally, check that the tokens have the necessary permissions. For private repositories, the required permissions are If the issue persists, consider reviewing the plugin's logging capabilities to diagnose authentication issues [4]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
@klesh can you help? |
Beta Was this translation helpful? Give feedback.
-
I can confirm that I started encountering the same error after adding the second token |
Beta Was this translation helpful? Give feedback.
-
@khalibartan I see, can you file an issue? I will get into it ASAP. |
Beta Was this translation helpful? Give feedback.
-
raised #8424 |
Beta Was this translation helpful? Give feedback.
-
For time being i went ahead with configuring SSH for gitextractor instead of github tokens, we can put it as an response. It also helps avoid github api token limits |
Beta Was this translation helpful? Give feedback.
For time being i went ahead with configuring SSH for gitextractor instead of github tokens, we can put it as an response. It also helps avoid github api token limits