20 days ago
context: pwmm-6w
internal
load build definition from Dockerfile
0ms
internal
load metadata for docker.io/library/python:3.13-slim
1s
auth
library/python:pull token for registry-1.docker.io
1ms
internal
load .dockerignore
0ms
internal
load build context
0ms
5
RUN pip install --upgrade pip && pip install -r requirements.txt cached
0ms
4
COPY requirements.txt . cached
0ms
3
RUN apt-get update && apt-get install -y build-essential curl libpq-dev git && rm -rf /var/lib/apt/lists/* cached
0ms
2
WORKDIR /app cached
0ms
6
COPY . .
756ms
auth
sharing credentials for production-asia-southeast1-eqsg3a.railway-registry.com
0ms
importing to docker
14s
Build time: 25.78 seconds
==================== Starting Healthcheck ====================
Path: /health
Retry window: 5m0s
Attempt #1 failed with service unavailable. Continuing to retry for 4m49s
Attempt #2 failed with service unavailable. Continuing to retry for 4m38s
Attempt #3 failed with service unavailable. Continuing to retry for 4m26s
Attempt #4 failed with service unavailable. Continuing to retry for 4m12s
Attempt #5 failed with service unavailable. Continuing to retry for 3m53s
Attempt #6 failed with service unavailable. Continuing to retry for 3m27s
Attempt #7 failed with service unavailable. Continuing to retry for 2m47s
Attempt #8 failed with service unavailable. Continuing to retry for 2m7s
Attempt #9 failed with service unavailable. Continuing to retry for 1m27s
Attempt #10 failed with service unavailable. Continuing to retry for 47s
Attempt #11 failed with service unavailable. Continuing to retry for 6s
15 Replies
20 days ago
Is this your application? Have you created a /health endpoint? If you have, can you share it?
20 days ago
Hi Team
Yes please check
app = FastAPI()
@app.get("/health")
async def health():
return {"status": "ok"}
Thanks
sivakumar v
Status changed to Awaiting Railway Response chandrika • 20 days ago
veera-sivakumar
Hi TeamYes please checkapp = FastAPI() @app.get("/health") async def health(): return {"status": "ok"} Thanks sivakumar v
19 days ago
Can you share the entirety of your deployment logs?
19 days ago
Hi Team You reached the start of the range
Sep 28, 2025, 11:02 PM
Starting Container
INFO: Started server process [1]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
Status changed to Open brody • 19 days ago
19 days ago
Can you create an environmental variable with the name PORT
and set it to 8000
?
19 days ago
Hi Team I tried same error context: 5519-kdGO
internal
load build definition from Dockerfile
0ms
internal
load metadata for docker.io/library/python:3.13-slim
1s
internal
load .dockerignore
0ms
1
9ms
internal
load build context
0ms
2
WORKDIR /app
62ms
3
RUN apt-get update && apt-get install -y build-essential curl libpq-dev git && rm -rf /var/lib/apt/lists/*
13s
Processing triggers for libc-bin (2.41-12) ...
4
COPY requirements.txt .
55ms
5
RUN pip install --upgrade pip && pip install -r requirements.txt
36s
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
6
COPY . .
1s
importing to docker
17s
auth
sharing credentials for production-asia-southeast1-eqsg3a.railway-registry.com
0ms
Build time: 136.83 seconds
==================== Starting Healthcheck ====================
Path: /health
Retry window: 5m0s
Attempt #1 failed with service unavailable. Continuing to retry for 4m49s
Attempt #2 failed with service unavailable. Continuing to retry for 4m38s
19 days ago
Is it possible that I'm able to view the source code for this project? Does the health endpoint work locally?
18 days ago
Hi Team
Yes this small project sour code available in https://github.com/veera-sivakumar/RAGPythonApp
Thanks
Sivakumar V
veera-sivakumar
Hi TeamYes this small project sour code available in https://github.com/veera-sivakumar/RAGPythonAppThanksSivakumar V
18 days ago
I submitted a PR! Your issue was you only binding to IPv4, you need to bind to IPv6 and IPv4. You can accept my changed here: https://github.com/veera-sivakumar/RAGPythonApp/pull/1
18 days ago
I'd also like to remind you that variables go in the RAILWAY variables tab, not in a .env file in your repository. All your secrets and keys are public in that repository.
18 days ago
Hey, like loudbook has already mentioned above me, your environment variables are exposed to the public and should be reset ASAP. Also, don't forget to remove your .env
file and blacklist it in your .gitignore
file afterwards.
18 days ago
And to add on to uxuz's addition to me, you MUST cycle all your keys even after removing it, ignoring it, and clearing git cache. Those keys will never disappear from the repository's history.
Status changed to Solved noahd • 18 days ago
17 days ago
Hi team
I have .env values in railway env variables noe deployment successful Bit i got error Application failed to respond
This error appears to be caused by the application. Please check
with regards
Sivakumar v
Status changed to Open Railway • 17 days ago
veera-sivakumar
Hi teamI have .env values in railway env variables noe deployment successful Bit i got error Application failed to respondThis error appears to be caused by the application. Please checkwith regardsSivakumar v
17 days ago
Is the domain you created pointing to port 8000? Is the port variable in Railway set to 8000?
17 days ago