# SJC legacy builder: intermittent exec/SFTP timeouts despite successful readiness and validation runs

**URL:** <https://community.fly.io/t/sjc-legacy-builder-intermittent-exec-sftp-timeouts-despite-successful-readiness-and-validation-runs/28854>\
**Category:** Questions / Help\
**Tags:** builders\
**Created:** [October 17, 2026, 6:57pm UTC](https://community.fly.io/t/sjc-legacy-builder-intermittent-exec-sftp-timeouts-despite-successful-readiness-and-validation-runs/28854 "2026-10-17T18:57:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aishabbee](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/aishabbee/32/50993_2.png) [@aishabbee](https://community.fly.io/u/aishabbee)\
**Post date:** [October 17, 2026, 6:57pm UTC](https://community.fly.io/t/sjc-legacy-builder-intermittent-exec-sftp-timeouts-despite-successful-readiness-and-validation-runs/28854/1 "2026-10-17T18:57:37Z")

</div>

We have intermittent readiness, SFTP and Machines API exec failures on one existing remote build Machine. We are asking for investigation and a supported recovery path, not attributing every failed build to Fly.

**Target/client**

- App: `fly-builder-tidy-sandbar-5677`
- Machine: `8d3d10ce367978`; region: `sjc`
- `flyctl v0.4.115` (`a1cf49a`), vendored `fly-go v0.11.3`
- Existing performance Machine: 4 vCPU / 32 GiB RAM. Its last qualified state is **stopped** , verified at 13:10:03.527 UTC; no subsequent start has been made in this work.

All times below are UTC on **17 October 2026**. Windows are inclusive controller windows, not claims of exact billed runtime.

| Attempt/window | Successful evidence | Failure / terminal result |
| --- | --- | --- |
| 24: 10:15:10–10:16:28.097 | Exact-Machine echo completed 10:15:34.615; read-only health completed 10:15:36.220, about 30.9 GiB available RAM. | Required small package-control script SFTP upload hit its 45-second host bound. Both captures were empty. Last retained foreground Machines LIST GET had no response record. A later explicitly targeted read found the file absent; this does not locate the stalled transfer stage. STOP verified. No application validation ran. |
| 25: 11:09:45–11:10:52.357 | Echo and health passed. Small control-script materialization returned HTTP 200 and a valid acknowledgement in 1.847 seconds. | The independent verification exec hit its 15-second host bound (5-second server timeout), with no completion result. A later read-only reconciliation matched the original size/hash/mode, stable inode and boot. No resend or continuation. STOP verified. |
| 26: 11:47:30–12:00:47.756 | Echo, health, script delivery plus independent reads, package checks, native quota readback, cache check and BuildKit startup all passed. The actual 284-file application validation batch ran for 472.4 seconds. | Application tests failed; those application/fixture/query defects were ours and were subsequently repaired locally. They are not evidence of a Fly failure. Shutdown initially waited on a lease; the bounded watchdog STOP later succeeded. No deployment occurred. |
| 27: 13:09:03–13:10:03.527 | Machine START returned success at about 13:09:42.634. Independent shutdown watchdog was armed. | The immediate simple echo through `machine exec --no-container --timeout 5 --json` began at 13:09:43.361 and hit its 15-second host bound. Both stdout and stderr were empty; there is no remote exit/completion receipt. Setup and validation never started. Normal STOP succeeded; all owned helpers are quiescent. |

**Our wrapper defects, kept separate from the unknown timeout cause**

In attempt 25, our error handler covered both materialization and the later verification. When verification timed out it overwrote the successful delivery capture with empty verification output. We recovered and verified the original acknowledgement from its immutable CLI-session record, preserved the adverse evidence, and separated those capture paths before attempt 26. We also require exact same-attempt acknowledgement plus one independently qualified readback; unknown or conflicting results stop rather than retry a write. Attempt 26 demonstrated those corrected paths working. This logging defect did not establish the cause of the independent verification timeout.

**Earlier mixed observations**

- 16 October 01:39:56 and 01:51:07: SFTP and native command/readback successes on this same builder.
- 17 October 02:33:17.563723: an exec POST was emitted after a Machine GET returned 200 in 436 ms. The exec requested a 56-second server timeout within a 60-second host bound, but no response/request ID was retained. Same-boot verification before and after returned 200.
- 17 October 04:54:41: SFTP acknowledged, GraphQL returned 200 in 302 ms and Machine GET returned 200 in 543 ms; a subsequent read-only verification exec returned no result within its 30-second host bound.
- 17 October 05:34:33.136061: an official noninteractive SSH-console diagnostic had successful GraphQL/app/organization reads, then a Machines LIST GET with no retained response. It hit the 60-second host bound. We cannot claim it reached the SSH handshake or guest command.

Our local error is a bounded `subprocess.TimeoutExpired`, not a returned Fly error. Empty buffered output does not prove the guest command did not run. Requests, successful counterexamples and unknown acknowledgements have been retained without blind mutation retries. The wrapper requests `FLY_AGENT_ISOLATED=true` and removes custom agent-socket overrides; actual honoring and the failing internal route are unproven.

Some failures overlap the recent rolling-host-reboot incident, but others predate it. We do not have a physical host ID or evidence that our host was in the affected set, so we cannot attribute the failures to that incident.

Could Fly please correlate these Machine/app timestamps with API/host-agent records, investigate intermittent Machine selection and exec/result transport, and advise a supported recovery or useful correlation-ID capture? We would like to keep production on Fly and avoid destructive builder/volume changes while investigating.

No raw logs or attachments, authentication material, headers, application source, private paths, database contents, user media or financial details are included in this report.

---

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [October 19, 2026, 7:54pm UTC](https://community.fly.io/t/sjc-legacy-builder-intermittent-exec-sftp-timeouts-despite-successful-readiness-and-validation-runs/28854/3 "2026-10-19T19:54:25Z")

</div>

Hi there,

Thank you for sharing all of those details, I’m hoping I didn’t miss anything but please let me know if I did! I checked your builder logs and noticed that it was running on an SJC host that we had to hard reboot during Friday’s incident. I believe those timeouts you were experiencing were related to that. If not, do you have timestamps for any failures before October 16? That would help us figure out whether the issues started before Friday’s incident or not.

Looking at your logs now, they show normal startups and shutdowns, without any obvious crashes or resource issues. One option that might help is recreating your remote builder using `fly apps destroy fly-builder-tidy-sandbar-5677`. A fresh builder would then be created on your next deploy, but you’ll lose the existing build cache, so the first build may take longer.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [October 29, 2026, 7:55pm UTC](https://community.fly.io/t/sjc-legacy-builder-intermittent-exec-sftp-timeouts-despite-successful-readiness-and-validation-runs/28854/4 "2026-10-29T19:55:01Z")

</div>

Closed on October 29, 2026, 7:55pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
