Tell HN: Docker pull fails in Spain due to football Cloudflare block

698 points by littlecranky67 15 hours ago


I just spent 1h+ debugging why my locally-hosted gitlab runner would fail to create pipelines. The gitlab job output would just display weird TLS errors when trying to pull a docker images. After debugging gitlab and the runner, I realized after a while I could not even run "docker pull <image>" on my machine as root:

> error pulling image configuration: download failed after attempts=6: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com

First blaming tailscale, dns configuration and all other stuff. Until I just copied that above URL into my browser on my laptop, and received a website banner:

> El acceso a la presente dirección IP ha sido bloqueado en cumplimiento de lo dispuesto en la Sentencia de 18 de diciembre de 2024, dictada por el Juzgado de lo Mercantil nº 6 de Barcelona en el marco del procedimiento ordinario (Materia mercantil art. 249.1.4)-1005/2024-H instado por la Liga Nacional de Fútbol Profesional y por Telefónica Audiovisual Digital, S.L.U. https://www.laliga.com/noticias/nota-informativa-en-relacion-con-el-bloqueo-de-ips-durante-las-ultimas-jornadas-de-laliga-ea-sports-vinculadas-a-las-practicas-ilegales-de-cloudflare

For those non-spanish speakers: It means there is football match on, and during that time that specific host is blocked. This is just plain madness. I guess that means my gitlab pipelines will not run when football is on. Thank you, Spain.

danirod - 13 hours ago

Heh, lucky you, at least you get a message. My ISP just drops traffic to the affected IPs. No ping, no traceroute, just a spinner in the browser until it says "page not found".

Every response and comment from LaLiga, the football organization responsible for this, has been so far that this is a minor issue that only affects a few bunch of nerds who talk about "docker images" or "github repositories" or "whatever that means".

Meanwhile, there are testimonies of smart home devices like anti-theft alarms or automatic doors, that stop working whenever there is a football match, because their backends rely on Cloudflare.

Last week, a woman asked for help on social media, as the GPS tracking app she uses to see where her father with dementia is, went offline during a match. It was getting late and he still wasn't back home, and she couldn't locate the tag he was wearing to find him: https://www.infobae.com/america/agencias/2026/04/05/laliga-d...

It's hard to say this, because no one should experience an event like this, but as stressful as these are, it's the only way to make the mainstream people care about this censorship. "I cannot pull a docker image" will never be on nightly news, but safety and personal security is a more powerful driver for discourses.

utrack - 14 hours ago

They block the whole of Cloudflare R2, I believe the Docker hub is just (heh) a collateral.

When the La Liga match starts, everything that's proxied via CF (including zero access reverse tunnels) stops working.

There's even a website made for checking if the match is on: https://hayahora.futbol/

You can check if your host is affected: https://hayahora.futbol/#comprobador&domain=docker-images-pr...

mrvaibh - 13 hours ago

This is a great example of why blanket IP blocking is such a terrible enforcement mechanism. Cloudflare hosts hundreds of thousands of services behind shared IP ranges — blocking one IP to stop a piracy stream takes out everything else on that IP, including Docker registries, API endpoints, and CDNs that have nothing to do with football.

  The real fix on your end until Spain sorts this out: set up a pull-through registry cache (e.g. registry:2 with proxy.remoteurl) on a VPS outside Spain, and point your Docker daemon's mirror config at it. Your
  GitLab runner pulls from the cache, the cache pulls from Docker Hub via a non-blocked IP. Also insulates you from Docker Hub rate limits.

  But yeah, the fact that a court order about football streaming can break docker pull for an entire country is genuinely absurd.
jjcm - 10 hours ago

Barring an Internet giant suing them in court, it really feels like this is unlikely to change as most just don’t understand the why or the effect.

Someone needs to write a heist movie set in Spain where a key part of the plan is they steal something while La Liga is blocking some key security route.

Self-Perfection - 3 hours ago

