Skip to content

Commit 24399e3

Browse files
matt-aitkenclaude
andcommitted
fix: disable Redis TLS for test webapp — all connections were timing out on TLS handshake
The webapp's cacheStore and rateLimiter Redis connections default TLS to enabled. Every request with a valid auth header used these connections, causing connect ETIMEDOUT (TLS handshake against a non-TLS Redis server). REDIS_TLS_DISABLED=true cascades to all 15+ *_REDIS_TLS_DISABLED env vars. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a846e72 commit 24399e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • internal-packages/testcontainers/src

internal-packages/testcontainers/src/webapp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export async function startWebapp(
6969
ELECTRIC_ORIGIN: "http://localhost:3060",
7070
REDIS_HOST: redis.host,
7171
REDIS_PORT: String(redis.port),
72+
REDIS_TLS_DISABLED: "true", // all *_REDIS_TLS_DISABLED vars default to this; test Redis has no TLS
7273
// Disable all background workers. Each worker has its own env var and its own
7374
// check idiom ("0" vs "false" vs boolean), so we set all of them explicitly.
7475
WORKER_ENABLED: "false", // disables workerQueue.initialize() (checked === "true")

0 commit comments

Comments
 (0)