# Push to GitHub HTTP repo fails (>v2.45.2)

4 messages from 2024-09-17 to 2024-09-30. Participants: Mr. Manuel, Johannes Schindelin.
Thread: https://gitlist.dev/t/62128

## Mr. Manuel, 2024-09-17 07:52

Subject: Push to GitHub HTTP repo fails (>v2.45.2)
Message-ID: <PA4PR02MB7040A36E17B197AB8DD7BBFC8C612@PA4PR02MB7040.eurprd02.prod.outlook.com>
URL: https://gitlist.dev/e/PA4PR02MB7040A36E17B197AB8DD7BBFC8C612%40PA4PR02MB7040.eurprd02.prod.outlook.com

```
Hello,

after Git version 2.45.2 I’m no more able to push to a GitHub HTTP repository. Tried 2.45.3, 2.46.0 and 2.46.1. I can reproduce this on many different systems. Found also a entry on reddit: https://www.reddit.com/r/github/comments/1f3xmnl/error_remotecurl_error_reading_command_stream/

Here some more details:

PS C:\Users\User\my-project_1> git --version
git version 2.46.0.windows.1
PS C:\Users\User\my-project_1> git push --force
error: remote-curl: error reading command stream from git
error: failed to push some refs to 'https://github.com/my-github-user/my-project_1.git'

PS C:\Users\User\my-project_1> git --version
git version 2.45.2.windows.1
PS C:\Users\User\my-project_1> git push --force
Enumerating objects: 27, done.
Counting objects: 100% (27/27), done.
Delta compression using up to 8 threads
Compressing objects: 100% (16/16), done.
Writing objects: 100% (18/18), 14.52 MiB | 2.08 MiB/s, done.
Total 18 (delta 7), reused 1 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (7/7), completed with 5 local objects.
To https://github.com/my-github-user/my-project_1.git
   c7a0249..379246f  main -> main


```

## Johannes Schindelin, 2024-09-29 18:14

Subject: Re: Push to GitHub HTTP repo fails (>v2.45.2)
Message-ID: <a6dd718c-807a-c19b-b915-e6cc455256af@gmx.de>
URL: https://gitlist.dev/e/a6dd718c-807a-c19b-b915-e6cc455256af%40gmx.de
In-Reply-To: <PA4PR02MB7040A36E17B197AB8DD7BBFC8C612@PA4PR02MB7040.eurprd02.prod.outlook.com>

```
Hi Mr. Manuel,

On Tue, 17 Sep 2024, Mr. Manuel wrote:

> after Git version 2.45.2 I’m no more able to push to a GitHub HTTP
> repository. Tried 2.45.3, 2.46.0 and 2.46.1. I can reproduce this on
> many different systems. Found also a entry on reddit:
> https://www.reddit.com/r/github/comments/1f3xmnl/error_remotecurl_error_reading_command_stream/
>
> Here some more details:
>
> PS C:\Users\User\my-project_1> git --version
> git version 2.46.0.windows.1
> PS C:\Users\User\my-project_1> git push --force
> error: remote-curl: error reading command stream from git
> error: failed to push some refs to 'https://github.com/my-github-user/my-project_1.git'

This looks like it might be due to an update in the libcurl library;
Git for Windows v2.46.0 came with libcurl v8.9.0 while Git for Windows
v2.45.2 came with libcurl v8.8.0.

Could you first go ahead and try with
https://github.com/git-for-windows/git/releases/tag/v2.47.0-rc0.windows.1?
Otherwise I would need to direct you to bisect through the more
fine-grained snapshot versions at
https://wingit.blob.core.windows.net/files/index.html (where v2.45.2 was
added on Mon, 3 Jun 2024 09:24:47 +0200 and v2.46.0 on Mon, 29 Jul 2024
10:56:11 -0700).

Also, since there haven't been any reports about this issue at
https://github.com/git-for-windows/git/issues, I suspect that you have
somewhat of a special setup, maybe a proxy or something similar?

Ciao,
Johannes

> PS C:\Users\User\my-project_1> git --version
> git version 2.45.2.windows.1
> PS C:\Users\User\my-project_1> git push --force
> Enumerating objects: 27, done.
> Counting objects: 100% (27/27), done.
> Delta compression using up to 8 threads
> Compressing objects: 100% (16/16), done.
> Writing objects: 100% (18/18), 14.52 MiB | 2.08 MiB/s, done.
> Total 18 (delta 7), reused 1 (delta 0), pack-reused 0 (from 0)
> remote: Resolving deltas: 100% (7/7), completed with 5 local objects.
> To https://github.com/my-github-user/my-project_1.git
>    c7a0249..379246f  main -> main
>
>

```

