7 months ago
Hi! I'm new here, and I've set up a laravel12 application, but some pages within the application get error 502... but only here, when I test in my local environment, it works normally... I don't know what I can do. And I don't get anything in the logs, and my application is fine and works normally on other pages. But some specific, small actions give rise to errors.
In my log the only thing that appears is this:
2025/05/14 13:17:57 [error] 36#36: *79 upstream sent too big header while reading response header from upstream, client: 100.64.0.5, server: localhost, request: "GET /sales HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "pdv-system-production.up.railway.app"
I think it might be something with nginx, but could I configure nginx here? What can I do to avoid this? In my code everything looks normal... so much so that it works in other environments.
2 Replies
7 months ago
Heya, have you read our laravel guide ? https://docs.railway.com/guides/laravel
Unfortunately since this is an application-level issue, we're unable to help you.
However, we have a growing community of active developers, so feel free to open a public thread with some more details, and someone can help you out !
Status changed to Awaiting User Response Railway • 7 months ago
7 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 7 months ago
7 months ago
I changed the deploy to railpack and now it's working. Thank you!
Status changed to Solved uxuz • 7 months ago
Status changed to Solved chandrika • 7 months ago