You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm trying to integrate the Mosuitto broker in Dapr example instead of Redis.. I'm creating services in docker container.
I have modified docker-compose.yml and mosquitto.cnf and components/pubsub.yml as below..
Why Dapr side-car is not starting for the service-checkout.. IT shows there is error while associating pubsub.yml file..
can you please let me know what does this below error mean? what can I modify ?
checkout-dapr-1 | time="2024-06-25T06:31:50.829991065Z" level=fatal msg="Fatal error from runtime: process component filetransferpubsub error: [INIT_COMPONENT_FAIL URE]: initialization error occurred for filetransferpubsub (pubsub.mqtt3/v1): init timeout for component filetransferpubsub (pubsub.mqtt/v1) exceeded after 5s" app_id=checkout-dapr instance=7bb69d830a3c scope=dapr.runtime type=log ver=edge
Hey @Soujanya459, I think that is telling you that the checkout-dapr sidecar is timing out before MQTT component is ready. If you want to have the docker compose file up start everything, you might need the checkout-dapr container to depend on the health of the mqtt container because this is all ordering/timing dependent.
A simpler idea is to just docker compose up the mqtt container first. Then as a separate process either docker compose up (another compose.yaml file) your checkout and checkout-dapr containers. You could also use multi app run (dapr.yaml) to start your checkout app, and do that separate from the docker compose up of mqtt.
Hi I'm trying to integrate the Mosuitto broker in Dapr example instead of Redis.. I'm creating services in docker container.
I have modified docker-compose.yml and mosquitto.cnf and components/pubsub.yml as below..
Why Dapr side-car is not starting for the service-checkout.. IT shows there is error while associating pubsub.yml file..
can you please let me know what does this below error mean? what can I modify ?
checkout-dapr-1 | time="2024-06-25T06:31:50.829991065Z" level=fatal msg="Fatal error from runtime: process component filetransferpubsub error: [INIT_COMPONENT_FAIL URE]: initialization error occurred for filetransferpubsub (pubsub.mqtt3/v1): init timeout for component filetransferpubsub (pubsub.mqtt/v1) exceeded after 5s" app_id=checkout-dapr instance=7bb69d830a3c scope=dapr.runtime type=log ver=edge
docker-compose.yml
pubsub.yml
mosquitto.conf
The text was updated successfully, but these errors were encountered: