git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Unable to push to git server

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Jul 4, 2024, 14:33 UTC
Message-ID
<08e701dace1f$388be050$a9a3a0f0$@nexbridge.com>
In-Reply-To
<CANoqcKYwgA5sT0fAgSp4atpuPOaUSDALRVcf9XoajOe0g6xibQ@mail.gmail.com>
On Thursday, July 4, 2024 9:56 AM, Abraham Zsombor Nagy wrote:
Show 20 quoted lines
>I'm trying to push my code to GitHub, however I'm unable to do so:
>
>abris@dell:~/Projects/maradandohalo/server$ git push --set-upstream origin main
>Username for 'https://github.com': nazsombor Password for
>'https://nazsombor@github.com':
>fatal: protocol error: bad line length 175
>send-pack: unexpected disconnect while reading sideband packet
>error: failed to push some refs to
>'https://github.com/nazsombor/maradandohalo.git'
>Enumerating objects: 31, done.
>Counting objects: 100% (31/31), done.
>Delta compression using up to 16 threads Compressing objects: 100% (22/22),
>done.
>
>I use Debian 12. I tried this with the git installed via apt as well with the git compiled
>from source code. Git version: 2.45.GIT
>
>I also asked this question first on StackOverflow:
>https://stackoverflow.com/questions/78670914/git-fatal-protocol-error-bad-line-
>length-173

As far as I know, GitHub changed to use personal access tokens to authentication for HTTPS push rather than password. Have you tried SSH? --Randall

Previous: Abraham Zsombor NagyNext: brian m. carlson
Message 2 of 6 in “Unable to push to git server”
  1. Abraham Zsombor NagyJul 4, 2024
  2. rsbecker@nexbridge.comJul 4, 2024
  3. brian m. carlsonJul 5, 2024
  4. Abraham Zsombor NagyJul 5, 2024
  5. rsbecker@nexbridge.comJul 4, 2024
  6. Abraham Zsombor NagyJul 4, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.