Hi! Recently I have been unable to start the fly agent via fly agent start, I made sure there are no other living fly processes before trying. It always returns the same output (save for the date and time) in the log file when it fails.
Error: failed establishing connection to agent: agent: failed to start
The agent failed to start with the following error log:
A copy of this log has been saved at /home/username/.fly/agent-logs/353709965.log
2026/04/08 08:53:09.445004 srv OK 1390522026/04/08 08:53:09.445165 srv (re-)connecting synthetics agent to https://flynthetics.fly.dev/ws
2026/04/08 08:53:09.445158 #1 connected …
2026/04/08 08:53:09.445295 #1 ← ( 37) “set-token cfg /home/username/.fly/config.yml”
2026/04/08 08:53:09.445580 #1 → ( 2) “\x02\x00”
2026/04/08 08:53:09.445594 #1 failed writing: write unix /home/username/.fly/fly-agent.sock->@: write: broken pipe
2026/04/08 08:53:09.445604 #1 failed reading: EOF
2026/04/08 08:53:09.445625 #1 dropped.
I don’t have another device on which I could test if I encounter the same issue.