git clone failed in windows

Lists: pgsql-hackers
From: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>
To: PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: git clone failed in windows
Date: 2020-10-23 11:09:15
Message-ID: CAGuFTBUrqO8kK_J2URKpWwathQSunZU6VtqMSrJnEt8F0qZaTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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


From: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>
To: PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git clone failed in windows
Date: 2020-10-23 12:25:53
Message-ID: CAGuFTBWSHK5+Jj-DThmR63VFam48g8t8Vry5Nw4k5Sa2wwOowg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

git clone repository showing failed from Visual studio

[image: 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(dot)bn1(at)gmail(dot)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
>
>
>


From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>
Cc: PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git clone failed in windows
Date: 2020-10-23 12:35:23
Message-ID: 6DFD5E81-1081-4117-AB3D-60D244D6B980@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi Sridhar!

> 23 окт. 2020 г., в 16:09, Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)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.


From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>
Cc: PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git clone failed in windows
Date: 2020-10-23 12:39:46
Message-ID: CAA4eK1+_GPWHuoke6zACf1t-dSKYGvEpS3+ao5vGucc7iv4udg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
<sridhar(dot)bn1(at)gmail(dot)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.


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>, PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git clone failed in windows
Date: 2020-10-23 12:51:05
Message-ID: CA+OCxoxXV+5R4Vq4YLcDWDnZswQ4=qPhcHeK6xn_Gqdcfe1mQQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Oct 23, 2020 at 1:39 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:

> On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
> <sridhar(dot)bn1(at)gmail(dot)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


From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>, PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git clone failed in windows
Date: 2020-10-23 13:33:10
Message-ID: CAA4eK1Lshgbnp4LshjfDCBy96vOC-hthEL81GapkoEaPPXdK1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Oct 23, 2020 at 6:21 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
> On Fri, Oct 23, 2020 at 1:39 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>>
>> On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
>> <sridhar(dot)bn1(at)gmail(dot)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.


From: Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git clone failed in windows
Date: 2020-10-23 13:50:48
Message-ID: CAGuFTBUuZTHQTdqhx2GxBWMViFxc8JzAB+2nXb0ZPuhCC==j7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Thanks All,

it wotked with
git://git.postgresql.org/git/postgresql.git

Thanks
Sridhar

On Fri, Oct 23, 2020 at 7:02 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:

> On Fri, Oct 23, 2020 at 6:21 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
> >
> > On Fri, Oct 23, 2020 at 1:39 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
> wrote:
> >>
> >> On Fri, Oct 23, 2020 at 4:39 PM Sridhar N Bamandlapally
> >> <sridhar(dot)bn1(at)gmail(dot)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.
>