Reputation: 16168
My pipeline on appcenter was working fine. Now I tried to do a push, but is failing with:
##[command]git fetch --tags --prune --progress --no-recurse-submodules origin
remote: Invalid username or password
fatal: Authentication failed for 'https://***:***@bitbucket.org/company/react-native-proj.git/'
##[error]Git fetch failed with exit code: 128
how to fix this? I have checked and says I have to check for disabled web hooks https://learn.microsoft.com/en-us/appcenter/build/troubleshooting/code-repos#im-connected-to-bitbucket-and-my-builds-fail-with-git-error
but I have no "disabled" web hooks on bitbucket?
How to fix it? what was the cause?
Thanks!
Upvotes: 2
Views: 2886
Reputation: 51
For anyone having the same issue between App Center and your Devops repo, simply resave your build configuration on App Center and the issue should correct itself.
It helps for 3-4 hours and then this situation again. Fix with distribution button will help
Upvotes: 3
Reputation: 161
Taking the @ManuelBetancurt's comment.
You need to disable distribution option and build. Then you can enable option and build, it will work again.
Upvotes: 4
Reputation: 1531
For anyone having the same issue between App Center and your Devops repo, simply resave your build configuration on App Center and the issue should correct itself.
Upvotes: 8
Reputation: 16168
The problem was an internal bug on appcenter. After a couple of days chatting with the customer support, it is resolved. The problem was fixed temporarily by disabling distribution, and just doing build. Then doing the distribution manually...
Upvotes: 2