2 years ago
I am using golang fiber template in go version 1.22.3. It is a standard fiber http server. After a successfull deploy, it starts to run and immediately container is stopping and returns 502.
12 Replies
2 years ago
please see this docs section -
2 years ago
which docs section
I have add this part httpServer := fiber.New(fiber.Config{
Network: "tcp",
ServerHeader: "Fiber"
AppName: "My App",
}) but still same, it says container stopping and returns 502
2 years ago
good, please see this docs page now -
i have added port checking but it is still same. Indeed it starts the fiber app. Shows count of handlers etc. But then it stops. deploy logs shows like it seems running, but when i go to logs tab at the left corner, it shows at the end "container stopping"
2 years ago
your domain is pointing to the wrong port

2 years ago
no problem!