Replies: 1 comment
-
Hey @jonase97 This is not an obvious thing, but these are the joys of container networking! The other way of doing that is to start ActiveMQ in the same docker network and use the container name as the network alias. That's typically what we're doing for Microcks to Kafka communication. See https://github.com/microcks/microcks/blob/master/install/docker-compose/docker-compose-async-addon.yml#L57 Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
Hello everybody,
I'm currently trying to get Microcks running locally on a Windows 10 laptop. I have it installed under WSL2 with Docker Compose. The web interface is available through the browser running on localhost:8080. I was also able to login, upload an AsyncAPI document and create tests for the operations.
However, there seems to be a problem connecting to the mqtt broker (ActiveMQ) which is running on a different docker container and available on localhost:61616. The broker is definitely available, for example through Postman or other client applications.
It appears as if Microcks can't connect to the broker, there aren't any messages coming through even though the Mocks are enabled and when I try to run tests, they terminate immediately even though there should be at least a 10 second timeout.
As mentioned in other discussion topics, I have adjusted the application.properties and feature.properties in the install/docker-compose folder.
I'm not sure if I'm missing something obvious, but currently I don't even know where to look for the cause of the error and I was hoping someone has an idea what the problem could be.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions