GnuTLS : Unsupported Authentication
$ wget facebook.com
--2017-09-18 16:21:25-- http://facebook.com/
Resolving facebook.com (facebook.com)... 157.240.7.35, 2a03:2880:f126:83:face:b00c:0:25de
Connecting to facebook.com (facebook.com)|157.240.7.35|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://facebook.com/ [following]
--2017-09-18 16:21:25-- https://facebook.com/
Connecting to facebook.com (facebook.com)|157.240.7.35|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.facebook.com/ [following]
--2017-09-18 16:21:26-- https://www.facebook.com/
Resolving www.facebook.com (www.facebook.com)... 157.240.7.35, 2a03:2880:f10c:83:face:b00c:0:25de
Connecting to www.facebook.com (www.facebook.com)|157.240.7.35|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.facebook.com/unsupportedbrowser [following]
--2017-09-18 16:21:26-- https://www.facebook.com/unsupportedbrowser
Reusing existing connection to www.facebook.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 46.94K --.-KB/s in 0.06s
2017-09-18 16:21:27 (782 KB/s) - ‘index.html’ saved [224560]
$ rm -rf * ~/.wget-*; la
total 0
$ wget2 facebook.com
18.162141.264 Local URI encoding = 'UTF-8'
18.162141.264 Input URI encoding = 'UTF-8'
18.162141.264 Fetched HSTS data from '/home/rootmonk/.wget-hsts'
18.162141.264 Fetched HPKP data from '/home/rootmonk/.wget-hpkp'
18.162141.264 Fetched TLS session data from '/home/rootmonk/.wget-session'
18.162141.264 Fetched OCSP hosts from '/home/rootmonk/.wget-ocsp_hosts'
18.162141.264 Fetched OCSP fingerprints from '/home/rootmonk/.wget-ocsp'
18.162141.264 *url = facebook.com
18.162141.264 local filename = 'index.html'
18.162141.264 host_add_job: job fname index.html
18.162141.264 host_add_job: 0x19398d0 facebook.com
18.162141.264 host_add_job: qsize 1 host-qsize=1
18.162141.265 queue_size: qsize=1
18.162141.265 queue_size: qsize=1
18.162141.265 queue_size: qsize=1
18.162141.265 [0] action=1 pending=0 host=0x0
18.162141.265 qsize=1 blocked=0
18.162141.265 pause=-1505731901265
18.162141.265 dequeue job facebook.com
18.162141.265 resolving facebook.com:80...
18.162141.337 has 157.240.7.35:80
18.162141.337 has 2a03:2880:f126:83:face:b00c:0:25de:80
18.162141.337 Add dns cache entry facebook.com
18.162141.337 trying 157.240.7.35:80...
18.162141.337 established connection facebook.com
[0] Downloading 'facebook.com' ...
18.162141.337 cookie_create_request_header for host=facebook.com path=(null)
18.162141.337 # sent 213 bytes:
GET / HTTP/1.1
Host: facebook.com
Accept-Encoding: gzip, deflate, bzip2, xz, lzma, br
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: wget2/1.0.0
Connection: keep-alive
18.162141.337 [0] action=2 pending=1 host=0x1939710
18.162141.337 ### req 0x7f0b6401c6d0 pending requests = 1
18.162141.604 # got header 270 bytes:
HTTP/1.1 301 Moved Permanently
Location: https://facebook.com/
Content-Type: text/html
X-FB-Debug: IebG5DB5ltwzmrqjsDzzy5T5baAJgHYAuJ+CQTnoia53Osmi5OCDCVnUauw3uSWUzyvCK8CCiQDoR+nFbIm1Ww==
Date: Mon, 18 Sep 2017 10:51:41 GMT
Connection: keep-alive
Content-Length: 0
HTTP response 301 Moved Permanently [facebook.com]
18.162141.604 keep_alive=1
18.162141.604 *url = https://facebook.com/
18.162141.605 *3 https://facebook.com/
18.162141.605 host_add_job: job fname index.html
18.162141.605 host_add_job: 0x7f0b64035e30 https://facebook.com/
18.162141.605 host_add_job: qsize 2 host-qsize=1
18.162141.605 host_remove_job: 0x19398d0
18.162141.605 host_remove_job: qsize=1 host->qsize=0
18.162141.605 [0] action=1 pending=0 host=0x1939710
18.162141.605 qsize=0 blocked=0
18.162141.605 pause=-1505731901605
18.162141.605 closing connection
18.162141.605 [0] action=1 pending=0 host=0x0
18.162141.605 qsize=1 blocked=0
18.162141.605 pause=-1505731901605
18.162141.605 dequeue job https://facebook.com/
18.162141.605 main: wake up
18.162141.605 Found dns cache entry #0
18.162141.605 queue_size: qsize=1
18.162141.605 trying 157.240.7.35:80...
18.162141.605 GnuTLS init
18.162141.637 Certificates loaded: 173
18.162141.637 GnuTLS init done
18.162141.637 TLS False Start requested
18.162141.637 ALPN offering h2
18.162141.637 ALPN offering http/1.1
18.162141.854 gnutls_handshake: (-15) An unexpected TLS packet was received.
18.162141.854 GnuTLS: Get ALPN: The requested data were not available.
----
Unsupported authentication -1.
----
Key Exchange: (null)
Protocol: TLS1.2
Certificate Type: X.509
Compression: NULL
Cipher: NULL
MAC: MAC-NULL
----
18.162141.855 trying 2a03:2880:f126:83:face:b00c:0:25de:80...
18.162141.855 TLS False Start requested
18.162141.855 ALPN offering h2
18.162141.855 ALPN offering http/1.1
18.162146.863 gnutls_handshake: (-53) Error in the push function.
18.162146.863 GnuTLS: Get ALPN: The requested data were not available.
----
Unsupported authentication -1.
----
Key Exchange: (null)
Protocol: TLS1.2
Certificate Type: X.509
Compression: NULL
Cipher: NULL
MAC: MAC-NULL
----
18.162146.863 closing connection
18.162146.863 Failed to connect (-5)
18.162146.863 host_final_failure: qsize=0
18.162146.863 host_increase_failure: facebook.com failures=1
18.162146.863 [0] action=3 pending=1 host=0x7f0b64035d60
18.162146.863 released job https://facebook.com/
18.162146.863 [0] action=1 pending=0 host=0x0
18.162146.863 qsize=1 blocked=1
18.162146.864 qsize=0 blocked=0
18.162146.864 pause=-1505731906863
18.162146.864 main: wake up
18.162146.864 main: done
18.162146.864 Successfully updated '/home/rootmonk/.wget-ocsp_hosts'.
18.162146.864 Saved OCSP hosts to '/home/rootmonk/.wget-ocsp_hosts'
18.162146.864 Successfully updated '/home/rootmonk/.wget-ocsp'.
18.162146.864 Saved OCSP fingerprints to '/home/rootmonk/.wget-ocsp'
18.162146.864 blacklist https://facebook.com/
18.162146.864 blacklist facebook.com
$
I have witnessed this issue from time to time. Though not reproducible at will.