Failed to update: gnutls_handshake() failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Invalid
|
High
|
Unassigned |
Bug Description
During the jenkins executions of the integration tests I found this error:
sudo snappy update
error from system-image-cli: gnutls_handshake() failed: The TLS connection was non-properly terminated.: https:/
/tmp/snappy-
...open /tmp/snappy-
/tmp/snappy-
...open /tmp/snappy-
... value *exec.ExitError = &exec.ExitError
... Error: error from system-image-cli: gnutls_handshake() failed: The TLS connection was non-properly terminated.: https:/
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → High |
This error comes from the "system-image-cli" binary which uses pycurl/gnutls. This means that either the system-image server or the client have problems, its odd that it only happens sometimes (or a network problem with the datacenter which seems unlikely).
Do you see any pattern when it comes to the architecture or anything else? Or is it just random?
Fwiw, it seems like its happening in gnutls deep in gnutls_ record. c:recv_ headers( ) its also not a timeout issue as this will trigger a different error code in gnutls.
Whats strange is that /system- image.ubuntu. com/gpg/ image-master. tar.xz >/dev/null; sleep 0.2; done
"""
for i in $(seq 10); do curl https:/
"""
does work just fine for me. I wonder if we could run this on the jenkins host to see if that shows errors there.