Gnutils_handshake() failed: Error in the pull function

We’re getting gnutils_handshake() problems when trying to perform any functions with gitlab.com which didn’t exist before (even a few hours ago).

I tried with a project in Github and it works fine.

I’m trying with a different Gitlab repo (public, not mine) and same problem.

I’ve turned on some tracing and pasted it below:

# GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone https://gitlab.com/gitlab-org/gitlab-ce.git
15:02:42.998412 git.c:349               trace: built-in: git 'clone' 'https://gitlab.com/gitlab-org/gitlab-ce.git'
Cloning into 'gitlab-ce'...
15:02:43.000910 run-command.c:341       trace: run_command: 'git-remote-https' 'origin' 'https://gitlab.com/gitlab-org/gitlab-ce.git'
* Couldn't find host gitlab.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
*   Trying 2606:4700:90:0:f22e:fbec:5bed:a9b9...
* Connected to gitlab.com (2606:4700:90:0:f22e:fbec:5bed:a9b9) port 443 (#0)
* found 153 certificates in /etc/ssl/certs/ca-certificates.crt
* gnutls_handshake() failed: Error in the pull function.
* Closing connection 0
fatal: unable to access 'https://gitlab.com/gitlab-org/gitlab-ce.git/': gnutls_handshake() failed: Error in the pull function.

Any idea what’s going on?

Thanks!

Update: This mysteriously fixed itself a few hours later.