The Related topics section below this topic first link is to Upgrade from within China fails due to git issues - #20 by Hyan which contains some instructions.
The gnutls_handshake()
is a generic “bad internet connection” problem that can be triggered by things ranging from missing network card drivers to state level MITM interference with your connection.