-
Notifications
You must be signed in to change notification settings - Fork 38
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 resolving private repository for Go using git #281
Comments
The error Does it still happen for you? |
It is possibly DNS related, but not temporary, as I still see this error. I wonder if the docker containers need additional information to resolve the DNS. Please note: The cli commands also run in a container as part of a Jenkins pipeline, so you have docker-in-docker. |
Could the issue be similar to #113 where we need to specify a host and/or port to the proxy container? Keep in mind that this is docker-in-docker. I've tried to Edit: Another consideration is maybe this isn't the real error. I see a 401 immediately before:
I've seen problems authenticating when using improper keys or values for a specific credential type in the undocumented job.yaml credentials. CC: @jakecoffman since he worked on #113 |
We have a Go repo we are attempting to scan with dependabot/cli, but it fails with:
Since this only seems to be happening on dependencies referencing a private repository, I've attempted to fix this with configuring auth in my job.yaml:
But the error remains unchanged and doesn't mention authenticating.
For go using a git dependency, does my job.yaml look right?
How can I resolve this dns look up?
The host should be reachable, as the repo this project is cloned from is hosted on the same bitbucket as the module we import. Also, we have other private registries for other languages which dependabot/cli has accessed.
The text was updated successfully, but these errors were encountered: