jedmund
jedmund
RRailway
Created by jedmund on 2/29/2024 in #✋|help
Can't connect to Postgres via third-party tool
Hello, I'm trying to connect to a Postgres database via a third-party tool and suddenly cannot. I used to be able to connect to this one, and can still connect to a different database on Railway just fine. They are both post-migration. The tool is Postico: https://eggerapps.at/postico2/ The error is the password is incorrect??? but I'm copying it directly from the Railway Dashboard.
6 replies
RRailway
Created by jedmund on 12/16/2023 in #✋|help
Redis permission failed in PR environment
Hello, I'm trying to figure out how to get PR environments running for my Rails app that uses Redis, and I'm getting the following error constantly until the container crashes:
redis 02:20:54.81 INFO ==>
redis 02:20:54.81 INFO ==> Welcome to the Bitnami redis container
redis 02:20:54.81 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
redis 02:20:54.82 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
redis 02:20:54.82 INFO ==>
redis 02:20:54.82 INFO ==> ** Starting Redis setup **
redis 02:20:54.84 INFO ==> Initializing Redis
mkdir: cannot create directory '/bitnami/redis': Permission denied
redis 02:20:54.81 INFO ==>
redis 02:20:54.81 INFO ==> Welcome to the Bitnami redis container
redis 02:20:54.81 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
redis 02:20:54.82 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
redis 02:20:54.82 INFO ==>
redis 02:20:54.82 INFO ==> ** Starting Redis setup **
redis 02:20:54.84 INFO ==> Initializing Redis
mkdir: cannot create directory '/bitnami/redis': Permission denied
5 replies
RRailway
Created by jedmund on 6/5/2023 in #✋|help
Deployed services suddenly cannot connect to Postgres database
Hello, I have several services deployed that were working fine as of a few days ago that I've realized are down. I haven't made any changes on this project in quite a while, so I'm pretty sure I didn't misconfigure anything. There is a Postgres database in my project that suddenly cannot be connected to using Railway's preconfigured variables (${{Postgres.PGHOST}}, etc).
Rails gives the error:
ActiveRecord::ConnectionNotEstablished (connection to server at "(IP address redacted)", port (Port redacted) failed: Connection timed out
Is the server running on that host and accepting TCP/IP connections?
ActiveRecord::ConnectionNotEstablished (connection to server at "(IP address redacted)", port (Port redacted) failed: Connection timed out
Is the server running on that host and accepting TCP/IP connections?
However, if I use a desktop app (Postico) to try to connect to the Railway database directly, it's fine.
32 replies