9 months ago
Currently I'm trying to deploy a Go API, but it always just gives me 502.
I used the environment var "PORT" (as per documentation) but that didn't help and tried with just using a hardcoded port and pointed the domain to that but that too didn't help at all. Am I doing something wrong?
Note my application did deploy correctly and is running, but its only the public domain side of things that doesn't work at all.
4 Replies
9 months ago
For reference here is my logs on the deployment, apparently the log download tool doesn't seem to function?
EDIT:
Note yes it is not 8080, which from previous deployments seemed to be the actual port I received on that PORT environment variable.
Attachments
9 months ago
9 months ago
Okay solved. Looks like using the preforking feature with Fiber doesn't work... Had to disable it to make it work. Kind of sad that isn't something that just works out of the box, as it just creates child processes to handle much bigger loads of users without using replications :(
9 months ago
!s
Status changed to Open chandrika • 9 months ago
Status changed to Solved chandrika • 9 months ago