Effing.Bombast
Vapor (Swift) Postgres connection failure
With the namespace it would be the following?
I deployed with these vars but still got a socket address error:
I also tried with
DATABASE_PORT=${{Postgres.PGPORT}}
but same result.
Is ${{Postgres.RAILWAY_PRIVATE_DOMAIN}}
correct, or is there another Postgres variable I should use?
Thanks again21 replies
Vapor (Swift) Postgres connection failure
Here are the error details from https://github.com/apple/swift-nio/blob/f4c61cfdb7b2322935f242f0c292e6bd7e08c53f/Sources/NIOCore/SocketAddresses.swift#L57-L67:
21 replies
Vapor (Swift) Postgres connection failure
Just a quick follow-up to this, I can run the Vapor project against the Railway database in my local dev environment with the following config:
On Railway I've attempted to deploy the Vapor project with the following configs:
and
and both crash on deploy with the
CERTIFICATE_VERIFY_FAILED
error above.21 replies