[ 
https://issues.apache.org/jira/browse/CASSANDRA-14015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254396#comment-16254396
 ] 

Michael Shuler commented on CASSANDRA-14015:
--------------------------------------------

If this was the same user as on IRC this morning, it's possible crappy IPv6 
routing or local firewall rules not allowing IPv6. I have suffered the same 
issues from time to time with my ISP and preferring IPv4 over IPv6 was my 
answer.

In {{/etc/gai.conf}}, uncomment the line:
{noformat}
#precedence ::ffff:0:0/96  100
{noformat}

Then hosts with both A and AAAA records in DNS will try the A record, first.

As for fixing some timeout, the user should really talk to someone at bintray 
to see if they can troubleshoot directly with the host. I haven't needed to do 
the above fix in a few years, and can pull all the deb repos from bintray fine 
over IPv6 this morning, and another try just now.

I can pull the repositories just fine over http, so I have no idea why the 
assumption that there is only support for https.
{noformat}
mshuler@hana:~$ curl --trace-ascii /tmp/curl.trace 
http://dl.bintray.com/apache/cassandra/dists/21x/InRelease
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Origin: Apache Cassandra Packages
Label: Apache Cassandra Packages
Codename: 21x
Date: Thu, 05 Oct 2017 12:54:49 UTC
Architectures: i386 amd64
Components: main
Description: Apache Cassandra APT Repository
MD5Sum:
 2de0de63c644280a2aaf669f9f7f57a1 1479 main/binary-i386/Packages
 6b2a8b7a7f27df44fba9bda22f8be332 685 main/binary-i386/Packages.gz
 5a11be413d0d0957e421046e689a2a37 147 main/binary-i386/Release
 2de0de63c644280a2aaf669f9f7f57a1 1479 main/binary-amd64/Packages
 6b2a8b7a7f27df44fba9bda22f8be332 685 main/binary-amd64/Packages.gz
 b9fd60418097579ba5c9bea9691e871b 148 main/binary-amd64/Release
 81928f9b18b11d2d7677acf376168d69 1441 main/source/Sources
 ab4455997f8d241f7d93ae8f72d32407 754 main/source/Sources.gz
 6591d941521706dde51f43793dccda6d 149 main/source/Release
SHA1:
 6316f631fd8c08f506447e91afd8c38bead60a6f 1479 main/binary-i386/Packages
 91559ae0bba565085d56e8f1968b1e88140fe199 685 main/binary-i386/Packages.gz
 6cda7279b207ad1248302413d8bba216d0d1d7ae 147 main/binary-i386/Release
 6316f631fd8c08f506447e91afd8c38bead60a6f 1479 main/binary-amd64/Packages
 91559ae0bba565085d56e8f1968b1e88140fe199 685 main/binary-amd64/Packages.gz
 e49b7700fd1544db344527b3c941dd41805b699e 148 main/binary-amd64/Release
 cdd03080dcbdc69f5c63795c334026b5f9e047f3 1441 main/source/Sources
 f70d114e54250edf5bca583b2b9393ce7145121e 754 main/source/Sources.gz
 a9835b8d5fb9c1911926a165525a7ef7c28112f1 149 main/source/Release
SHA256:
 59485eeeecb643b171d644401e068bc1606cdd4b2405d530eb9a255f8dd85553 1479 
main/binary-i386/Packages
 8c0507e1a180dddaef5d4a90d9eff16d24b2c9bff1429fa84eb1a71cc2f0ca19 685 
main/binary-i386/Packages.gz
 3fe9f61f16278c2d8daf858df37dcc16ce3e41bb0b6dc836e9b500623cf5763f 147 
main/binary-i386/Release
 59485eeeecb643b171d644401e068bc1606cdd4b2405d530eb9a255f8dd85553 1479 
main/binary-amd64/Packages
 8c0507e1a180dddaef5d4a90d9eff16d24b2c9bff1429fa84eb1a71cc2f0ca19 685 
