Hello, I was just going through this process of resetting my wg, i did both the normal reset, and the flyctl wireguard websockets enable followed by agent reset, and I can confirm neither have returned a positive outcome in the fly doctor and fly deploy scenarios. The issue persists, sadly.
Hello, these are the results after I run fly doctor
Testing authentication token... PASSED
Testing flyctl agent... PASSED
Testing local Docker instance... Nope
Pinging WireGuard gateway (give us a sec)... FAILED
(Error: ping gateway: no response from gateway received)
We can't establish connectivity with WireGuard for your personal organization.
On threads from a few months ago of this issue, I notice that websockets enable was the fix for most of the people, sadly this wasn’t the case here, as I have already tried both suggested solutions
Update from my end:
Strangely enough, after multiple fly deploy attempts, my builder finally connected and my app is up and running!
Thanks support for sticking around and for the help! Hope you have a great day
Also checked with fly doctor and got the following message:
Testing authentication token… PASSED
Testing flyctl agent… PASSED
Testing the local Docker instance… Nope
Pinging the WireGuard gateway (one second)… FAILED
(Error: ping gateway: no response received from gateway).
We cannot connect to WireGuard for your personal organization.
WireGuard is running on 51820/udp, which may be blocking your local network.
If this is the first time you are using ‘flyctl’ on this machine, you
you can try to run ‘flyctl doctor’ again.
If this worked before, you can ask ‘flyctl’ to create a new peer for you
create a new peer for you by running ‘flyctl wireguard reset’.
If your network may be blocking UDP, you can run ‘flyctl wireguard websockets enable’,
followed by ‘flyctl agent restart’, and we will run WireGuard over HTTPS.
Similarly, I tried ‘flyctl wireguard websockets enable’ and ‘flyctl agent restart’ but had no success. The test to local Docker is still failing.
Update:
Still failing to deploy…
==> Verifying app config
Validating T:\app\fly.toml
Platform: machines
✓ Configuration is valid
→ Verified app config
==> Building image
WARN Failed to start remote builder heartbeat: failed building options: failed probing “personal”: context deadline exceeded
Error: failed to fetch an image or build from source: error connecting to docker: failed building options: failed probing “personal”: context deadline exceeded
I’m also getting the same issue since today.
All checks are passing with fly doctor.
I also tried flyctl wireguard websockets enable, agent reset and fly wg reset
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
WARN Failed to start remote builder heartbeat: server returned a non-200 status code: 500
Error: failed to fetch an image or build from source: error connecting to docker: server returned a non-200 status code: 500
FWIW, I just had the very same error and what fixed it was running flyctl agent restart as the agent wasn’t running for some reason. Then deploy worked fine.
exactly the same thing i experienced. and still no luck.
i got a thought that Hobby plan has limit for buildings per day… which would make sense.
actually i’d switch to a hobby+ plan with just a ‘a couple machines up all the time’ perk for 15 bucks/month. i’d pay it happily as i am grateful for the Fly team work and opportunities they provide. but it’s not 30 just yet for me. i m only 5 month old developer and the concept of mvp is quite far for me to mind.
am i alone?