Thanks a lot for taking time to answer!! I was trying to follow the instructions and probably got confused and deployed the tag in the instructions instead of my tag. As soon as I deployed the right tag my test app came back to life!
But I still have a few questions. Or maybe a lot. First, where you able to identify and troubleshoot the issue because you are a fly.io employee? What I mean is that I tried to go through the entire flyctl reference and I couldn’t find a way to display any information about v0
with any command. For example, fly history
shows the creation of secrets in the day I deployed my test app but no Release complete
:
TYPE STATUS DESCRIPTION USER DATE
Release complete Release <redacted> 7m46s ago
Release complete Release <redacted> 23h38m ago
Release complete Release <redacted> 23h43m ago
Secret SSH_CERT (a257c2e9611b5273) <redacted> 2023-05-05T01:46:02Z
Secret SSH_KEY (3333e3957f42499a) <redacted> 2023-05-05T01:46:01Z
Secret OPERATOR_PASSWORD (779b2c154ee32571) <redacted> 2023-05-05T01:46:01Z
Secret REPL_PASSWORD (7b77efd0ac094f7b) <redacted> 2023-05-05T01:46:01Z
Secret SU_PASSWORD (9bf642fdec3e45c2) <redacted> 2023-05-05T01:46:01Z
Secret FLY_CONSUL_URL (7053060e9cf5c0a1) <redacted> 2023-05-05T01:46:01Z
fly app releases --image
doesn’t show any signs of v0
either:
DESCRIPTION USER DATE DOCKER IMAGE
v3 complete Release <redacted> 9m33s ago registry-1.docker.io/flyio/postgres-flex@sha256:5b83beb33bf77ef3079bc8e8672534dd1bfe046562991b686b83dd3e9bbb2090
v2 complete Release <redacted> 23h40m ago registry-1.docker.io/flyio/postgres@sha256:72c4931316e747f2a9a9aeba2405017ddd1d9e71a238b5febfbc5a9a9181d8e6
v1 complete Release <redacted> 23h44m ago registry-1.docker.io/flyio/postgres@sha256:72c4931316e747f2a9a9aeba2405017ddd1d9e71a238b5febfbc5a9a9181d8e6
Web dashboard is the same, there is no sign of v0
anywhere
Another thing I just noticed, when I saved the information when creating my test app the generated output was this:
VERSION STATUS Postgres cluster <appname>-db created
Username: postgres
Password: <password>
Hostname: <appname>-db.internal
Flycast: fdaa:2:1de0:0:1::2
Proxy port: 5432
Postgres port: 5433
Connection string: postgres://postgres:<password>@<appname>-db.flycast:5432
I obviously edited the output to show it here but please notice that there is a discrepancy in the Hostname:
and the Connection string:
one has .internal and the other one has .flycast
Looks like they work interchangeably but you guys probably want to generate a consistent output
Another thing. Even though my app is back up and working, I still can’t connect to the database remotely. And I still don’t understand why if I ssh into the machine I still have to specify the host because without it I’m getting the same error:
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
I also noticed my machine has a different ipv6 address than the one provided (fdaa:2:1de0:0:1::2
) and both work as valid psql -h
option as well as 127.0.0.1
but that’s probably you guys doing some crazy routing over there
Sorry for being a nuisance.