Connection timeout when downloading released artifacts

Hi.

I have troubles with downloading jemalloc release artifact from this url: https://github.com/jemalloc/jemalloc/releases/download/5.2.0/jemalloc-5.2.0.tar.bz2 It is redirected to AWS domain github-production-release-asset-2e65be.s3.amazonaws.com and connection to that host times out most of the time. It seems that specific Amazon nodes are problematic. When domain is resolved to IP addresses 52.217.97.12 or 52.217.65.164, it works fine, but when this domain is resolved 52.216.114.35, 52.216.153.36 or 52.216.133.243 it is not possible to connect there.

curl --connect-timeout 120 --retry 0 -v -o jemalloc-5.2.0.tar.bz2  -L  https://github.com/jemalloc/jemalloc/releases/download/5.2.0/jemalloc-5.2.0.tar.bz2
* TCP_NODELAY set
* Connected to github.com (140.82.121.3) port 443 (#0)
...
< server: GitHub.com
< status: 302 Found
...
< location: https://github-production-release-asset-2e65be.s3.amazonaws.com/13310527/a4be1a00-5574-11e9-87b1-636f42361f5b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201023%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201023T105233Z&X-Amz-Expires=300&X-Amz-Signature=d7b1b43f34cbed4dfb1060dd97b4f4de6a51157d035922e80b5c7bd793425825&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=13310527&response-content-disposition=attachment%3B%20filename%3Djemalloc-5.2.0.tar.bz2&response-content-type=application%2Foctet-stream
...
* Connection #0 to host github.com left intact
* Issue another request to this URL: 'https://github-production-release-asset-2e65be.s3.amazonaws.com/13310527/a4be1a00-5574-11e9-87b1-636f42361f5b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201023%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201023T105233Z&X-Amz-Expires=300&X-Amz-Signature=d7b1b43f34cbed4dfb1060dd97b4f4de6a51157d035922e80b5c7bd793425825&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=13310527&response-content-disposition=attachment%3B%20filename%3Djemalloc-5.2.0.tar.bz2&response-content-type=application%2Foctet-stream'
*   Trying 52.216.114.35:443...
* TCP_NODELAY set
* Closing connection 1
curl: (28) Connection timed out after 120000 milliseconds

My IP address is 193.165.137.202 but situation is the same from various IP addresses in Czech Republic. So I believe that it is issue on Amazon side. Is there something that GitHub may do about that?

1 Like

We are seeing the same issues in Germany when downloading artifacts from Github. The URL is the same, github-production-release-asset-2e65be.s3.amazonaws.com.

Out of 5 connection attempts, 3 of them fail with connection timed out.

It doesn’t seem to happen with all providers in Germany. We have been in contact with our ISP but they confirmed there is no issue on their side.

Ping is stable however, only the https endpoints fails to connect.