chiperific
PG::ConnectionBad: connection to server at "34.105.6.235", port 6449 failed: Connection refused
One of my 3 applications is failing. I did migrate the data successfully on all 3 applications.
Logs for worker and web both say:
PG::ConnectionBad: connection to server at "34.105.6.235", port 6449 failed: Connection refused
Tried restarting Postgres:
And restarting my apps, but same message.
Project #: 9ddc4dfb-ab3f-4809-8481-9657a0c52a438 replies
Getting "Nothing here yet" first time visiting URL
App ID: 87b0bd8e-62e9-4f8a-ba89-ea0ae1afc203
The site has been up for a month and DNS settings are working
However, the first time a person visits the URL (https://gen1parenting.com) they get the "Nothing Here, Yet" message with the Railway logo.
Stranger still, I have several domains that redirect to this one. If you visit https://gen1parenting.org, you get redirected to https://gen1parenting.com and the site loads just fine.
Once they've reached the site via a redirect, the main URL loads fine.
10 replies
Rails app logs are delayed ~3 minutes in dashboard, don't stream to CLI
App: e0cf682e-3491-4309-b018-e3f50c9eba10
Running
railway logs
in CLI pulls logs (no timestamps, though), but doesn't seem to stream new log entries in. I have to kill the shell and run the command again. Even then it seems to be about 3 minutes behind.
Using the dashboard view, with timestamps on, I do see new log entries appear in batches, but still ~3 minutes behind live actions.
Is this expected behavior?5 replies
RVM gemset breaks Nix or Docker
Ruby on Rails 7 app. I have a
/.ruby-version
file that RVM uses to set defaults
When no gemset is indicated, Railway builds the app just fine. But if I indicate one, deploy fails.
step #11 116.0
shows a global
gemset getting created. Is there a way to override this?11 replies
Procfile with web & worker should create two services, right?
Rails 6 app with this Procfile:
I added PostgreSQL service and Redis service
Then I add Github repo.
Only one service appears and start of Build logs looks like this:
I can see "start" has the 2nd line of my
Procfile
and if I let it go fully, I have a Sidekiq
process running, but not a Puma
server.
The only issue I can think of is I'm not deploying from master
, I have a separate branch on my repo called railway
and after the service is connected, I abort the first deploy from master
and switch it over to the railway
branch.
Could this be causing the issue as it reads from the master branch initially?10 replies
HEROKU transfer pg_restore error could not execute query ERROR role b1ahbl4h does not exist
Following the instructions from the Postgres Backup and Restore guide (https://blog.railway.app/p/postgre-backup).
Neither the general nor Heroku-specific instructions were working for me.
I keep getting the same error 37 times:
The article section on
pg_restore
specific to Heroku (https://blog.railway.app/p/postgre-backup#heroku-specific-instructions) doesn't seem to actually differ from the general pg_restore
method.
Could the issue be that the article is missing the --no-owner
flag?
To test, I ran this:
pg_restore -U postgres -h containers-us-west-##.railway.app -p 7180 -W -F t --no-owner -d railway latest.dump
And it worked.
Is this correct? If so, should the article be updated?5 replies