gibsfinance
gibsfinance
RRailway
Created by gibsfinance on 9/6/2024 in #✋|help
internal networking to finish build step
hi there, i am trying to access a document hosted on one backend service by another backend service. during startup, i have backend service a reach out to backend service b and it is able to get the document. i am using the pattern: http://${{service-b.RAILWAY_PRIVATE_DOMAIN}}:${{service-b.PORT}} and service b is bound to ::8080 so i would think it should be pretty straightforward. anything i am missing here?
23 replies
RRailway
Created by gibsfinance on 6/10/2024 in #✋|help
postgres terminating abnormally
for some reason when both the ui and i try to connect to my postgres instance, we seem to be getting failures. the error message i am seeing is
psql: error: connection to server at "monorail.proxy.rlwy.net" (000.000.000.000), port 00000 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
psql: error: connection to server at "monorail.proxy.rlwy.net" (000.000.000.000), port 00000 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
wondering how to approach this / debug it or maybe there is something i am doing wrong. my start command is
docker-entrypoint.sh -c 'shared_buffers=1GB' -c 'temp_buffers=32MB' -c 'max_connections=500' -c 'work_mem=256MB' -c 'maintenance_work_mem=256MB' -c 'max_wal_size=1GB' -c 'listen_addresses=*'
docker-entrypoint.sh -c 'shared_buffers=1GB' -c 'temp_buffers=32MB' -c 'max_connections=500' -c 'work_mem=256MB' -c 'maintenance_work_mem=256MB' -c 'max_wal_size=1GB' -c 'listen_addresses=*'
my docker container is https://hub.docker.com/r/gibsfinance/assets-postgres the only other difference is that i am using
/var/lib/postgresql/data/pgdata13
/var/lib/postgresql/data/pgdata13
for my PGDATA value. i did this change in an effort to get around this weird error that i was seeing where the db was complaining that the database was created by postgres v16, when i built and everything is using v13
86 replies