2 years ago
details
I'm encountering issues running my backend from a repository when attempting to connect to the Google Cloud (gcloud) database. It seems that the MySQL instance on Google Cloud requires a public IP address to grant network permissions. I suspect this might be causing the connectivity problem. I would like to confirm if Railway has a specific IP address from which it makes connections, so that I can request access to this IP address from Google Cloud.
logs
[Nest] 15 - 06/25/2024, 5:58:34 PM LOG [NestFactory] Starting Nest application…
[Nest] 15 - 06/25/2024, 5:58:34 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +86ms
[Nest] 15 - 06/25/2024, 5:58:34 PM LOG [InstanceLoader] JwtModule dependencies initialized +1ms
[Nest] 15 - 06/25/2024, 5:58:34 PM LOG [InstanceLoader] AppModule dependencies initialized +0ms
[Nest] 15 - 06/25/2024, 5:58:44 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)…
at PoolConnection._handleTimeoutError (/app/node_modules/mysql2/lib/connection.js:205:17)Error: connect ETIMEDOUT
Error: connect ETIMEDOUT
Error: connect ETIMEDOUT
Error: connect ETIMEDOUT
[Nest] 15 - 06/25/2024, 5:59:49 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)…
Error: connect ETIMEDOUT
at PoolConnection._handleTimeoutError (/app/node_modules/mysql2/lib/connection.js:205:17)Error: connect ETIMEDOUT
[Nest] 15 - 06/25/2024, 6:00:28 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)…
Error: connect ETIMEDOUT
container event container died
repository
https://github.com/ValdeJose/back-end-odontologia/tree/main
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
Status changed to Solved Railway • over 1 year ago
2 years ago
Okay, thanks