<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/boekhold">Maarten Boekhold</a> created an issue:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">GnuTLS based applications fail to connect to github.com and download.monoproject.com</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">3.6.13</p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">Ubuntu 20.04 Focal Fossa</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">Consistently reproducable</p>
<p dir="auto">Steps to Reproduce:
<code>git clone https://github.com/prominic/groovy-language-server.git</code></p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list</span>
<span id="LC2" class="line" lang="plaintext">sudo apt update</span></code></pre>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<p dir="auto"><strong>GIT_CURL_VERBOSE=1 git clone <a href="https://github.com/prominic/groovy-language-server.git" rel="nofollow noreferrer noopener" target="_blank">https://github.com/prominic/groovy-language-server.git</a></strong></p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">Cloning into 'groovy-language-server'...</span>
<span id="LC2" class="line" lang="plaintext">* Couldn't find host github.com in the .netrc file; using defaults</span>
<span id="LC3" class="line" lang="plaintext">*   Trying 140.82.118.4:443...</span>
<span id="LC4" class="line" lang="plaintext">* TCP_NODELAY set</span>
<span id="LC5" class="line" lang="plaintext">* Connected to github.com (140.82.118.4) port 443 (#0)</span>
<span id="LC6" class="line" lang="plaintext">* found 388 certificates in /etc/ssl/certs</span>
<span id="LC7" class="line" lang="plaintext">* ALPN, offering h2</span>
<span id="LC8" class="line" lang="plaintext">* ALPN, offering http/1.1</span>
<span id="LC9" class="line" lang="plaintext">* gnutls_handshake() failed: Error in the pull function.</span>
<span id="LC10" class="line" lang="plaintext">* Closing connection 0</span>
<span id="LC11" class="line" lang="plaintext">fatal: unable to access 'https://github.com/prominic/groovy-language-server.git/': gnutls_handshake() failed: Error in the pull function.</span></code></pre>
<p dir="auto"><strong>sudo apt update</strong>*</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">...</span>
<span id="LC2" class="line" lang="plaintext">Get:11 http://ae.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [20.0 kB]                            </span>
<span id="LC3" class="line" lang="plaintext">Get:12 http://ae.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [27.2 kB]                           </span>
<span id="LC4" class="line" lang="plaintext">Ign:13 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease                                               </span>
<span id="LC5" class="line" lang="plaintext">Err:14 https://download.mono-project.com/repo/ubuntu stable-bionic Release</span>
<span id="LC6" class="line" lang="plaintext">  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 152.199.19.161 443]</span></code></pre>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<ul dir="auto">
<li>
<code>git clone</code> succeeds</li>
<li>
<code>sudo apt update</code> succeeds</li>
</ul>
<p dir="auto">I already posted about this in <a href="https://gitlab.com/gnutls/gnutls/-/issues/984#note_339171011" data-original="https://gitlab.com/gnutls/gnutls/-/issues/984#note_339171011" data-link="false" data-link-reference="true" data-project="179611" data-issue="34268668" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Cannot connect to https://www.openbsd.org" class="gfm gfm-issue has-tooltip">#984 (comment 339171011)</a> but in hindsight I don't think this is the same issue, so I'm creating a separate issue for this.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ gnutls-cli github.com</span>
<span id="LC2" class="line" lang="plaintext">Processed 128 CA certificate(s).</span>
<span id="LC3" class="line" lang="plaintext">Resolving 'github.com:443'...</span>
<span id="LC4" class="line" lang="plaintext">Connecting to '140.82.118.4:443'...</span>
<span id="LC5" class="line" lang="plaintext">*** Fatal error: The operation timed out</span></code></pre>
<p dir="auto">Versions:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ apt show libgnutls30</span>
<span id="LC2" class="line" lang="plaintext">Package: libgnutls30</span>
<span id="LC3" class="line" lang="plaintext">Version: 3.6.13-2ubuntu1</span>
<span id="LC4" class="line" lang="plaintext"></span>
<span id="LC5" class="line" lang="plaintext">$ apt show gnutls-bin</span>
<span id="LC6" class="line" lang="plaintext">Package: gnutls-bin</span>
<span id="LC7" class="line" lang="plaintext">Version: 3.6.13-2ubuntu1</span></code></pre>
<p dir="auto">OpenSSL-linked curl works fine, so do browsers, wget... I also have a Linux Mint 19.2 VM (based on Ubuntu bionic), where I have none of these issues. On the same network btw. No proxies involved here, no authentication required anywhere.<a href="https://gitlab.com/gnutls/gnutls/uploads/671e3bac6aff762ea9c69273cb2f3128/debug.txt" data-link="true" class="gfm">debug.txt</a></p>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/990">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/012ce236a49cf34c398c528bea78d5bb/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/990"}}</script>


</p>
</div>
</body>
</html>