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

david19's avatar

Forge Api SDK works on localhost, but not in Forge

Hello Team. I use the package forge/sdk for create my sites on forge.

Here is the problem: If i send a request from my localhost to forge, its work perfect :)

But if i send the request from my live server in forge i get this error:

"502 Bad Gateway Nginx".

I dont get any errors in forge. I changed in forge the Max Execution Time:300

And i restart php,server,mysql,nginx, and clear caches and config. But its not work. I dont why it works from localhost, but not from my live domain on forge.

0 likes
1 reply
david19's avatar

No a idea? Today i try again, and its only work from localhost. :(

Please or to participate in this conversation.