Обсуждение: git clone failed in windows

Поиск
Список
Период
Сортировка

git clone failed in windows

От
Sridhar N Bamandlapally
Дата:
Am trying to clone postgresql git, getting error

D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
Cloning into 'postgresql'...
remote: Enumerating objects: 806507, done.
remote: Counting objects: 100% (806507/806507), done.
remote: Compressing objects: 100% (122861/122861), done.
error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Please let me know anything as am doing this for first time

Thanks
Sridhar BN


Re: git clone failed in windows

От
Sridhar N Bamandlapally
Дата:
git clone repository showing failed from Visual studio

git-clone-error.PNG

Please let me know is there any issue,

Thanks
Sridhar BN


On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally <sridhar.bn1@gmail.com> wrote:
Am trying to clone postgresql git, getting error

D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
Cloning into 'postgresql'...
remote: Enumerating objects: 806507, done.
remote: Counting objects: 100% (806507/806507), done.
remote: Compressing objects: 100% (122861/122861), done.
error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Please let me know anything as am doing this for first time

Thanks
Sridhar BN


Вложения

Re: git clone failed in windows

От
Andrey Borodin
Дата:
Hi Sridhar!

> 23 окт. 2020 г., в 16:09, Sridhar N Bamandlapally <sridhar.bn1@gmail.com> написал(а):
>
> Am trying to clone postgresql git, getting error
>
> D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
> Cloning into 'postgresql'...
> remote: Enumerating objects: 806507, done.
> remote: Counting objects: 100% (806507/806507), done.
> remote: Compressing objects: 100% (122861/122861), done.
> error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
> fatal: the remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed

It seems like your internet connection is not stable enough.
As an alternative you can try to clone https://github.com/postgres/postgres
It's synced with official repository you mentioned and allows you to have your fork for personal branches.

Thanks!

Best regards, Andrey Borodin.


Re: git clone failed in windows

От
Amit Kapila
Дата:
On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
<sridhar.bn1@gmail.com> wrote:
>
> Am trying to clone postgresql git, getting error
>
> D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
> Cloning into 'postgresql'...
> remote: Enumerating objects: 806507, done.
> remote: Counting objects: 100% (806507/806507), done.
> remote: Compressing objects: 100% (122861/122861), done.
> error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
> fatal: the remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
>

I have also just tried this and it failed with same error. However, it
worked when I tried 'git clone
git://git.postgresql.org/git/postgresql.git'. I don't know what is the
issue.

-- 
With Regards,
Amit Kapila.



Re: git clone failed in windows

От
Dave Page
Дата:


On Fri, Oct 23, 2020 at 1:39 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
<sridhar.bn1@gmail.com> wrote:
>
> Am trying to clone postgresql git, getting error
>
> D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
> Cloning into 'postgresql'...
> remote: Enumerating objects: 806507, done.
> remote: Counting objects: 100% (806507/806507), done.
> remote: Compressing objects: 100% (122861/122861), done.
> error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
> fatal: the remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
>

I have also just tried this and it failed with same error. However, it
worked when I tried 'git clone
git://git.postgresql.org/git/postgresql.git'. I don't know what is the
issue.

It worked for me with https. Can you try again? It may be that the Varnish cache was doing it's meditation thing for some reason. I can't see anything obvious on the system though - nothing in the logs, and the services have all been up for days.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

Re: git clone failed in windows

От
Amit Kapila
Дата:
On Fri, Oct 23, 2020 at 6:21 PM Dave Page <dpage@pgadmin.org> wrote:
>
> On Fri, Oct 23, 2020 at 1:39 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>>
>> On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
>> <sridhar.bn1@gmail.com> wrote:
>> >
>> > Am trying to clone postgresql git, getting error
>> >
>> > D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
>> > Cloning into 'postgresql'...
>> > remote: Enumerating objects: 806507, done.
>> > remote: Counting objects: 100% (806507/806507), done.
>> > remote: Compressing objects: 100% (122861/122861), done.
>> > error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
>> > fatal: the remote end hung up unexpectedly
>> > fatal: early EOF
>> > fatal: index-pack failed
>> >
>>
>> I have also just tried this and it failed with same error. However, it
>> worked when I tried 'git clone
>> git://git.postgresql.org/git/postgresql.git'. I don't know what is the
>> issue.
>
>
> It worked for me with https. Can you try again?
>

This time it worked but on the third try.

-- 
With Regards,
Amit Kapila.



Re: git clone failed in windows

От
Sridhar N Bamandlapally
Дата:
Thanks All,

 it wotked with 
 
Thanks
Sridhar


On Fri, Oct 23, 2020 at 7:02 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
On Fri, Oct 23, 2020 at 6:21 PM Dave Page <dpage@pgadmin.org> wrote:
>
> On Fri, Oct 23, 2020 at 1:39 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>>
>> On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
>> <sridhar.bn1@gmail.com> wrote:
>> >
>> > Am trying to clone postgresql git, getting error
>> >
>> > D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
>> > Cloning into 'postgresql'...
>> > remote: Enumerating objects: 806507, done.
>> > remote: Counting objects: 100% (806507/806507), done.
>> > remote: Compressing objects: 100% (122861/122861), done.
>> > error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
>> > fatal: the remote end hung up unexpectedly
>> > fatal: early EOF
>> > fatal: index-pack failed
>> >
>>
>> I have also just tried this and it failed with same error. However, it
>> worked when I tried 'git clone
>> git://git.postgresql.org/git/postgresql.git'. I don't know what is the
>> issue.
>
>
> It worked for me with https. Can you try again?
>

This time it worked but on the third try.

--
With Regards,
Amit Kapila.