This is far from the first time that I see on HN indignation on LaLiga blockings. Sadly all this rage does not seem to lead to any change.

I'd like to suggest some steps that might/should be followed, which I will not pursue personally but in my defense - I do not live in Spain and not affected.

1) (first! low-effort) Somebody should create any space on the internet, where such anecdotes might shared and probably people with common goals of fixing internet access in Spain will meet. E.g. telegram group, discord channel, subreddit...

2) probably create wiki with related research: legal framework and possible actions etc

3) Raise public awareness. Create a resource/website with schedule of past and future "semi-blackouts", simple explanation of possible effects a layman may notice etc

4) Explore legal actions that might be taken. How this issue might be forced to be discussed by politicians? For instance I know that Portugal has official mechanism to put forward petitions, that will be discussed in parliament if get enough votes [1]

Space of possible demands in such petitions is vast. For instance:

- Make LaLiga compensate partly price of internet access

- Force LaLiga to include education notice in the beginning and the of translation with title like "Start of reduced internet connectivity" / "End of reduced internet connectivity"

[1] https://participacao.parlamento.pt/initiatives/

jcalvinowens - 11 hours ago

This is the moral equivalent of shutting the water off for a whole city because one dude's house has a leak. The harms to society clearly and obviously outweigh any possible benefits to society. But if that one dude has the power to shut it all off, and doesn't care...

torben-friis - 11 hours ago

As a Spaniard, I would be very happy it cloudflare stops serving Spain. The situation is beyond stupid and I know without international pressure and shaming we're not getting rid of this abuse.

rmonvfer - 6 hours ago

As a Spaniard, this also happens to me. You can either use a VPN or just switch DNS servers to one that doesn’t have anycast nodes in Spain.

Cloudflare’s authoritative DNS uses EDNS Client Subnet (ECS) to return different IP pools based on where the query originates. Spanish resolvers get IPs from a range that La Liga blocks. If your recursive resolver is physically outside Spain (or you use DoH/DoT to tunnel to one), Cloudflare returns a different, unblocked pool.

AdGuard DNS works well for this.

swiftcoder - 9 hours ago

Hah. I have had to use a US-based VPN to access GitHub pretty much every weekend lately. La Liga's efforts to curb pirate TV streams are basically undermining the internet itself at this point.

This is also not new behaviour - Theo posted a YouTube about it nearly a year ago[1].

[1]: https://www.youtube.com/watch?v=1-geGEYEw7g

pjc50 - 13 hours ago

This is why technology businesses and professionals need to take a little bit of an active role in local politics. Otherwise you get nonsense.

redbell - 4 hours ago

This behavior of blocking some domains and IP ranges during LaLiga games has become a routine by now. You might also want to check these similar submissions:

My game's server is blocked in Spain whenever there's a football match on: https://news.ycombinator.com/item?id=45358433

Spain’s LaLiga has blocked access to freedom.gov: https://news.ycombinator.com/item?id=47114235

yangm97 - 11 hours ago

Maybe it’s time to reflect upon the reliance on centralized services? Not long ago docker hub started rate limiting access and we all turned to blanket solutions like the GitLab registry cache. I wonder if the IPFS distributed docker registry thing still exists/works.

samgranieri - 7 hours ago

This is inexcusable. Just because sports right holders are worried about piracy doesn’t give them license to break normal internet operations. Spain, get your act together and put your equivalent of the content cartel in the penalty box.

Self-Perfection - 4 hours ago

[Meta comment]

Humankind is not doing well with implementing new policies. We should really strive for each new policy (like in this case - blocking access to some parts of internet during soccer games):

- Consider running policy in small scale scenario (e.g. testing blocking in small parts of Spain before whole country rollout)

- Implement channels to gather info from those who are faced with results of policy implementation (in this case: the op got webpage with description why the page is blocked - a bit of sanity! It would be better if it was served with HTTP code 451)

- Policy instructions

- When deciding on policy put a date at which policy should be reconsidered and revised using data collected during the time when it was in effect

