I use Azure repository for managing code and I have not been very lucky with checking in code and pushing code. I would get one error or the other.
Here are some of the errors I get
fatal: unable to access 'https://dev.azure.com/mydevops/myStartup/_git/myStartup/': OpenSSL SSL_connect: Connection was reset in connection to dev.azure.com:xxx
Failed to push the branch to the remote repository. See the Output window for more details.
Error encountered while pushing branch to the remote repository: Branch feature/445-create-unit-test does not exist. Commit changes locally and then push.
I tried to check in a branch and it got checked in but when It was time to push, I was not able to push. Here is what I got. I got a message to run the command below
git push --set-upstream origin feature/445-create-unit-test
Any ideas about what I am doing wrong?
I've seen this problem, in my case it was IPv6 issue.
Try this:
Open command line and do ping dev.azure.com
- if the IP address is IPv6 (something like 2620:1ec:21::20
), then it might be the problem.
configure Windows to prefer v4 over v6:
netsh int ipv6 set prefixpolicy ::ffff:0:0/96 51
Alternatively, you might disable IPv6 alltogether.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With