404 Not Found
gilsilva20629
FREEOP

10 months ago

aprendendoapigithub-production.up.railway.app

Meu deploy funciona, consigo acessar meus endpoints do backend, porém minha aplicação(aprendendoapigithub-production.up.railway.app) retorna: 404 Not Found quando clico no link ou copio e colo a url no navegador.

Tenho o index.html;

Executo pós deploy o comando: python server.py

HTTP Logs:

{ "requestId": "KvBKMXxvQRaswWQ4Aax-fw", "timestamp": "2025-10-22T09:25:34.737830508Z", "method": "GET", "path": "/", "host": "aprendendoapigithub-production.up.railway.app", "httpStatus": 404, "upstreamProto": "HTTP/1.1", "downstreamProto": "HTTP/2.0", "responseDetails": "", "totalDuration": 1761, "upstreamAddress": "http://[fd12:f1f4:8eed:0:2000:94:63b9:c5f2]:448", "clientUa": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", "upstreamRqDuration": 1345, "txBytes": 207, "rxBytes": 713, "srcIp": "170.83.171.210", "edgeRegion": "us-east4-eqdc4a", "upstreamErrors": "[{\"deploymentInstanceID\":\"04d3842f-70fa-4d35-9579-569f3ef594e9\",\"duration\":1073,\"error\":\"connection refused\"},{\"deploymentInstanceID\":\"04d3842f-70fa-4d35-9579-569f3ef594e9\",\"duration\":64,\"error\":\"connection refused\"},{\"deploymentInstanceID\":\"04d3842f-70fa-4d35-9579-569f3ef594e9\",\"duration\":65,\"error\":\"connection refused\"}]" }

Solved

2 Replies

Railway
BOT

10 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 404 found](https://station.railway.com/questions/404-found-4be2ef41) - [🧵 n8n Google OAuth 404 Not found](https://station.railway.com/questions/n8n-google-o-auth-404-not-found-ec0fb65a) - [🧵 404 not found nginx/1.24.0](https://station.railway.com/questions/404-not-found-nginx-1-24-0-d9198a83) If you find the answer from one of these, please let us know by solving the thread!

gilsilva20629
FREEOP

10 months ago

Resolvido.

achei que o index.html ficaria automaticamente disponível no: aprendendoapigithub-production.up.railway.app, mas, eu que devo implementar as rotas para cada arquivo que quero servir no meu backend.


Status changed to Solved gilsilva20629 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...