10 months ago
I have been on this for hours, someone please help, this is urgent.. switched to port 8080 and didn't work still.
Application failed to respond
This error appears to be caused by the application.
If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.
If you are a visitor, please contact the application owner or try again later.
Project ID: 505d606b-64b3-4071-8bb0-1ca8767ee31c
43 Replies
10 months ago
Hey! Did u try following our guide on how to deploy a laravel app?
https://docs.railway.com/guides/laravel
10 months ago
There's even a 1-click-deploy template that you can use as a base for your app!
Well i deployed it manually by choosing the project from github and including all the necessary ENVs .The deployment is successful but i get 502 error
10 months ago
Are you sure that your app listens on port 8080?
10 months ago
if you notice the deploy status it says COMPLETED meaning nothing is actually running
10 months ago
Is your startup command right? Is your application correct? It’s not a Railway issue as is
10 months ago
Containerized?
10 months ago
The console suggests it’s literally not running, so I would expect a startup command issue
10 months ago
I also have no idea how Laravel works but I assume it’s not static
10 months ago
I would recommend creating a default laravel template and then copy over some values. That's what I did to make my Mongo app work with my custom image.
I deleted my docker file and now it's working but with a new erro

i had a custom dockerfile, had to get rid of it in production… now i'm using railpack builder
10 months ago
No idea what railpack builder is
10 months ago
But that's definitly an issue with your app now
10 months ago
railpack is railways new builder
10 months ago
and yes, it’s a code issue at this point
10 months ago
more robust logging will help you diagnose the issue
10 months ago
😂 Literally started using Railway yesterday, cool
10 months ago
No rust?!?!?

10 months ago

10 months ago
Hey I know Docker 😭
10 months ago
I'm going to stick to my Dockerfiles
10 months ago
did you just make this lol
10 months ago
yes
10 months ago
is it good?
10 months ago
yes
10 months ago
even better, then my meme helped you understand what railpack does
10 months ago
unfortunately.
Working now but a new error again :
Mixed Content: The page at 'https://laravel-staging-production.up.railway.app/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://*laravel-staging-production.up.railway.app/build/assets/app-B44XnbEb.css'. This request has been blocked; the content must be served over HTTPS.
Sorry guys… I am migrating from cloudways to railway.. i didn't face any of these with cloudways
10 months ago
That's another code issue. You will need to Google that for yourself
10 months ago
I'm no laravel dev but after a quick google session you might want to take a look at the URL::forceScheme('https'); function
