Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dniccum's avatar

Nova Tool Script 502 Error on Vapor

I am about to release a new version of a Nova Tool that I have developed and I wanted to give it a spin on an application that I have set up on Vapor. The tool is somewhat complex and thus requires a lot of Javascript; about 1.2MB when minified.

I am currently getting a 502 Error when attempting to view the app in the environment. I can confirm that this is isolated to Vapor as it works fine on my local and Forge. Additionally I reached to Support and Mohamed said that I should be seeing the issue in my logs, which I do not.

Has anyone come across this?

0 likes
1 reply
dniccum's avatar
dniccum
OP
Best Answer
Level 2

After chatting to Mohamed at Laravel, he said that because we are using a wildcard subdomain, the API Gateway and/or LoadBalancer payload is limit is 1MB. That is why I was receiving the 502 errors in production.

Please or to participate in this conversation.