eventuate-tram / eventuate-tram-sagas-examples-customers-and-orders

Spring Boot/JPA microservices that use an orchestration-based saga to maintain data consistency
Other
531 stars 240 forks source link

Can't get CDC service to start #16

Closed khashish closed 4 years ago

khashish commented 4 years ago

When running ./gradlew mysqlComposeUp

I get the following messages and the CDC fails to start

Waiting for cdcservice_1 to become healthy (it's starting) Waiting for cdcservice_1 to become healthy (it's starting) Waiting for cdcservice_1 to become healthy (it's unhealthy)

GitProdEnv commented 4 years ago

Just try it again, and make sure if you are on Ubuntu, to use the pc's ip address. (console: ifconfig)

Then execute export DOCKER_HOST_IP: %yourPcIpAddressHERE

For more details, see http://eventuate.io/docs/usingdocker.html

khashish commented 4 years ago

Thanks that worked perfectly.

mostafa358 commented 4 years ago

i try to run mysqlComposeUp but i get this error

Waiting for cdcservice_1 to become healthy (it's starting) Waiting for cdcservice_1 to become healthy (it's starting) Waiting for cdcservice_1 to become healthy (it's unhealthy)

and after 15minutes project building stoped with error.| I did your recommendation
"export DOCKER_HOST_IP: %yourPcIpAddressHERE" and nothing happened. please tell us how to resolve that.