Closed ghost closed 2 years ago
Hello, I think this might be related to https://github.com/softwarefactory-project/keycloak-event-listener-mqtt/issues/2 It looks like this extension doesn't work well with the keycloak docker image due to some differences with file permissions. PR #3 might fix your problem. If you could test it and confirm, I'll commit it myself.
Hello,
Apologies for the late followup. I believe the problem is fixed in the latest release - at least it is possible to disable persistence altogether in the settings.
If the problem persists, please reopen an issue.
Hi,
when i update a user in keycloak, i get this error. The mqtt broker does not received the message.
15:39:20,487 INFO [stdout] (default task-2) UH OH!! MqttException (0) 15:39:20,488 ERROR [stderr] (default task-2) MqttException (0) 15:39:20,489 ERROR [stderr] (default task-2) at deployment.event-listener-mqtt-9.0.0-jar-with-dependencies.jar//org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.open(MqttDefaultFilePersistence.java:85)
Here is the associated code of the error :
https://github.com/eclipse/paho.mqtt.java/blob/master/org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/persist/MqttDefaultFilePersistence.java
Here is my docker-compose
Le standalone.xml
my Dockerfile
and my startup-config.cli
In keycloak, the mqtt logger is selected. The mqtt run well. I MQTTBox to send message on it.
How can i resolve this error ?
Thanks a lot