spidertwin2
spidertwin2
Explore posts from servers
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
is this the right way to do things?
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
ok, so I realized my app needs two services --- one postgres for db, another empty service to deploy my app. I was using db service for deployment as well which created trouble. Now with railway up I am deploying to the second service (not db). This way, I am able to deploy my app and also get a railway provided url.
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
so, I deleted the service and created a new one...seemed to work fine then, I was able to execute yarn prisma db push to update db. I was even able to connect with dbgate. But when I did railway up from my local environment, the same error surfaced - database connection failed, dbgate connection failed.
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
ohk, will try
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
what does this mean?
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
no errors, build and deploy logs look okay
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
of railway?
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
This is the error on dbgate
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
Error: Connection terminated unexpectedly at e.exports.<anonymous> (/Applications/DbGate.app/Contents/Resources/app.asar/packages/plugins/dbgate-plugin-postgres/dist/backend.js:17:175293) at Object.onceWrapper (node:events:509:28) at e.exports.emit (node:events:390:28) at Socket.<anonymous> (/Applications/DbGate.app/Contents/Resources/app.asar/packages/plugins/dbgate-plugin-postgres/dist/backend.js:9:141124) at Socket.emit (node:events:402:35) at endReadableNT (node:internal/streams/readable:1343:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) Error JSON: {} Connection: { "server": "***", "engine": "postgres@dbgate-plugin-postgres", "useDatabaseUrl": "***", "sshMode": "userPassword", "sshKeyfile": "***", "databaseUrl": "***" } Platform: darwin
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
No, tried using DATABASE_URL but not working
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
Already did, same error
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
This is probably too much handholding, but please can you send me screenshots of steps — sorry for trouble
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
As I did here?
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
Yes, my db has a volume
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
this is probably very basic - how should I restart my db?
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
Also, I cannot find a railway link xxxx-xxx-production.up.railway.app to my deployed app even after I do railway up..is it because my db is unable to connect?
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
No description
35 replies
RRailway
Created by spidertwin2 on 11/18/2023 in #✋|help
Postgres Connection Error
6df8fc82-10e0-4b56-ab0b-b2ce2d7e52b5
35 replies
RRailway
Created by spidertwin2 on 6/12/2023 in #✋|help
Using railway in bitbucket-pipelines.yml
Thanks @Brody 👍
11 replies
RRailway
Created by spidertwin2 on 6/12/2023 in #✋|help
Using railway in bitbucket-pipelines.yml
Also had to configure Bitbucket > Repository settings > Deployments > in your environment, add variable RAILWAY_TOKEN with value of your railway project token
11 replies