main/binary-amd64/Packages.gz
 b06d70a257359e63ed69f69660bbbf1959437025c622ae02eaff112b966a9699 148 
main/binary-amd64/Release
 72c90cf989b4229f96a067d14e77691e4fe234ff3d9c55450c737dbaa9aa789a 1441 
main/source/Sources
 56195111df4b998e2a2dd4a3f848ba2ba9b11158d6fd6c47e103a0d8a8619e06 754 
main/source/Sources.gz
 07d08faa347d925afe40cecd1e18306528c7d9acee38682845ce62fc2cea3507 149 
main/source/Release
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZ1iueAAoJEKJ4t4H+SyvaMdMQAILV/XUxRH676GFwBtelzAqa
+SFNEzR++JS6ClY4fmpcGE+603H99hN9IH30GS7ZWGpqM/89HxBfOWDZqDjaiMK6
UKM/49PsCxL/alvsRVgS3M0Ey0yJw/y/w4ZcCzAsTUWH+7LaU9X/gB4ggBWwYVMy
+fsvrPbKlZV4gg5ODNCMPiQmSPq+41Skh770vyQc6B/ubrUFQkLTiU6Ffm1VwxNv
Ny/oRB2+NQ/vT2jpYDOxYBVMmSbLEnXbN4kNzYH8HbQ00I3JviO1Qp86uFfULGBF
5t6wbZhDKSrebcZWaKg67b99d1H9WDw4YUWswEVAaldSvNHbPBTRK43VnRNUu82/
+r5G1u7fk3VnEXK8uejKDsn/KO9wgJuBXep5Bw9TD3VmDsbLhcI9bTPcEfIWntxt
1FVpX9qSWBjcwyMe4lViz0LVr8LDBZuvKL7yb6vUnejFZlDgAATHCvq04vUiAfV0
zoCwu9IF10DkwmpeKgGszA76gpC2GwLo8u2vuJo3TzDl1DsK6zOtV8dbr40GN/0V
DqkubChlXBNtjjp7EjmXJ9i/tYNhE/B0DCCakqu70XQGfXLblrmRAVjbk2ZdS6vj
USy8mqU1MKgI6CKF0SJTz1z93yTRhrCbTC34scjG2XORGdqf+Bh29tuemlTNm10v
9gSo0INbW5oqe+Vc3oDC
=JvAI
-----END PGP SIGNATURE-----
mshuler@hana:~$ cat /tmp/curl.trace 
== Info: Hostname was NOT found in DNS cache
== Info:   Trying 2600:1f14:ae2:5b10:e172:6ca1:47da:3137...
== Info: Connected to dl.bintray.com (2600:1f14:ae2:5b10:e172:6ca1:47da:3137) 
port 80 (#0)
=> Send header, 114 bytes (0x72)
0000: GET /apache/cassandra/dists/21x/InRelease HTTP/1.1
0034: User-Agent: curl/7.38.0
004d: Host: dl.bintray.com
0063: Accept: */*
0070: 
<= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
<= Recv header, 37 bytes (0x25)
0000: Date: Wed, 15 Nov 2017 23:00:50 GMT
<= Recv header, 26 bytes (0x1a)
0000: Content-Type: text/plain
<= Recv header, 22 bytes (0x16)
0000: Content-Length: 3168
<= Recv header, 24 bytes (0x18)
0000: Connection: keep-alive
== Info: Server nginx is not blacklisted
<= Recv header, 15 bytes (0xf)
0000: Server: nginx
<= Recv header, 55 bytes (0x37)
0000: Content-Disposition: attachment; filename="InRelease"
<= Recv header, 46 bytes (0x2e)
0000: Last-Modified: Thu, 05 Oct 2017 13:40:46 GMT
<= Recv header, 44 bytes (0x2c)
0000: Cache-Control: max-age=30, must-revalidate
<= Recv header, 21 bytes (0x15)
0000: Accept-Ranges: none
<= Recv header, 72 bytes (0x48)
0000: ETag: 12ac5cfe4c977cc53757611918c8500fbdd7849e20a356fbef7d30ae83
0040: 5a97bc
<= Recv header, 59 bytes (0x3b)
0000: X-Checksum-Sha1: 1163fab4064430e7d8256aef4dfeae57ec35fa88
<= Recv header, 83 bytes (0x53)
0000: X-Checksum-Sha2: 12ac5cfe4c977cc53757611918c8500fbdd7849e20a356f
0040: bef7d30ae835a97bc
<= Recv header, 2 bytes (0x2)
0000: 
<= Recv data, 905 bytes (0x389)
0000: -----BEGIN PGP SIGNED MESSAGE-----.Hash: SHA256..Origin: Apache 
0040: Cassandra Packages.Label: Apache Cassandra Packages.Codename: 21
0080: x.Date: Thu, 05 Oct 2017 12:54:49 UTC.Architectures: i386 amd64.
00c0: Components: main.Description: Apache Cassandra APT Repository.MD
0100: 5Sum:. 2de0de63c644280a2aaf669f9f7f57a1 1479 main/binary-i386/Pa
0140: ckages. 6b2a8b7a7f27df44fba9bda22f8be332 685 main/binary-i386/Pa
0180: ckages.gz. 5a11be413d0d0957e421046e689a2a37 147 main/binary-i386
01c0: /Release. 2de0de63c644280a2aaf669f9f7f57a1 1479 main/binary-amd6
0200: 4/Packages. 6b2a8b7a7f27df44fba9bda22f8be332 685 main/binary-amd
0240: 64/Packages.gz. b9fd60418097579ba5c9bea9691e871b 148 main/binary
0280: -amd64/Release. 81928f9b18b11d2d7677acf376168d69 1441 main/sourc
02c0: e/Sources. ab4455997f8d241f7d93ae8f72d32407 754 main/source/Sour
0300: ces.gz. 6591d941521706dde51f43793dccda6d 149 main/source/Release
0340: .SHA1:. 6316f631fd8c08f506447e91afd8c38bead60a6f 1479 main/binar
0380: y-i386/Pa
<= Recv data, 2263 bytes (0x8d7)
0000: ckages. 91559ae0bba565085d56e8f1968b1e88140fe199 685 main/binary
0040: -i386/Packages.gz. 6cda7279b207ad1248302413d8bba216d0d1d7ae 147 
0080: main/binary-i386/Release. 6316f631fd8c08f506447e91afd8c38bead60a
00c0: 6f 1479 main/binary-amd64/Packages. 91559ae0bba565085d56e8f1968b
0100: 1e88140fe199 685 main/binary-amd64/Packages.gz. e49b7700fd1544db
0140: 344527b3c941dd41805b699e 148 main/binary-amd64/Release. cdd03080
0180: dcbdc69f5c63795c334026b5f9e047f3 1441 main/source/Sources. f70d1
01c0: 14e54250edf5bca583b2b9393ce7145121e 754 main/source/Sources.gz. 
0200: a9835b8d5fb9c1911926a165525a7ef7c28112f1 149 main/source/Release
0240: .SHA256:. 59485eeeecb643b171d644401e068bc1606cdd4b2405d530eb9a25
0280: 5f8dd85553 1479 main/binary-i386/Packages. 8c0507e1a180dddaef5d4
02c0: a90d9eff16d24b2c9bff1429fa84eb1a71cc2f0ca19 685 main/binary-i386
0300: /Packages.gz. 3fe9f61f16278c2d8daf858df37dcc16ce3e41bb0b6dc836e9
0340: b500623cf5763f 147 main/binary-i386/Release. 59485eeeecb643b171d
0380: 644401e068bc1606cdd4b2405d530eb9a255f8dd85553 1479 main/binary-a
03c0: md64/Packages. 8c0507e1a180dddaef5d4a90d9eff16d24b2c9bff1429fa84
0400: eb1a71cc2f0ca19 685 main/binary-amd64/Packages.gz. b06d70a257359
0440: e63ed69f69660bbbf1959437025c622ae02eaff112b966a9699 148 main/bin
0480: ary-amd64/Release. 72c90cf989b4229f96a067d14e77691e4fe234ff3d9c5
04c0: 5450c737dbaa9aa789a 1441 main/source/Sources. 56195111df4b998e2a
0500: 2dd4a3f848ba2ba9b11158d6fd6c47e103a0d8a8619e06 754 main/source/S
0540: ources.gz. 07d08faa347d925afe40cecd1e18306528c7d9acee38682845ce6
0580: 2fc2cea3507 149 main/source/Release.-----BEGIN PGP SIGNATURE----
05c0: -.Version: GnuPG v2..iQIcBAEBCAAGBQJZ1iueAAoJEKJ4t4H+SyvaMdMQAIL
0600: V/XUxRH676GFwBtelzAqa.+SFNEzR++JS6ClY4fmpcGE+603H99hN9IH30GS7ZWG
0640: pqM/89HxBfOWDZqDjaiMK6.UKM/49PsCxL/alvsRVgS3M0Ey0yJw/y/w4ZcCzAsT
0680: UWH+7LaU9X/gB4ggBWwYVMy.+fsvrPbKlZV4gg5ODNCMPiQmSPq+41Skh770vyQc
06c0: 6B/ubrUFQkLTiU6Ffm1VwxNv.Ny/oRB2+NQ/vT2jpYDOxYBVMmSbLEnXbN4kNzYH
0700: 8HbQ00I3JviO1Qp86uFfULGBF.5t6wbZhDKSrebcZWaKg67b99d1H9WDw4YUWswE
0740: VAaldSvNHbPBTRK43VnRNUu82/.+r5G1u7fk3VnEXK8uejKDsn/KO9wgJuBXep5B
0780: w9TD3VmDsbLhcI9bTPcEfIWntxt.1FVpX9qSWBjcwyMe4lViz0LVr8LDBZuvKL7y
07c0: b6vUnejFZlDgAATHCvq04vUiAfV0.zoCwu9IF10DkwmpeKgGszA76gpC2GwLo8u2
0800: vuJo3TzDl1DsK6zOtV8dbr40GN/0V.DqkubChlXBNtjjp7EjmXJ9i/tYNhE/B0DC
0840: Cakqu70XQGfXLblrmRAVjbk2ZdS6vj.USy8mqU1MKgI6CKF0SJTz1z93yTRhrCbT
0880: C34scjG2XORGdqf+Bh29tuemlTNm10v.9gSo0INbW5oqe+Vc3oDC.=JvAI.-----
08c0: END PGP SIGNATURE-----.
== Info: Connection #0 to host dl.bintray.com left intact
{noformat}

Seems like fishy network problems for both issues on the user's end. Cannot 
Reproduce.

> http relocation of repository to bintray uses http protocol instead of https
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14015
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14015
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build, Distributed Metadata
>         Environment:  Ubuntu 14.04.5 LTS
>            Reporter: Jeroen Baten
>             Fix For: 2.1.x
>
>
> This command should tell it all:
> When I do an apt-get update I get a timeout on dl.bintray.com. After some 
> research curl showed me the output below. But intray seems to only support 
> https.
> {{# curl --trace-ascii /tmp/curl.trace  
> http://www.apache.org/dist/cassandra/debian/dists/21x/InRelease
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>301 Moved Permanently</title>
> </head><body>
> <h1>Moved Permanently</h1>
> <p>The document has moved <a 
> href="http://dl.bintray.com/apache/cassandra/dists/21x/InRelease";>here</a>.</p>
> </body></html>}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to