Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push - The remote disconnected #1065

Open
LeoLomardo opened this issue May 19, 2024 · 8 comments
Open

Push - The remote disconnected #1065

LeoLomardo opened this issue May 19, 2024 · 8 comments

Comments

@LeoLomardo
Copy link

The problem

I have internet and when i try to push, it gives me that error message: "The remote disconnected. Check your Internet connection and try again."

Release version

Version 3.3.12-linux2 (x64)

Operating system

Arch Linux

Steps to reproduce the behavior

1-Go to reppository
2-Click push origin
3-error

Log files

2024-05-19.desktop.production.log

Screenshots

Captura de tela de 2024-05-19 13-47-33

Additional context

No response

@clxadmin
Copy link

I have the same issue since today

@clxadmin
Copy link

Writing objects: 100% (127/127), 1.74 MiB | 1.99 MiB/s, done.
Total 127 (delta 16), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

(The error was parsed as 5: The remote disconnected. Check your Internet connection and try again.)

@LeoLomardo
Copy link
Author

I have the same issue since today

I just made a backup of the most recent files, and cloned the repository again, now its working with no problem

@shiftkey
Copy link
Owner

@clxadmin this appears to be the underlying issue:

error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet

This seems to be occurring on git push, and it seems like the server is rejecting the request (or a request during this process). I would see if you can push from the command line.

If it fails there try and run the operation with the GIT_CURL_VERBOSE=2 environment variable set to see if you can flush out more details around why this is being rejected.

@shiftkey
Copy link
Owner

This looks very similar to #1050, please have a read of the details there and see if setting a higher limit for determining when to buffer during push operations will help:

git config http.postBuffer 524288000

@clxadmin
Copy link

I have the same issue since today

I just made a backup of the most recent files, and cloned the repository again, now its working with no problem

I try the same.. deleted whole repository and cloned it new -- still the same issue.
I'm wondering if this is a know issue with repositories from Gitlab ? Can anyone confirm the same ?

@clxadmin
Copy link

This looks very similar to #1050, please have a read of the details there and see if setting a higher limit for determining when to buffer during push operations will help:

git config http.postBuffer 524288000

I'm using GitHub Desktop on Mint - the question is how to do this (git config http.postBuffer 524288000) with that?

@TIJBRAND1996
Copy link

No speak ingles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants