Hi all,
We run nightly agent jobs on Sprites (each job runs for one to two hours and makes many exec and file calls). Sprites has been great for us, but three times this month a job died on what looks like a passing error on the Sprite side:
- Nov 6, 21:40 UTC:
WebSocket error: TypeErroron an exec call - Nov 23, 15:20 UTC: a file write failed with
write failed with status 502 - Nov 24, 22:24 UTC: a file write failed with
FilesystemError: service temporarily unavailable, please retry(codeUNKNOWN). It cleared after about a minute.
Each time the Sprite was fine again shortly after. We use the @fly/sprites JavaScript SDK.
Two questions:
- What causes these? Is it the Sprite waking, the host being busy, or something else?
- Which of these errors are safe to retry, and is there a stable way to recognise them? Today the wording differs each time, and the filesystem error carries no status code or request id, so we end up matching on message text.
Happy to share our org and Sprite names privately if that helps you look at logs.
Thanks!