Skip to content

Disable auto_stop_machines to fix intermittent CF 523 errors - #325

Merged
bokelley merged 2 commits into
mainfrom
bokelley/cf-523-origin-fix
Dec 16, 2025
Merged

bokelley merged 2 commits into
mainfrom
bokelley/cf-523-origin-fix

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Machine was being stopped during low-traffic periods, causing slow restarts that exceeded Cloudflare's connection timeout. Disabling auto-stop ensures continuous availability. Also scaled memory from 256MB to 512MB to prevent memory pressure issues.

Details

  • Changed auto_stop_machines from "stop" to "off" in fly.toml
  • Memory already scaled to 512MB via fly scale memory 512
  • Fly edge error logs show machines becoming unreachable during low-traffic periods, resulting in Cloudflare 523 errors

Testing

All existing tests pass.

bokelley and others added 2 commits December 16, 2025 16:42
Machine was being stopped during low-traffic periods, causing slow restarts that exceeded Cloudflare's connection timeout. Disabling auto-stop ensures continuous availability while also scaling memory from 256MB to 512MB to prevent memory pressure issues.

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
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.

1 participant