502 Error
between-company
HOBBYOP

a year ago

When I run my project locally, it compiles successfully and the application is loaded on the local host. In production, the app also builds successfully, but the link provided returns a 502 error and not the landing page of my app that I was expecting.

Help please

The logs that i get are this

Starting Container

Jan 10 10:51:11

[Fri Jan 10 16:51:10.828228 2025] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.2.27 configured -- resuming normal operations

Jan 10 10:51:11

[Fri Jan 10 16:51:10.828963 2025] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Solved

3 Replies


Status changed to Awaiting User Response Railway about 1 year ago


between-company
HOBBYOP

a year ago

"I have successfully installed Symfony on my server, however, the assets are not being loaded, and when I change the URL (for example, to /login), I get the following errors:

2025/01/12 03:21:07 [error] 34#34: *14 open() "/app/public/assets/@symfony/stimulus-bundle/loader-870999a02e9fc147c034d522826ea70d.js" failed (2: No such file or directory), client: 100.64.0.2, server: localhost, request: "GET /assets/@symfony/stimulus-bundle/loader-870999a02e9fc147c034d522826ea70d.js HTTP/1.1", host: "realstateagencybackoffice-production.up.railway.app", referrer: "https://realstateagencybackoffice-production.up.railway.app/"

100.64.0.2 - - [12/Jan/2025:03:21:07 +0000] "GET /assets/@symfony/stimulus-bundle/loader-870999a02e9fc147c034d522826ea70d.js HTTP/1.1" 404 555 "https://realstateagencybackoffice-production.up.railway.app/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"

2025/01/12 03:23:19 [error] 34#34: *21 open() "/app/public/login" failed (2: No such file or directory), client: 100.64.0.3, server: localhost, request: "GET /login HTTP/1.1", host: "realstateagencybackoffice-production.up.railway.app"

having a 404 each


Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

I'm sorry but we won't be able to help further since that error is an application level issue that is not related to the Railway platform or product.


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...