Tôi đang chạy phiên bản Git 2.12.1 trên Windows Server 2012 R2 chạy trên Microsoft Team Foundation Cloud Service. Bất kể lệnh Git tôi chạy, tôi vẫn gặp phải lỗi này. Tôi thậm chí đã mở toàn bộ Bức Tường Lửa của mình để xem nó có gây ra nó hay không. Tôi đã thử Clone, Push, & Kéo và tất cả đều trả về lỗi này.Lệnh Git không HttpRequestException
git clone https://myaccount.visualstudio.com/_git/myProject
Cloning into 'myProject'...
fatal: HttpRequestException encountered.
An error occurred while sending the request.
Unhandled Exception: System.ObjectDisposedException: Cannot access a closed file.
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream.Flush(Boolean flushToDisk)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at Microsoft.Alm.Git.Trace.Microsoft.Alm.Git.ITrace.Flush()
at Microsoft.Alm.Cli.Program.Die(String message)
at Microsoft.Alm.Cli.Program.Die(Exception exception)
at Microsoft.Alm.Cli.Program.Main(String[] args)
Cấu hình của bạn là 'git config --list' là gì?Và bạn có thể sao chép/đẩy/kéo thành công bởi VS? –
Nếu điều này là gần đây, thì nó không chắc nó có thể là một vấn đề TLS. –
Bản sao có thể có của [Cant push git, studio trực quan. Git thất bại với một lỗi nghiêm trọng. gây tử vong: HttpRequestException gặp phải] (https://stackoverflow.com/questions/48956927/cant-push-git-visual-studio-git-failed-with-a-fatal-error-fatal-httprequeste) –