# We blocked an IP that was downloading extensions in a loop

**URL:** <https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674>\
**Category:** news\
**Created:** [October 18, 2026, 8:48am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674 "2026-10-18T08:48:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 18, 2026, 8:48am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/1 "2026-10-18T08:48:31Z")

</div>

Hi all,

While analysing a jump in our CloudFront costs, we found a single client downloading the same Lucee extensions from [ext.lucee.org](http://ext.lucee.org) over and over, around the clock:

- **Source:** one IP address from Primus Telecommunications, a Canadian ISP
- **What it downloaded:** `cfspreadsheet-3.0.5.lex`, `image-extension-2.0.0.26.lex` and `chart-extension-2.0.0.1.lex`, about 2,500 times each per day, so one full set roughly every 35 seconds
- **Volume:** 7,775 requests and 73.4 GB on a single day (Oct 16). A similar pattern showed up from Sep 12 to 21.
- **Cost:** about $4–6 per day for this one client, which adds up fast for an open source project

The pattern looks like a Lucee server or Docker container stuck in a restart loop, reinstalling those three extensions on every start (for example via `LUCEE_EXTENSIONS` or `.CFConfig.json`), with no user agent set.

We’ve blocked that IP on [ext.lucee.org](http://ext.lucee.org) for now, so it gets a 403. If this is your server, or you’ve noticed extension installs failing with a 403 since Oct 18, please let us know here and we’ll help you sort it out. The fix is usually to install extensions once at image build time, or to cache them, instead of on every start.

We’ll also add general download limits per IP soon, to protect the CDN from loops like this. Normal use, including CI, won’t be affected.

Thanks,  
Gian

---

<div class="post-metadata">

**Author:** ![nmdange](https://dev.lucee.org/letter_avatar_proxy/v4/letter/n/f1d935/32.png) [@nmdange](https://dev.lucee.org/u/nmdange)\
**Post date:** [October 20, 2026, 5:41pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/2 "2026-10-20T17:41:55Z")

</div>

I don’t think this is exactly related, but I can’t download these recently updated extensions, they seem to return a 403 forbidden from any IP I tried. Other extensions I use download fine

[https://ext.lucee.org/mail-extension-1.1.0.17.lex](https://ext.lucee.org/mail-extension-1.1.0.17.lex)  
[https://ext.lucee.org/esapi-extension-3.1.0.1.lex](https://ext.lucee.org/esapi-extension-3.1.0.1.lex)

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 20, 2026, 6:19pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/3 "2026-10-20T18:19:45Z")

</div>

Thanks @nmdange, and you’re right, it’s not related to the IP block. The flat `ext.lucee.org/<name>-<version>.lex` path was never a documented or guaranteed location, so newer releases aren’t published there. Please use one of the supported locations instead:

1. **Lucee CDN** : `https://cdn.lucee.org/org/lucee/<name>/<version>/<name>-<version>.lex`  
e.g. [mail-extension-1.1.0.17.lex](https://cdn.lucee.org/org/lucee/mail-extension/1.1.0.17/mail-extension-1.1.0.17.lex)
2. **Maven Central** : `https://repo1.maven.org/maven2/org/lucee/<name>/<version>/<name>-<version>.lex`  
e.g. [mail-extension-1.1.0.17.lex](https://repo1.maven.org/maven2/org/lucee/mail-extension/1.1.0.17/mail-extension-1.1.0.17.lex) and [esapi-extension-3.1.0.1.lex](https://repo1.maven.org/maven2/org/lucee/esapi-extension/3.1.0.1/esapi-extension-3.1.0.1.lex)
3. **GitHub Releases** of the matching extension repo, e.g. [extension-mail 1.1.0.17](https://github.com/lucee/extension-mail/releases/tag/1.1.0.17)

---

<div class="post-metadata">

**Author:** ![nmdange](https://dev.lucee.org/letter_avatar_proxy/v4/letter/n/f1d935/32.png) [@nmdange](https://dev.lucee.org/u/nmdange)\
**Post date:** [October 20, 2026, 6:25pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/4 "2026-10-20T18:25:52Z")

</div>

Ah, thanks sorry if I missed an announcement.

I’m download the extensions while building a container image

I did a temporary workaround using the download links from the website like so:

```auto
ADD https://download.lucee.org/download.cfm?groupId=org.lucee&artifactId=esapi-extension&version=3.1.0.1 \

/opt/lucee/server/lucee-server/deploy/esapi-extension-3.1.0.1.lex

```

I assume the preference is to use Maven when downloading extensions as part of CI builds?

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 20, 2026, 6:45pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/5 "2026-10-20T18:45:05Z")

</div>

No worries @nmdange, there wasn’t an announcement for this. Yes, Maven is the preferred way. Starting in November, only final releases are deployed to Maven Central, with no betas or RCs there. Final releases are also attached to GitHub Releases, so for a plain download link that’s a good option too.

The best approach is to declare the extensions as Maven dependencies in your build. You can list several repositories there, so if one isn’t reachable the next one is used. Lucee itself resolves extensions the same way. A tiny example `pom.xml`:

```xml
<project xmlns="http://maven.apache.org/POM/4.0.0">
  <modelVersion>4.0.0</modelVersion>
  <groupId>local</groupId>
  <artifactId>lucee-extensions</artifactId>
  <version>1</version>
  <packaging>pom</packaging>

  <repositories>
    <repository><id>central</id><url>https://repo1.maven.org/maven2/</url></repository>
    <repository><id>lucee</id><url>https://maven.lucee-services.com/</url></repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>org.lucee</groupId>
      <artifactId>mail-extension</artifactId>
      <version>1.1.0.17</version>
      <type>lex</type>
    </dependency>
    <dependency>
      <groupId>org.lucee</groupId>
      <artifactId>esapi-extension</artifactId>
      <version>3.1.0.1</version>
      <type>lex</type>
    </dependency>
  </dependencies>
</project>

```

Then in your image build:

```bash
mvn -q dependency:copy-dependencies -DoutputDirectory=/opt/lucee/server/lucee-server/deploy

```

We’ll also write a recipe for this on [docs.lucee.org](http://docs.lucee.org) and link it from the download page.

---

<div class="post-metadata">

**Author:** ![nmdange](https://dev.lucee.org/letter_avatar_proxy/v4/letter/n/f1d935/32.png) [@nmdange](https://dev.lucee.org/u/nmdange)\
**Post date:** [October 20, 2026, 7:39pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/6 "2026-10-20T19:39:53Z")

</div>

Thanks this is helpful. I was able to add a multistage build to my Dockerfile using the maven image on dockerhub to run the mvn command, then copy the output into the Lucee container image I’m building. Initial testing looks good.

I can see that it’s possible to browse the repositories directly which makes it easy for me to figure out what the correct extension names and versions are

[https://repo1.maven.org/maven2/org/lucee/](https://repo1.maven.org/maven2/org/lucee/)  
[https://maven.lucee-services.com/org/lucee/](https://maven.lucee-services.com/org/lucee/)

Edit: I do see some extensions don’t match between the two (e.g. the administrator-extension has 1.0.0.9 on maven, but only two snapshot releases on lucee-services). I assume as all extensions get updated over time that discrepancy will go away.

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 21, 2026, 1:18am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/7 "2026-10-21T01:18:36Z")

</div>

Great to hear the multistage build works, thanks for sharing that.

About the differences: the two repositories aren’t meant to be exact mirrors of each other, they complement each other. When we started with Maven, the older history wasn’t there yet. We backfilled a lot of it, but not everything, so some versions only exist in one of them and there’s some overlap.

Going forward, all final releases go to Maven Central, and pre-releases (betas and RCs) go to [maven.lucee-services.com](http://maven.lucee-services.com). Starting March 2027, [maven.lucee-services.com](http://maven.lucee-services.com) will no longer have any snapshots. Snapshots will only be on the Sonatype snapshot repository, where they’re kept for 90 days, as they already are today. Pre-releases may get a limited lifespan from then on as well, see [this post](https://dev.lucee.org/t/17631).

To stay future proof, you can add the Sonatype snapshot repository to your pom next to the other two:

```xml
<repository>
  <id>sonatype-snapshots</id>
  <url>https://central.sonatype.com/repository/maven-snapshots/</url>
  <releases><enabled>false</enabled></releases>
  <snapshots><enabled>true</enabled></snapshots>
</repository>

```

For anything long-lived, though, it’s best to pin final releases.

---

<div class="post-metadata">

**Author:** ![nmdange](https://dev.lucee.org/letter_avatar_proxy/v4/letter/n/f1d935/32.png) [@nmdange](https://dev.lucee.org/u/nmdange)\
**Post date:** [October 21, 2026, 1:48am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/8 "2026-10-21T01:48:32Z")

</div>

Got it, thanks for the clarification!

For anyone else adding extensions via a Dockerfile, here’s a basic example to work from:

> FROM [docker.io/maven:3.10.0-eclipse-temurin-25-noble](http://docker.io/maven:3.10.0-eclipse-temurin-25-noble) AS maven
> 
> WORKDIR /tmp  
> COPY pom.xml pom.xml  
> RUN mvn -q dependency:copy-dependencies -DoutputDirectory=/tmp/deploy
> 
> FROM [docker.io/lucee/lucee:7.1.1.17-light-tomcat11.0-jre25-temurin-noble](http://docker.io/lucee/lucee:7.1.1.17-light-tomcat11.0-jre25-temurin-noble)  
> COPY --from=maven /tmp/deploy/ /opt/lucee/server/lucee-server/deploy/

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 21, 2026, 2:58am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/9 "2026-10-21T02:58:26Z")

</div>

We’ve written this up as a recipe: [Downloading Extensions for CI, Docker and Offline Installs](https://docs.lucee.org/recipes/downloading-extensions.html). It’s also part of the Lucee skill at [skill.lucee.io](https://skill.lucee.io/).

Often you don’t need to download anything at all: you can define the extensions directly in `.CFConfig.json` and Lucee installs them itself at startup or during warmup. The recipe has the details.

---

<div class="post-metadata">

**Author:** ![Gregory\_Alexander](https://dev.lucee.org/user_avatar/dev.lucee.org/gregory_alexander/32/9307_2.png) [@Gregory\_Alexander](https://dev.lucee.org/u/Gregory_Alexander)\
**Post date:** [November 10, 2026, 1:56am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/10 "2026-11-10T01:56:56Z")

</div>

This thread was a timely find- I just put Galaxie Blog in Docker, using `LUCEE_EXTENSIONS` so Lucee installs the MariaDB driver and the ORM when it starts. That works, but it means every new container downloads them again, and on release day two of my test containers came up without the database driver: once because my antivirus intercepts HTTPS (PKIX errors in Java), and once from a plain read timeout. A restart didn’t fix it; recreating the container did.

> Gian’s advice here, resolving the extensions with Maven at build time and copying them into the image, is clearly the right fix for anything beyond trying it on your own computer, and it would also save the project the download costs. I haven’t made that change for Galaxie yet, but it’s next on my list

> I wrote up the seven things that bit me, including the port mismatch that silently stops scheduled tasks inside a container. It’s on my blog, titled “Running a Lucee App in Docker: Seven Things That Bit Me”.  
> For those of you building Lucee images: do you copy the .lex files into `lucee-server/deploy`, or is there a cleaner way to have them installed by the time the container first starts?

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [November 10, 2026, 7:04am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/11 "2026-11-10T07:04:02Z")

</div>

The `deploy` folder works fine, but it was always meant for hot deployment. The better approach is to declare the extensions in `.CFConfig.json`, pointing either at a local copy of the `.lex` files or at their Maven coordinates.

For Docker, simply point them at Maven and enable warmup (`LUCEE_ENABLE_WARMUP=true`) so they’re installed when the image is built rather than when the container first starts. That way nothing is downloaded at runtime.

The [Downloading Extensions for CI, Docker and Offline Installs](https://docs.lucee.org/recipes/downloading-extensions.html) recipe and the [Docker Image Best Practices](https://docs.lucee.org/recipes/docker-best-practices.html) recipe have the details.

---

<div class="post-metadata">

**Author:** ![elizabethlewis](https://dev.lucee.org/letter_avatar_proxy/v4/letter/e/7feea3/32.png) [@elizabethlewis](https://dev.lucee.org/u/elizabethlewis)\
**Post date:** [November 20, 2026, 10:37pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/12 "2026-11-20T22:37:52Z")

</div>

One caveat on `LUCEE_ENABLE_WARMUP=true`: setting it in a Dockerfile doesn’t by itself run warmup during `docker build`; in the official image it takes effect when the container starts. To truly bake the extensions into the image, trigger the warmup in a build `RUN` step (or use the multistage Maven copy), then verify the `.lex` files are present before shipping.

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [November 21, 2026, 7:26am UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/13 "2026-11-21T07:26:36Z")

</div>

That’s a fair caveat, thanks. Setting LUCEE\_ENABLE\_WARMUP=true in the Dockerfile alone doesn’t run warmup during docker build; in the official image it takes effect when the container starts. To bake the extensions into your own image, run warmup in a RUN step, or copy the .lex files in with the multistage Maven approach. The Warmup and Docker Image Best Practices recipes cover this:

> **[Warmup :: Lucee Documentation](https://docs.lucee.org/recipes/warmup.html)**
>
> Docker warmup and eager config loading for fail-fast validation in Lucee

> **[Docker Image Best Practices :: Lucee Documentation](https://docs.lucee.org/recipes/docker-best-practices.html)**
>
> Best practices for building your own Lucee Docker images: warmup at build time, pinned versions, configuration, Maven download policies, healthchecks, logging and secrets.

---

<div class="post-metadata">

**Author:** ![monroay566](https://dev.lucee.org/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@monroay566](https://dev.lucee.org/u/monroay566)\
**Post date:** [November 28, 2026, 4:35pm UTC](https://dev.lucee.org/t/we-blocked-an-ip-that-was-downloading-extensions-in-a-loop/17674/14 "2026-11-28T16:35:45Z")

</div>

Thanks for sharing the details on this, that warmup caveat is a good catch. I ran into a similar issue where the extensions only appeared after the container started, not during the build, and it took a while to figure out why. Baking them in with a RUN step sounds like the more reliable approach, I will give that a try on my next image build.
