Skip to content

docs(v1.5): add fly.io service startup timeout workaround#310

Merged
jplgarcia merged 7 commits intoStagingfrom
docs/v1.5-flyio-service-timeout-workaround
Mar 10, 2026
Merged

docs(v1.5): add fly.io service startup timeout workaround#310
jplgarcia merged 7 commits intoStagingfrom
docs/v1.5-flyio-service-timeout-workaround

Conversation

@jplgarcia
Copy link
Contributor

@jplgarcia jplgarcia commented Mar 6, 2026

Problem

The Cartesi rollups node v1.5 go-supervisor has a hard-coded 5-second startup timeout per service. On Fly.io, inspect-server (and occasionally server-manager) take longer than 5 seconds to become ready, causing the node to restart immediately after launch.

Change

Added a Known issue caution block to the v1.5 Hosting on fly.io section that:

  • Explains the 5-second timeout root cause
  • Provides a custom Dockerfile.fly (hosted at Mugen-Builders/cartesi-flyio-workaround) that replaces the go-supervisor with nitro + nginx, which have no startup timeout
  • Updates the Deploy the node step to build from Dockerfile.fly instead of tagging the default image

Related

A root-cause fix (making the timeout configurable via CARTESI_SERVICE_READY_TIMEOUT) is proposed in cartesi/rollups-node#750. Once that is merged and released, this workaround section can be replaced with a simple env-var note.

@jplgarcia jplgarcia merged commit e55af52 into Staging Mar 10, 2026
@jplgarcia jplgarcia deleted the docs/v1.5-flyio-service-timeout-workaround branch March 10, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants