Victor Hugo Montes
Victor Hugo Montes

Reputation: 1322

Unable to fetch data of internal Gitlab from Azure Devops (getting Git fetch failed with exit code: 128)

My scenario is quite basic. Let me try to explain:

  1. I do have an on-premise instance of Gitlab behind the firewalls of my company
  2. And I am trying to fetch data from a pipeline set on Azure Devops (dev.azure.com)

I am getting this error when queuing a job run

##[error]Git fetch failed with exit code: 128 

The IT security folks ask for an IP to Whitelist as INBOUND, but I have no clue what range I should give them.

Anyone faced such situation?

Upvotes: 0

Views: 161

Answers (1)

Mengdi Liang
Mengdi Liang

Reputation: 18996

If as what your IT security asked and you used is hosted agent, the ip range should be the one which can grant the hosted agents access through a firewall.

Follow this doc:

To determine your geography, navigate to https://dev.azure.com//_settings/organizationOverview, get your region, and find the associated geography from the Azure geography table. Once you have identified your geography, use the IP ranges from the weekly file for all regions in that geography.


Upvotes: 1

Related Questions