Cannot deploy - health check is failing

Hello,

I have been trying for the full day to deploy a service without any success.
The service deploys successfully but the health check fails.
‘TCP health check failed on port 8000. Retrying…’

I am posting here because the service was already deployed with the “free” plan and I decided to move it to Paris with a payed plan. I did not change anything in the code and the settings are the same.

Is Koyeb having issues with the readyness probes?

Thank you in advance for your help,

Thomas

Hi!

Can you try to deploy it to San Francisco and tell me if it is working?

Hello David, I tried with San Francisco and I am getting the same error.

Hi @pralthom,

Yours ervice takes reallly a lot of CPU during the start. What exactly does it do?
It seems that it simply timeouts.

Hi,

It’s a Spring Boot app, it simply boots up at start.
You can see in the logs the app booting up successfully. Then the health check fails.

The timeout is on the TCP health check I guess.

Hello,

I have found a solution to my problem, I choose the “Micro” instance instead of the “Nano” and it booted without any problem.
I guess it was lacking some memory as the free instance was booting without any problem.

I guess Spring Boot needs a lots of RAM to start…

1 Like