Fork me on GitHub
#babashka
<
2023-08-01
>
steveb8n04:08:04

I’m seeing this error in CI when installing bb. anyone else? Error: Cannot download Clojure tools. Please download manually from https://download.clojure.org/install/clojure-tools-1.11.1.1200.zip

2
steveb8n04:08:09

has been working for months. I don’t think it’s expired SSL but not sure what it is. My CI is Bitbucket Pipelines

seancorfield05:08:57

This is probably due to the DNS and infrastructure changes that Alex announced would be happening over the weekend. For some reason DNS propagation to some CI systems is taking forever. See https://clojurians.slack.com/archives/C06MAR553/p1690582485887689

steveb8n05:08:21

hmmm. Could not resolve host: http://download.clojure.org

seancorfield05:08:37

Yup, DNS propagation.

steveb8n05:08:46

yep, looks like a DNS propagation delay

steveb8n05:08:40

I’ll try using the new ip address as a workaround

seancorfield05:08:44

https://www.whatsmydns.net/#CNAME/download.clojure.org still shows some servers that don't have the DNS -- I suspect CI systems cache longer in their own DNS...

steveb8n05:08:23

that’s a great tool. thanks for the tip

seancorfield05:08:41

I see 18.239.199.82 as the IP BTW.

steveb8n05:08:19

interesting. here in Sydney I see PING http://d2j9knnmts7o3a.cloudfront.net (65.8.134.36): 56 data bytes

seancorfield05:08:45

Ah, yeah, CF IPs vary around the world...

steveb8n05:08:57

ah of course, CF edges

steveb8n05:08:11

ok. I’ll use that ip to workaround.

steveb8n05:08:23

thanks (as usual) for the 2nd set of eyes 🙂

seancorfield05:08:33

At work we have our CNAME TTL set pretty low (1 hour) to avoid this sort of delay on propagation 🙂

steveb8n05:08:28

can confirm that using the CF domain name to manually download the jar before calling bb install works well

2
steveb8n05:08:36

in case someone else needs the trick