Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waiting for cdc-service_1 to become healthy (it's unhealthy) #62

Open
Vishnutha opened this issue Apr 12, 2023 · 6 comments
Open

Waiting for cdc-service_1 to become healthy (it's unhealthy) #62

Vishnutha opened this issue Apr 12, 2023 · 6 comments

Comments

@Vishnutha
Copy link

I am getting this error if I try running the application, I tried restarting the application.Please help in installing the application

@cer
Copy link
Contributor

cer commented Apr 12, 2023

Please provide more information:

  1. Your environment windows/mac?
  2. How much have you allocated to the Docker VM - the default is usually not enough
  3. Which version of this project (e.g. branch, GIT sha) are you running
  4. What's the output of docker ps -a
  5. What's the output of docker logs <container-name> the running containers.

@Vishnutha
Copy link
Author

System Environment: Ubuntu 20.04
I am running the master branch of the code.

The output of docker logs ftgo-application_cdc-service_1 :
cdc_logs.txt

The output of docker ps -a:
Screenshot from 2023-04-12 17-45-33

@cer
Copy link
Contributor

cer commented Apr 12, 2023

You appear to have some ftgo related containers running. They use the same ports as eventuate-tram-sagas-examples-customers-and-orders and will prevent its containers from starting

@cer
Copy link
Contributor

cer commented Apr 12, 2023

The output of docker logs ftgo-application_cdc-service_1 :
cdc_logs.txt

ftgo-application_cdc-service_1 should be eventuate-tram-sagas-examples-customers-and-orders...

I don't think it can connect to the database:

2023-04-12 11:54:11.758  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2023-04-12 11:54:11.787  WARN 1 --- [           main] com.zaxxer.hikari.util.DriverDataSource  : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.

The connection pool is starting... but it is not started.

@Vishnutha
Copy link
Author

You appear to have some ftgo related containers running. They use the same ports as eventuate-tram-sagas-examples-customers-and-orders and will prevent its containers from starting

So sir, Shall I change the ports in docker_compose.yml , Will that be sufficient or are there any extra steps that I need to follow?

@cer
Copy link
Contributor

cer commented Apr 12, 2023

You appear to have some ftgo related containers running. They use the same ports as eventuate-tram-sagas-examples-customers-and-orders and will prevent its containers from starting

So sir, Shall I change the ports in docker_compose.yml , Will that be sufficient or are there any extra steps that I need to follow?

You could carefully change the ports.
But it would be safer/simpler to shutdown the FTGO application and then startup the other application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants