fly deploy
==> Verifying app config
→ Verified app config
==> Building image
Waiting for remote builder fly-builder-bitter-brook-3929…
Also, Failed attaching *** to the Postgres cluster ***-db: %!w(*errors.errorString=&{can’t build tunnel for personal: Post “GraphQL Playground”: read tcp 192.168.43.130:46474->77.83.143.220:443: read: connection reset by peer}).\nTry attaching manually with ‘fly postgres attach --app *** ***-db’\nError creating Postgresql database. Be warned that this may affect deploys
I am starting to get really frustrated. The main problem is that i continuosly get stuck and I don’t know if I am doing something wrong or you are doing something wrong and I don’t know how to figure out a solution, leaving me wondering and wasting hours trying stuff. I am a student and can’t pay now, but be vary happy to happy when i start to get some traction. But in this situation I am hust considering to change just service.
Also "Failed attaching ****** to the Postgres cluster ****-db: %!w(*errors.errorString=&{can’t build tunnel for personal: You must be authenticated to view this.}).\nTry attaching manually with ‘fly postgres attach --app ***** *****-db’\nError creating Postgresql database. Be warned that this may affect deploys
"
Solved:
(venv) (base) eb@eb:~/PycharmProjects/***$ 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: pinger: You must be authenticated to view this.)
We can’t establish connectivity with WireGuard for your personal organization.
WireGuard runs on 51820/udp, which your local network may block.
If this is the first time you’ve ever used ‘flyctl’ on this machine, you
can try running ‘flyctl doctor’ again.
If this was working before, you can ask ‘flyctl’ to create a new peer for
you by running ‘flyctl wireguard reset’.
If your network might be blocking UDP, you can run ‘flyctl wireguard websockets enable’,
followed by ‘flyctl agent restart’, and we’ll run WireGuard over HTTPS.
(venv) (base) eb@eb:~/PycharmProjects/$ flyctl wireguard websockets enable
(venv) (base) eb@eb:~/PycharmProjects/$ flyctl agent restart
(venv) (base) eb@eb:~/PycharmProjects/$ fly doctor
Testing authentication token… PASSED
Testing flyctl agent… PASSED
Testing local Docker instance… Nope
Pinging WireGuard gateway (give us a sec)… PASSED
instantennis app has not been deployed yet. Skipping app checks. Deploy using flyctl deploy
.
(venv) (base) eb@eb:~/PycharmProjects/$ fly postgres attach --app *** ***-db
Checking for existing attachments
Registering attachment
Creating database
Creating user
Postgres cluster -db is now attached to ***
The following secret was added to :
DATABASE_URL=postgres://:@-db.flycast:5432/instantennis?sslmode=disable
(venv) (base) eb@eb:~/PycharmProjects/$
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.