Last few days after change my Internet provider I’ve been involve in an error witch was related with Push/Pull against my Azure DevOps Git repo (https://dev.azure.com).
This errors was coming up from Visual Studio, Fork, Command Line, etc.
Error: «fatal: unable to access ‘https://dev.azure.com/xxx/xxx/_git/project-sample-1/’: Recv failure: Connection was reset«
But, Is that error due to the internet provider changed? Not really sure, but that was the only change I did.
I was thinking all the time in the bad direction because the thing was that Push/Push worked properly connected to the VPN.
Anyway and after several tries, the solution was quite simple. Just disable «Internet Protocol Version 6 (TCP/IPv6)» from your Network connection properties:

Also another options can be run this command from the command line:
netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 46 4
Hope this help. Happy coding !
PS: ChatGPT wasn’t be able to help me on this.
References
- Cannot connect to dev.azure.com nor azure.microsoft.com
- Azure DevOps Repo throws «OpenSSL SSL_connect Connection was reset» error when running git pull/push/ls-remote etc.
- fatal: unable to access ‘https://dev.azure.com/xxx’: OpenSSL SSL_connect: Connection was reset in connection to dev.azure.com:443
Thank you, you saved me
Me gustaLe gusta a 1 persona