GIT (TFS) ошибка: аутентификация не удалась при извлечении HTTPS - PullRequest
0 голосов
/ 18 февраля 2020

Наша сборка TFS внезапно перестала работать. Как в: Они работали раньше, и я ничего сознательно не изменил.

Кажется, виновником является проверка TFS. Если происходит сбой сейчас со следующей ошибкой:

2020-02-17T15:05:01.9018180Z ##[section]Starting: Checkout
2020-02-17T15:05:01.9191650Z ==============================================================================
2020-02-17T15:05:01.9191750Z Task         : Get sources
2020-02-17T15:05:01.9191800Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-17T15:05:01.9191850Z Version      : 1.0.0
2020-02-17T15:05:01.9191900Z Author       : Microsoft
2020-02-17T15:05:01.9191950Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-17T15:05:01.9192010Z ==============================================================================
2020-02-17T15:05:02.3029550Z Syncing repository: repository (ExternalGit)
2020-02-17T15:05:02.3233340Z ##[command]git version
2020-02-17T15:05:02.3484980Z git version 2.21.1 (Apple Git-122.3)
2020-02-17T15:05:02.3701610Z ##[command]git config --get remote.origin.url
2020-02-17T15:05:02.3836900Z ##[command]git config gc.auto 0
2020-02-17T15:05:02.3951910Z ##[command]git config --get-all http.http://tfs.***.org:8080/DefaultCollection/***/_git/***.***.extraheader
2020-02-17T15:05:02.4038750Z ##[command]git config --get-all http.proxy
2020-02-17T15:05:02.4135610Z ##[command]git remote set-url origin http://***:***@tfs.***.org:8080/DefaultCollection/***/_git/***.***
2020-02-17T15:05:02.4241840Z ##[command]git remote set-url --push origin http://***:***@tfs.***.org:8080/DefaultCollection/***/_git/***.***
2020-02-17T15:05:02.4389440Z ##[command]git fetch --tags --prune --progress --no-recurse-submodules origin
2020-02-17T15:05:02.6933770Z fatal: Authentication failed for 'http://***:***@tfs.***.org:8080/DefaultCollection/***/_git/***.***/'
2020-02-17T15:05:02.6995380Z ##[warning]Git fetch failed with exit code 128, back off 2.49 seconds before retry.
2020-02-17T15:05:05.2443140Z ##[command]git fetch --tags --prune --progress --no-recurse-submodules origin
2020-02-17T15:05:05.4436380Z fatal: Authentication failed for 'http://***:***@tfs.***.org:8080/DefaultCollection/***/_git/***.***/'
2020-02-17T15:05:05.4445710Z ##[warning]Git fetch failed with exit code 128, back off 8.374 seconds before retry.
2020-02-17T15:05:13.8303720Z ##[command]git fetch --tags --prune --progress --no-recurse-submodules origin
2020-02-17T15:05:14.0495590Z fatal: Authentication failed for 'http://***:***@tfs.***.org:8080/DefaultCollection/***/_git/***.***/'
2020-02-17T15:05:14.0521190Z ##[error]Git fetch failed with exit code: 128
2020-02-17T15:05:14.0719800Z ##[section]Finishing: Checkout

переход в исходный каталог и ручной вызов git pull работает. Так что сеть, идентификатор пользователя и пароль в порядке.

Есть идеи, что происходит?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...