oobabooga / text-generation-webui

A Gradio web UI for Large Language Models.
GNU Affero General Public License v3.0
40.51k stars 5.31k forks source link

git clone on linux is broken #6321

Open alexam3001 opened 3 months ago

alexam3001 commented 3 months ago

Describe the bug

try to clone form command line repo.

Is there an existing issue for this?

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
erew123 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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

alexam3001 commented 3 months ago

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 commented 3 months ago

try to clone different repo same error: image

erew123 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

speed test in parallel with git clone image

erew123 commented 3 months ago

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 commented 3 months ago

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

alexam3001 commented 3 months ago

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

alexam3001 commented 2 months ago

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.