Open WolfThomas opened 6 years ago
Were you able to correct the error? I have a Flare project in Azure I am cloning to a coworker's machine, and get: error reading from the zlib stream - could not authenticate.
Hello, I used the Microsoft Command Prompt (cmd) within C# Code on two different devices. I had to set the encoding of the string to solve my issue. Perhaps you have an encoding issue too.
I wrote a custom smarttransport according to a ssh sample. After fetch, pull or clone I get valid data but the method throws LibGit2Sharp Exception with "error reading from the zlib stream".
Transport with upload-pack read->write->read->write works, see dump below.
The error message: "error reading from the zlib stream" occurs in libgit2 within pack.c in method git_packfile_stream_read() after calling inflate(&obj->zstream, Z_SYNC_FLUSH); Error will be called if the result is !=Z_OK && !=Z_STREAM_END. After setting pack.compression=0 the zlib stream contains uncompressed data. But the error message is still there.
STDIN/ STDOU
READ:
WRITE:
READ:
WRITE:
Exception
Callstack
Versions LibGit2Sharp 0.24.0.0 LibGit2Sharp 0.25.0.0 with VS 2017 and .Net Standard 2.0 git version 2.18.0.windows.1 Win 10 x64 .Net 4.5