- ... and some more I have not thought about.

Let's strive to cultivate this principles in all life areas where we can affect how new policies are implemented.

(edit: linebreaks)

ethin - an hour ago

This is exactly why random corporations need to be gone from government. Or copyright needs to be abolished, one of the two. No corporation (no matter how beloved) should ever have this kind of power. IMO the more powerful an organization becomes, the deeper the scrutiny should be.

gchamonlive - 11 hours ago

Here in Brazil sometimes my ISP goes into a weird state where I can't SSH into a remote machune. Got two ISP links here and still sometimes I need to resort to Mullvad to get stable internet

Kamshak - 10 hours ago

I'm in Spain as well and it sucks a lot. What I do now is I go thorough Cloudflare 1.1.1.1 VPN (set up on my router). Fixes the issue and there is practically no latency or bandwidth impact.

Robdel12 - 2 hours ago

How is this cloudflares problem? This is on LaLiga.

pfortuny - 10 hours ago

> instado por la Liga Nacional de Fútbol Profesional y por Telefónica Audiovisual Digital,

(The trial was initiated by LaLiga and Telefonica...).

"Telefonica" is the (exclusive) distributor for the rights of streaming the matches, and is only (of course?) the main consumer (and business) Telco in Spain: they are in a game they cannot lose. This is such an abuse and no government (this, past, whichever) has done anything about it.

aftbit - 6 hours ago

What's the current state of the art for VPN'ing through deep packet inspection firewalls? I have imagined building something around TLS and Websockets that connects to a popular cloud provider which is "too big to block". Of course, if they'll block Cloudflare, or all connections outside of the country, maybe _nothing_ is too big to block. I remember some solutions to this in the 2010s, like obfsproxy and shadowsocks, but are there any newer or better options?

zeafoamrun - 5 hours ago

I don't even like televised sport but this makes me want to figure out how to pirate it at scale

amarant - 9 hours ago

I had to Google why this happens, blocking cloudflare during football games seems.. Arbitrary, to say the least. Maybe something to do with hooligans trashing entire cities when their team loses? I could almost get behind that, if I thought it would work..

But no, it's apparently to stop piracy!? Turning off half the internet, and mostly the legitimate parts at that (since when do pirates use cloudflare?) seems like probably the worst method to go about it.

Someone ought to start streaming those games illegally without using cloudflare just to demonstrate how stupid this policy is

- 4 hours ago
[deleted]
vaylian - 14 hours ago

This is a know issue and it is completely fucked up: https://www.techradar.com/vpn/vpn-privacy-security/cloudflar...

What Spain does is basically censorship and it's very poorly executed. The docker image registry is only one out of the many collateral victims of this stupid law.

- 7 hours ago
[deleted]
giorgioz - 11 hours ago

POSSIBLE FIX:

I think changing your default DNS servers to Google 8.8.8.8 or Cloudflare 1.1.1.1 might bypass the spanish sunday ban on Cloudlflare.

macOS + Cloudlfare 1.1.1.1 https://developers.cloudflare.com/1.1.1.1/setup/macos/

Google 8.8.8.8 https://developers.google.com/speed/public-dns/docs/using

jesuslop - 9 hours ago

Just to confirm it is true. This is LaLiga bringing down essential country-wide infrastructure on soccer hours if your internet access is through main ISPs.

postepowanieadm - 9 hours ago

Why are you working instead of watching the match?

rcarmo - 7 hours ago

Ah, so that's why my site is "down" there:

https://hayahora.futbol/#sobre-los-bloqueos&domain=taoofmac....

They're blocking the CDN too, not just R2.

Chrisszz - 7 hours ago

LOL this is so hilarious, blocking a portion of a web infra for a football match

ordersofmag - 10 hours ago

Interesting alternative. Cloudflare (market cap $58B) buys La liga (market value $5 billion), drops suit.

Jare - 11 hours ago

It's a disgrace, but apparently all relevant forces still consider soccer the most important thing in the country.

