"Application failed to respond" in Laravel deployment

steven_01
TRIAL

a year ago

I got this information when I tried to serve the Laravel project I hosted on railway.

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.

I have gone to docs on Fixing Common Errors and I don't understand what to do about it.
No idea of where to include the host and port talked about.
I'm so confused.
I need an urgent response, please

7 Replies

Anonymous
TRIAL

10 months ago

Hi! I have the same problem. Did you solve it?


marisha323
HOBBY

9 months ago

Me too. Share if you were able to solve it.


productiononschool
HOBBY

8 months ago

i have the same problem some body have a solution?

when look to the deploy logs i found this

just to clarify i went trough my app and comment all variables i thought it was causing the error

the error persist Until NOW

MY PROJECT WAS BUILDED WITH LARAVEL 8.5 ITAS WAS WORKING FINE FEW MONTHS AGO

Starting Container

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the PUSHER_APP_KEY environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the PUSHER_APP_SECRET environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the PUSHER_APP_ID environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the PUSHER_APP_CLUSTER environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the ABLY_KEY environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the MEMCACHED_PERSISTENT_ID environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the MEMCACHED_USERNAME environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the MEMCACHED_PASSWORD environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_ACCESS_KEY_ID environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_SECRET_ACCESS_KEY environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the DYNAMODB_ENDPOINT environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the DATABASE_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the DATABASE_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the MYSQL_ATTR_SSL_CA environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the MYSQL_ATTR_SSL_CA environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the DATABASE_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the DATABASE_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the REDIS_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the REDIS_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_ACCESS_KEY_ID environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_SECRET_ACCESS_KEY environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_DEFAULT_REGION environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_BUCKET environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the AWS_ENDPOINT environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the GOOGLE_DRIVE_CLIENT_ID environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the GOOGLE_DRIVE_CLIENT_SECRET environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the GOOGLE_DRIVE_REFRESH_TOKEN environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the GOOGLE_DRIVE_FOLDER_ID environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the JWT_PRIVATE_KEY environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the JWT_PASSPHRASE environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the LOG_SLACK_WEBHOOK_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[laravel:warn] Your app configuration references the PAPERTRAIL_URL environment variable, but it is not set.

Oct 23 23:56:26

e104546d

[


hamzagorcevic
HOBBY

6 months ago

when you run app locally by default it probably runs on port 8080, you can change thatm, or you can go to 'Settings' and on place where you generated your public domain you can add custom port and make it 8080


hamzagorcevic

when you run app locally by default it probably runs on port 8080, you can change thatm, or you can go to 'Settings' and on place where you generated your public domain you can add custom port and make it 8080

ryhn-f
TRIAL

4 months ago

THIS WORKS ! , Thank you so much sir


Status changed to Solved brody 4 months ago


ericksonsv
FREE

3 months ago

I have the same problem, changing the port not solved it the problem


Status changed to Open railway[bot] 3 months ago


sebasdroid98
FREE

2 months ago

he probado el cambio de puerto y me funcionó