tinglesoftware / dependabot-azure-devops

Tools for updating dependencies in Azure DevOps repositories using https://dependabot.com
MIT License
180 stars 59 forks source link

Dependabot fails to read nuget feed (microsoft resources) - no address for api.nuget.org #1160

Open JimGeersinga opened 2 weeks ago

JimGeersinga commented 2 weeks ago

Describe the bug Dependabot fails to read nuget feed (microsoft resources) Error: no address for api.nuget.org

To Reproduce Steps to reproduce the behavior:

  1. Have a project reference Azure.Identity 1.11.3
  2. Run the dependabot@1 task in devops

Expected behavior Create pull requests based on needed dependency updates

Screenshots image

Extension (please complete the following information):

Server (please complete the following information):

Additional context The dependabot task is running in a vm using wsl to run the docker image.

mburumaxwell commented 2 weeks ago

That's a networking issue specifically at the DNS level which is totally out of the scope of this repo. You will need to raise that with your "IT department" or figure out another solution.

JimGeersinga commented 2 weeks ago

It looks like it's a bug in ruby. Changing the DNS server in the docker image could resolve it. Do you maybe have an insight in how to resolve this issue?

mburumaxwell commented 2 weeks ago

You can check changes in https://github.com/tinglesoftware/dependabot-azure-devops/pull/834