R
Railway•12mo ago
JoshOnX

Railway backend Failing

am getting this errors when i push to my django backend stage-0 8/10] RUN chmod u+x release.sh && ./release.sh: 11.39 self.connection = self.get_new_connection(conn_params) 11.39 File "/opt/venv/lib/python3.8/site-packages/django/utils/asyncio.py", line 33, in inner 11.39 return func(*args, kwargs) 11.39 File "/opt/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection 11.39 connection = Database.connect(conn_params) 11.39 File "/opt/venv/lib/python3.8/site-packages/psycopg2/init.py", line 122, in connect 11.39 conn = _connect(dsn, connection_factory=connection_factory, **kwasync) 11.39 django.db.utils.OperationalError: connection to server at "containers-us-west-198.railway.app" (34.127.24.176), port 6237 failed: Connection refused 11.39 Is the server running on that host and accepting TCP/IP connections? 11.39 ----- Dockerfile:24 ------------------- 22 | # release phase 23 | COPY . /app/. 24 | >>> RUN chmod u+x release.sh && ./release.sh 25 | 26 | ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c chmod u+x release.sh && ./release.sh" did not complete successfully: exit code: 1 Error: Docker build failed
5 Replies
Percy
Percy•12mo ago
Project ID: dd1fde59-dce0-4a02-a908-9d578e24722c
JoshOnX
JoshOnX•12mo ago
dd1fde59-dce0-4a02-a908-9d578e24722c hello @Brody please i need your help thanks
Brody
Brody•12mo ago
do not ping conductors please #🛂|readme #5 anyway, send the dockerfile and send this release.sh script
JoshOnX
JoshOnX•12mo ago
ohh alright will ping that thanks your name is just too sweet to call "Brody". anyways when i get home will do just that thanks
Brody
Brody•12mo ago
will not ping* rule #5
Want results from more Discord servers?
Add your server