sigio - 14 hours ago

Time to use a VPN in your docker pipelines ;) Or run your systems outside of Spain.

Or can this be avoided by using an alternate DNS?

archon810 - 4 hours ago

I found out about this a month ago when a confused Spanish user showed me all downloads on https://apkmirror.com (powered by Cloudflare R2) are blocked in Spain during LaLiga soccer matches https://x.com/i/status/2030361569691898237. It was so idiotic, I couldn't believe it. Glad it's getting more attention now.

Dibby053 - 10 hours ago

Going to play devil's advocate here but I suspect if Cloudflare had been more cooperative about taking down illegal content, LaLiga would not have resorted to blanket blocking individual IPs.

I would really like to understand more about the process that they should follow but didn't / followed but didn't satisfy them / doesn't exist, in order to remove infringing websites quickly from CloudFlare.

LtdJorge - 9 hours ago

Thankfully, Adamo hasn’t implemented the blockade yet (if ever).

Magnets - 11 hours ago

BT used to block the entire streamable.com site during football matches

jimaek - 13 hours ago

Off topic but I wonder when Cloudflare is going to launch their own Docker registry as a product.

thomasjudge - 8 hours ago

Could you bypass this with a VPN?

blurb4969 - 9 hours ago

Welcome to the club, buddies! Here, in Russia, the government doesn't care about collateral damage at all when shutting down whole Internet in cities. They turn on white list mode, when only approved sites and IPs work. Businesses stop working and start losing money? They don't care. Important IT systems stop working? They don't care. People can't communicate with each other? Don't care. And seems like it will happen everywhere else. Sad to see the whole world goes down apart.

ahachete - 13 hours ago

Yeah, I know. Welcome to the club :(

https://x.com/ahachete/status/2035783292549755228

genericacct - 6 hours ago

same thing happens in italy

anthk - 13 hours ago

CF could just sue LaLiga and the judge as interrupting and intercepting telecomms it's a really serious crime in Spain. Call the AEPD too because of consumers' right against both ISP and LaLiga's snooping. Another huge fine.

This is not an issue under the civil code (civilian issues), but something to be dealt under penal (criminal) code.

In Spanish

https://www.fiscal.es/memorias/memoria2020/FISCALIA_SITE/rec...

Oh, and BTW, LaLiga has just partnered with a CF rival.

Now CF can just sue both like hell because of unfair competition:

https://nitter.tiekoetter.com/xataka/status/2042658662850724...

anthk - 13 hours ago

Yea, La Liga it's crapping out as always. Docker needs either some I2P gateway, or a Tor service.

Myzel394 - 9 hours ago

Just use a VPN

- 13 hours ago
[deleted]
mschuster91 - 9 hours ago

Cloudflare could resolve this without negatively impacting fundamental services... just place all newly registered sites (e.g. <30 days) on a dedicated block of IP addresses. That way, Spain's government-ordered censorship could be limited to (mostly) pirate sites. Or they could invest money in vetting customers properly.

But of course, Cloudflare rather prefers to hold their actual large customers (who don't have much of an alternative to CF) and everyday Spaniard users hostage.

dmitrygr - 10 hours ago

The last sentence of this submission makes no sense. You are in Spain. Allegedly, the country has a representative government. That means that you should have a way to influence the government to fix this idiocy. If, in fact, you don’t, then it is not a representative government and …ahem… further steps may be warranted to remind the government whom they work for.

breppp - 11 hours ago

Vote early, vote often

richwater - 12 hours ago

Spain is a failing country. Their economy is in shambles and the government has ceded internet control to a private corporation who runs football games.

PocketBot - 9 hours ago

[dead]

r2vcap - 7 hours ago

[dead]

lordmoma - 11 hours ago

[dead]

renewiltord - 11 hours ago

[flagged]

lofaszvanitt - 11 hours ago

Good. Cloudflare is the next evil entity on the internet.

mathfailure - 13 hours ago

Cloudflare is cancer. And the tumor is now too big.