"network is unreachable" using fly CLI

Today i started having issues with the fly CLI giving me “network is unreachable” error on many hosts. For example running fly apps list sometimes works fine other times i get this error:
Error: Post "https://api.fly.io/graphql": dial tcp [2a09:8280:1:f28:246e:d6a:949:dbbf]:443: connect: network is unreachable

The main problem is fly deploy that never works:

==> Verifying app config
Validating app/fly.toml
✓ Configuration is valid
--> Verified app config
==> Building image
WARN Failed to start remote builder heartbeat: failed building options: websocket: failed to WebSocket dial: failed to send handshake request: Get "https://lhr2.gateway.6pn.dev:443/": dial tcp: lookup lhr2.gateway.6pn.dev on no such host

==> Building image
✓ compatible remote builder found
INFO Override builder host with: https://fly-builder-wispy-darkness-4073.fly.dev (was tcp://[fdaa:4:e7ef:a7b:15d:a3ab:32e4:2]:2375)

Remote builder fly-builder-wispy-darkness-4073 ready
Error: failed to fetch an image or build from source: failed to send first heartbeat: Get "http://:8080/flyio/v1/extendDeadline": dial tcp: lookup fly-builder-wispy-darkness-4073.fly.dev on no such host

other times returns:

Error: failed retrieving current user: Post "https://api.fly.io/graphql": dial tcp [2a09:8280:1:f28:246e:d6a:949:dbbf]:443: connect: network is unreachable

I checked the Fly.io status page and no issues were reported.

Any ideia if it`s something locally and what can it be?

PS: I need to deploy the app, is there any other way?

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