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
public void open(String clientId, String theConnection) throws MqttPersistenceException {
if (dataDir.exists() && !dataDir.isDirectory()) {
throw new MqttPersistenceException();
} else if (!dataDir.exists() ) {
if (!dataDir.mkdirs()) {
throw new MqttPersistenceException();
}
}
if (!dataDir.canWrite()) {
throw new MqttPersistenceException();
}
...
}
Hello,
I think this might be related to #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.
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.
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
The text was updated successfully, but these errors were encountered: