09-24-2018, 03:49 PM
(09-23-2018, 04:57 PM)Booster2ooo Wrote: Hello,
I'm facing the same problem. I tried a few things to get the script to work but without success.
The build script fails as soon as a git clone command is hit:
Quote:////////////////////////////////////////////////////////////////(I added export GIT_CURL_VERBOSE=1 at the beginning of mosbuild_worker.sh to get more details about the error)
//
// COMPONENT 2 - Auto-shuffle
//
////////////////////////////////////////////////////////////////
** Build Auto-shuffle
Cloning into 'ashuffle'...
* Couldn't find host github.com in the .netrc file; using defaults
* Trying 192.30.253.113...
* TCP_NODELAY set
* Connected to github.com (192.30.253.113) port 443 (#0)
* found 151 certificates in /etc/ssl/certs/ca-certificates.crt
* found 604 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: The TLS connection was non-properly terminated.
* Curl_http_done: called premature == 0
* Closing connection 0
fatal: unable to access 'https://github.com/Joshkunz/ashuffle.git/': gnutls_handshake() failed: T TLS connection was non-properly terminated.
** Error: Git clone failed
** Error: image build exited
** Error: reboot to resume the build
But, when I type the command myself via SSH, it works:
Quote:pi@moode:~/mosbuild $ git clone https://github.com/Joshkunz/ashuffle.git
Cloning into 'ashuffle'...
remote: Counting objects: 273, done.
remote: Total 273 (delta 0), reused 0 (delta 0), pack-reused 273
Receiving objects: 100% (273/273), 56.66 KiB | 0 bytes/s, done.
Resolving deltas: 100% (174/174), done.
Maybe the question is silly (I'm a big noob in Linux) but what can explain the fact the script fails where typing the command works ?
Sorry, I'm on my way out the door, so can't help debug now, but look at your git messages
Code:
* Couldn't find host github.com in the .netrc file; using defaults
* Trying 192.30.253.113...
* TCP_NODELAY set
* Connected to github.com (192.30.253.113) port 443 (#0)
* found 151 certificates in /etc/ssl/certs/ca-certificates.crt
* found 604 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: The TLS connection was non-properly terminated.
* Curl_http_done: called premature == 0
For whatever reason with your DNS service, your system is trying to clone from 192.30.253.113
Here's what I get when I try that from the command line
Code:
kreed@T520 ~/Downloads/MoodeAudio/junk $ git clone 192.30.253.113/Joshkunz/ashuffle.git
fatal: repository '192.30.253.113/Joshkunz/ashuffle.git' does not exist
Regards,
Kent