Board index FlightGear Support Compiling

Cloning ... fatal: error: RPC failed; curl 56 GnuTLS recv ..

Building FlightGear from source, and in the need for help?

Cloning ... fatal: error: RPC failed; curl 56 GnuTLS recv ..

Postby abassign » Thu Apr 26, 2018 5:47 pm

I try to compile the 18.2 version but when load the data i have this message:

Code: Select all
****************************************
************** FLIGHTGEAR **************
****************************************
****************************************
**************** DATA ******************
****************************************
Cloning into '.'...
remote: Counting objects: 61926, done.
remote: Compressing objects: 100% (27709/27709), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: EOF prematuro
fatal: index-pack failed


The download_and_compile version is the last download from link: http://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw

I try with the STABLE version:

Code: Select all
./download_and_compile.sh -j4 ALL STABLE


but I have the identical problem:

Code: Select all
****************************************
************** FLIGHTGEAR **************
****************************************
Cloning into '.'...
remote: Counting objects: 110573, done.
remote: Compressing objects: 100% (25744/25744), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: EOF prematuro
fatal: index-pack failed


But I try a second time ... and FLIGHTGEAR module is loaded and start the compilation ... I think is a server problem when cloning big files. Identical problem I have with another provider LAN ...

My system is: Ubuntu 17.10

What is the problem ?

Thank for the help :)
Last edited by abassign on Wed May 02, 2018 12:24 pm, edited 1 time in total.
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: Cloning ... fatal: The remote end hung up unexpectedly

Postby wkitty42 » Sat Apr 28, 2018 4:00 pm

just keep trying... that's the only thing we (TINW) can offer... we saw this a lot several weeks back but maybe SF is still having some problems...

i will say that i switched my d&c back to using the git protocol instead of https and that seemed to work for me... i had to make that change in each of the .git/config files, too...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Cloning ... fatal: The remote end hung up unexpectedly

Postby abassign » Wed May 02, 2018 12:36 pm

wkitty42 wrote in Sat Apr 28, 2018 4:00 pm: ... i will say that i switched my d&c back to using the git protocol instead of https and that seemed to work for me... i had to make that change in each of the .git/config files, too...


I modified the program download_and_compile.sh replacing the sequence https:// with the sequence git:// and now everything worked perfectly, thanks to wkitty42 for the advice which allowed me to find more information about the problem. The problem is due to the use of SSH in the https protocol. It would be necessary to recompile the git program with openssh, but it seems much simpler to modify the script in order to maintain compatibility with the Ubuntu standard installation (17.10).

I would suggest who keeps the script "download_and_compile.sh" to insert an additional option for choose one of the two protocols git:// or https:// in order to definitively solve the problem.
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: Cloning ... fatal: error: RPC failed; curl 56 GnuTLS rec

Postby wkitty42 » Fri May 04, 2018 2:30 am

don't forget that those protocol items are only for the initial pull of the repos... after that, the config file in the .git directory in each repo needs to be adjusted...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Cloning ... fatal: error: RPC failed; curl 56 GnuTLS rec

Postby Muhammad Ahmad » Wed Nov 07, 2018 5:20 pm

I am getting the same error I got the first part of replacing https with git but what to do else is, I can't understand if you can help what to do and how to do
Muhammad Ahmad
 
Posts: 16
Joined: Sat Nov 03, 2018 8:05 am

Re: Cloning ... fatal: error: RPC failed; curl 56 GnuTLS rec

Postby legoboyvdlp » Wed Nov 07, 2018 5:41 pm

To confirm, you solved the other error you had ("changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’") and are now getting this one?

To solve this one, try this on the repository and report if it works:

Code: Select all
git config --global http.postBuffer 1048576000


see https://stackoverflow.com/questions/684 ... it-cloning
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Cloning ... fatal: error: RPC failed; curl 56 GnuTLS rec

Postby wkitty42 » Thu Jan 10, 2019 6:07 pm

kamel2500 wrote:that is the main thing we (TINW)

i haven't seen that in a while! welcome brother ;)

and yes, SF is working on their server stuff again... at least, that's what i seem to have read the other day...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04


Return to Compiling

Who is online

Users browsing this forum: No registered users and 3 guests