## Mr. Manuel, 2024-09-30 05:29

Subject: AW: Push to GitHub HTTP repo fails (>v2.45.2)
Message-ID: <PA4PR02MB70407ADD7FB88A87D6B965AE8C762@PA4PR02MB7040.eurprd02.prod.outlook.com>
URL: https://gitlist.dev/e/PA4PR02MB70407ADD7FB88A87D6B965AE8C762%40PA4PR02MB7040.eurprd02.prod.outlook.com
In-Reply-To: <a6dd718c-807a-c19b-b915-e6cc455256af@gmx.de>

```
Hi,

thank you very much for your answer. I installed v2.47.0-rc0.windows.1 and now everything works as expected. I have no special setup, no proxy, no VPN, everything default.

Regards,
Manuel

-----Ursprüngliche Nachricht-----
Von: Johannes Schindelin <Johannes.Schindelin@gmx.de> 
Gesendet: Sonntag, 29. September 2024 20:15
An: Mr. Manuel <mr-manuel@outlook.it>
Cc: git@vger.kernel.org
Betreff: Re: Push to GitHub HTTP repo fails (>v2.45.2)

Hi Mr. Manuel,

On Tue, 17 Sep 2024, Mr. Manuel wrote:

> after Git version 2.45.2 I’m no more able to push to a GitHub HTTP 
> repository. Tried 2.45.3, 2.46.0 and 2.46.1. I can reproduce this on 
> many different systems. Found also a entry on reddit:
> https://www.reddit.com/r/github/comments/1f3xmnl/error_remotecurl_erro
> r_reading_command_stream/
>
> Here some more details:
>
> PS C:\Users\User\my-project_1> git --version git version 
> 2.46.0.windows.1 PS C:\Users\User\my-project_1> git push --force
> error: remote-curl: error reading command stream from git
> error: failed to push some refs to 'https://github.com/my-github-user/my-project_1.git'

This looks like it might be due to an update in the libcurl library; Git for Windows v2.46.0 came with libcurl v8.9.0 while Git for Windows
v2.45.2 came with libcurl v8.8.0.

Could you first go ahead and try with
https://github.com/git-for-windows/git/releases/tag/v2.47.0-rc0.windows.1?
Otherwise I would need to direct you to bisect through the more fine-grained snapshot versions at https://wingit.blob.core.windows.net/files/index.html (where v2.45.2 was added on Mon, 3 Jun 2024 09:24:47 +0200 and v2.46.0 on Mon, 29 Jul 2024
10:56:11 -0700).

Also, since there haven't been any reports about this issue at https://github.com/git-for-windows/git/issues, I suspect that you have somewhat of a special setup, maybe a proxy or something similar?

Ciao,
Johannes

> PS C:\Users\User\my-project_1> git --version git version 
> 2.45.2.windows.1 PS C:\Users\User\my-project_1> git push --force 
> Enumerating objects: 27, done.
> Counting objects: 100% (27/27), done.
> Delta compression using up to 8 threads Compressing objects: 100% 
> (16/16), done.
> Writing objects: 100% (18/18), 14.52 MiB | 2.08 MiB/s, done.
> Total 18 (delta 7), reused 1 (delta 0), pack-reused 0 (from 0)
> remote: Resolving deltas: 100% (7/7), completed with 5 local objects.
> To https://github.com/my-github-user/my-project_1.git
>    c7a0249..379246f  main -> main
>
>

```

## Johannes Schindelin, 2024-09-30 16:06

Subject: Re: AW: Push to GitHub HTTP repo fails (>v2.45.2)
Message-ID: <6e7d2f78-8375-270a-c6b5-a8535515c9f7@gmx.de>
URL: https://gitlist.dev/e/6e7d2f78-8375-270a-c6b5-a8535515c9f7%40gmx.de
In-Reply-To: <PA4PR02MB70407ADD7FB88A87D6B965AE8C762@PA4PR02MB7040.eurprd02.prod.outlook.com>

```
Hi Manuel,

On Mon, 30 Sep 2024, Mr. Manuel wrote:

> thank you very much for your answer. I installed v2.47.0-rc0.windows.1
> and now everything works as expected. I have no special setup, no proxy,
> no VPN, everything default.

Excellent! Thank you for confirming.

Ciao,
Johannes

```
