lavabit / robox

The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
620 stars 139 forks source link

gnu_tls and the Gman git repos #230

Closed ladar closed 2 years ago

ladar commented 2 years ago

@timschumi it looks like we might to revert the git+openssl fix for the Lineage boxes at some point. I'm seeing failures like those below. The formatting is messed up because I'm cloning in parallel, but the key takeaway is handshakes are failing.

Resolving deltas: 100% (17715/17715), done.33 GiB | 1.47 MiB/s     
Receiving objects: 100% (3578/3578), 446.30 MiB | 3.40 MiB/s, done. 94% (128769/136154), 2.33 GiB | 815.00 KiB/s   
Resolving deltas: 100% (602/602), done.
b'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:--  0:00:24 --:--:--     0\ncurl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.\n'
b'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0\ncurl: (35) gnutls_handshake() failed: Error in the push function.\n'
b'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0\ncurl: (35) gnutls_handshake() failed: Error in the push function.\n'
b'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0\ncurl: (35) gnutls_handshake() failed: Error in the push function.\n'

fatal: unable to access 'https://android.googlesource.com/platform/tools/external_updater/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

platform/tools/external_updater:
fatal: unable to access 'https://android.googlesource.com/platform/tools/external_updater/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
platform/tools/external_updater: sleeping 4.0 seconds before retrying
fatal: unable to access 'https://android.googlesource.com/platform/tools/external_updater/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

platform/tools/external_updater:
fatal: unable to access 'https://android.googlesource.com/platform/tools/external_updater/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
error: Cannot fetch platform/tools/external_updater from https://android.googlesource.com/platform/tools/external_updater
Receiving objects: 100% (447/447), 177.25 KiB | 0 bytes/s, done._audio-hal_st-halReceiving objects:   0% (1/447)   
Resolving deltas: 100% (12/12), done.
timschumi commented 2 years ago

Still looks a bit like connection instability to me, but if using openssl fixes it, sure.