moov-io / imagecashletter

X9’s Specifications for ICL (Image Cash Letter) to provide Check 21 services. The HTTP server is available in a Docker image and the Go package is available.
https://moov-io.github.io/imagecashletter/
Apache License 2.0
63 stars 39 forks source link

Failed to push the docker image to Cloud Foundry #301

Closed krisho007 closed 1 year ago

krisho007 commented 1 year ago

I am having an issue when I deploy the Docker image to cloud foundry (provided by SAP BTP)

What were you trying to do? In the terminal, I executed the following command. cf push x9-moov --docker-image moov/imagecashletter:latest

What did you expect to see? I expected it to deploy the server and start.

What did you see? The app was deployed, but it could not be started. Here is the error log. image

I increased the timeout to 3 minutes and still time out for the health checkup. Any thoughts on how can I solve this issue?

How can we reproduce the problem? SAP BTP provides a trial account with a Cloud Foundry environment.

adamdecaf commented 1 year ago

Do you have the output that's easier to read? Red on blue is quite hard, but it looks like the ports for health checks are wrong?

krisho007 commented 1 year ago

Got it fixed. The issue was with the health check port. By default, the Cloud Foundry checked on the 8080 port with no path. Had to make it to ping 8083 and the '/ping' path.