Fast API: Application Error: This application failed to respond

I'm trying to deploy my FastAPI app using templete but when i got Application Error: This application failed to respond
8 Replies
Percy
Percy13mo ago
Project ID: 833e8b2a-b457-4951-8eab-88a03408c2fc
Mohammed Albrayh
Mohammed AlbrayhOP13mo ago
833e8b2a-b457-4951-8eab-88a03408c2fc Every thing works perfectly locally but when i try to deploy it, it crashes
Fragly
Fragly13mo ago
Are you listening on the right port? Take a look at this: https://docs.railway.app/troubleshoot/fixing-common-errors
Mohammed Albrayh
Mohammed AlbrayhOP13mo ago
yes i guess becaue it already implemented in the railway.json: { "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS" }, "deploy": { "startCommand": "hypercorn main:app --bind "[::]:$PORT"" } }
Mohammed Albrayh
Mohammed AlbrayhOP13mo ago
No description
Mohammed Albrayh
Mohammed AlbrayhOP13mo ago
at first when i installed and deployed the templeate it worked fine, but when i write my actual code and tryed again to push the code geting crashed
Mohammed Albrayh
Mohammed AlbrayhOP13mo ago
the deploy log says that the code is working because it print
No description
Brody
Brody13mo ago
review your code and look for anything you did that could break the code
Want results from more Discord servers?
Add your server