Hi Team,My deployment is stuck on health check and I am unable to deploy, I am using eMicro instance to deploy me spring boot application which is listening to port 8090 and 8092. I can see the logs that the application has started but somehow it is unable to pass health checks. Below are the logs
I have removed some mongodb related logs
Starting download for registry01.prod.koyeb.com/k-f640b271-9366-4fe1-8b36-f8c0e9e605b7/0d029fc6-e977-4611-8d64-6ca613f44971:26334e5a-a096-44eb-bec2-9e0a6c6454ac
Download progress: 0% |e[32me[0m--------| (1.2 KiB/s)
Download progress: 0% |e[32me[0m--------| (465.0 B/s)
Download complete for registry01.prod.koyeb.com/k-f640b271-9366-4fe1-8b36-f8c0e9e605b7/0d029fc6-e977-4611-8d64-6ca613f44971:26334e5a-a096-44eb-bec2-9e0a6c6454ac
Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8 -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
Instance is starting... Waiting for health checks to pass.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.5.3)
2025-08-23T20:39:26.096Z INFO 1 --- [ChatAppBackend] [ main] c.c.b.C.ChatAppBackendApplication : Starting ChatAppBackendApplication v0.0.1-SNAPSHOT using Java 21.0.7 with PID 1 (/workspace/target/ChatAppBackend-0.0.1-SNAPSHOT.jar started by koyeb in /workspace)
2025-08-23T20:39:26.104Z DEBUG 1 --- [ChatAppBackend] [ main] c.c.b.C.ChatAppBackendApplication : Running with Spring Boot v3.5.3, Spring v6.2.8
2025-08-23T20:39:26.106Z INFO 1 --- [ChatAppBackend] [ main] c.c.b.C.ChatAppBackendApplication : No active profile set, falling back to 1 default profile: "default"
2025-08-23T20:39:29.380Z INFO 1 --- [ChatAppBackend] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
2025-08-23T20:39:29.620Z INFO 1 --- [ChatAppBackend] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 212 ms. Found 2 MongoDB repository interfaces.
2025-08-23T20:39:33.647Z INFO 1 --- [ChatAppBackend] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http)
2025-08-23T20:39:33.706Z INFO 1 --- [ChatAppBackend] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-08-23T20:39:33.707Z INFO 1 --- [ChatAppBackend] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.42]
2025-08-23T20:39:34.078Z INFO 1 --- [ChatAppBackend] [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-08-23T20:39:34.165Z INFO 1 --- [ChatAppBackend] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 7775 ms
2025-08-23T20:39:36.181Z INFO 1 --- [ChatAppBackend] [fi6.mongodb.net] org.mongodb.driver.cluster : Adding discovered server ac-h1kgg8d-shard-00-00.inszfi6.mongodb.net:27017 to client view of cluster
2025-08-23T20:39:38.599Z DEBUG 1 --- [ChatAppBackend] [ main] c.c.b.C.config.JwtAuthenticationFilter : Filter 'jwtAuthenticationFilter' configured for use
2025-08-23T20:39:38.855Z INFO 1 --- [ChatAppBackend] [ main] eAuthenticationProviderManagerConfigurer : Global AuthenticationManager configured with AuthenticationProvider bean with name authenticationProvider
2025-08-23T20:39:38.857Z WARN 1 --- [ChatAppBackend] [ main] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with an AuthenticationProvider bean. UserDetailsService beans will not be used by Spring Security for automatically configuring username/password login. Consider removing the AuthenticationProvider bean. Alternatively, consider using the UserDetailsService in a manually instantiated DaoAuthenticationProvider. If the current configuration is intentional, to turn off this warning, increase the logging level of 'org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer' to ERROR
2025-08-23T20:39:39.288Z INFO 1 --- [ChatAppBackend] [ main] c.c.socketio.SocketIOServer : Session store / pubsub factory used: MemoryStoreFactory (local session store only)
2025-08-23T20:39:39.767Z INFO 1 --- [ChatAppBackend] [ main] c.c.b.C.websocket.SocketModule : SocketIO Started
2025-08-23T20:39:39.772Z INFO 1 --- [ChatAppBackend] [ntLoopGroup-2-1] c.c.socketio.SocketIOServer : SocketIO server started at port: 8092
2025-08-23T20:39:40.533Z INFO 1 --- [ChatAppBackend] [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator'
2025-08-23T20:39:43.687Z INFO 1 --- [ChatAppBackend] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '/'
2025-08-23T20:39:43.737Z INFO 1 --- [ChatAppBackend] [ main] c.c.b.C.ChatAppBackendApplication : Started ChatAppBackendApplication in 19.5 seconds (process running for 21.805)