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

git clone on linux is broken #6321

Open
1 task done
alexam3001 opened this issue Aug 9, 2024 · 12 comments
Open
1 task done

git clone on linux is broken #6321

alexam3001 opened this issue Aug 9, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@alexam3001
Copy link

Describe the bug

try to clone form command line repo.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

git clone https://github.com/oobabooga/text-generation-webui speed is very slow ~100k (on windows ~20M)

Screenshot

No response

Logs

Receiving objects:  22% (4189/18909), 5.72 MiB | 138.00 KiB/ss
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 1628 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

System Info

Linux ubuntu server version: Linux ai 5.15.0-117-generic 
git version : git version 2.38.1
@alexam3001 alexam3001 added the bug Something isn't working label Aug 9, 2024
@erew123
Copy link
Contributor

erew123 commented Aug 9, 2024

Tested this here, took about 10 seconds to clone

image

git and github arent controlled/managed by this repository/oobabooga

I would guess this was/is an intermittent fault, either with your connection or the route across the internet between yourself and github.

@alexam3001
Copy link
Author

alexam3001 commented Aug 9, 2024

this solves the issue (error) but the speed is sill slow. ~144k
git config --global http.version HTTP/2
image
speed on windows :
image

@alexam3001
Copy link
Author

try to clone for the 2nd time and issue is present again

@alexam3001
Copy link
Author

alexam3001 commented Aug 9, 2024

try to clone a different repo. same speed
image
on windows :
image

yes on windows there is no problem but on Linux there is :(
@erew123: you tested on windows, witch is fine. i have the issue on Linux machine. this is not relevant for my pov.(you test)
Please try to clone it on Linux and see if is working

@alexam3001
Copy link
Author

try to clone different repo same error:
image

@erew123
Copy link
Contributor

erew123 commented Aug 9, 2024

Hi @alexam3001

RPC failed; curl 18 transfer closed with outstanding read data remaining is typically due to a slow internet connection. This does not mean your specific internet connection may be slow OR githubs internet connection slow, but somewhere between you. Think of it like a road traffic system from one side of the country to the other side of the country, you on one side and github on the other, you are going from yourself to github, over the road system in the country. The road you are on is going nice and fast and the same for github, but somewhere between you, there was a slow road or an accident that you have to pass through, it will slow things down of course when you get to that point. I believe this is what is going on for you.

Somewhere, between yourself and gihub, there is currently a bad route on the internet, that is slowing things down. So an intermittent fault that should resolve in time.

You can also try this https://hirosht.medium.com/git-error-rpc-failed-curl-18-transfer-closed-with-outstanding-read-data-remaining-e021c3cd2e5b

You can also reinstall git in case there is a fault/bug in the version you have installed.

@alexam3001
Copy link
Author

alexam3001 commented Aug 9, 2024

test done on same physical machine but on Windows VM ( host is linux server ubuntu)
all are fine:
image
there is a big problem with Linux build. I switch to last version : 2.46.0 and same issue.
on host i have a problem but on guest there is no issue because is running windows

@alexam3001
Copy link
Author

speed test in parallel with git clone
image

@erew123
Copy link
Contributor

erew123 commented Aug 9, 2024

Hi @alexam3001

You will be best posting about any issues with git in the github community https://github.com/orgs/community/discussions

And looking through Girhub's documents on cloning issues https://docs.github.com/en/repositories/creating-and-managing-repositories/troubleshooting-cloning-errors

Neither oobabooga nor anyone here has any control over the setup or management of Github, downloads, the git utility or any service status. Posting about the issue here on the Oobabooga repository is similar to going to someone's personal page on Facebook/Reddit and saying there is an issue with Facebook/Reddit, they themselves (the person who's page it is) has no control over the service/website itself.

@erew123
Copy link
Contributor

erew123 commented Aug 9, 2024

You can also go here to the 'git' developer GitHub https://github.com/git/git-scm.com/issues

@alexam3001
Copy link
Author

ok. i will go in that direction. I'm hoping that someone have faced this issue and solve it.
10x

@alexam3001
Copy link
Author

update. there is an issue with ubuntu 22.04 after update. RSA is not supported.
https://forum.gitlab.com/t/issue-cloning-and-pushing-after-upgrading-to-ubuntu-22-04-1-lts/80162
to fix it create a new ssh key using ED25519. this will not solve speed issue but is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants