Open shomicg opened 4 years ago
First off, thanks for the detailed config and diagram. You don't need to worry about the log message itself, it probably shouldn't be there. It's essentially saying "there was an error removing the client socket from epoll, because the client socket wasn't registered with epoll". Which is fine.
The question is - are you seeing unexpected disconnections, or was it just the message you were worried about?
I am seeing unexpected disconnection also
Sorry I've been busy with other things. When you say you see unexpected disconnections, are you sure that it isn't a client problem? Is there any other information you can give me that would help figure out what you're seeing? From the messages above all I can tell is that the clients are disconnecting, nothing more.
2020-11-02T10:40:10: Socket error on client local.broker2.broker2, disconnecting. 2020-11-02T10:40:16: Bridge local.broker2.broker2 doing local SUBSCRIBE on topic # 2020-11-02T10:40:16: Connecting bridge broker2 (bridge:8883) 2020-11-02T10:40:16: Bridge broker2.broker2 sending CONNECT 2020-11-02T10:40:19: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:40:19: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:40:34: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:40:34: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:40:49: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:40:49: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:02: Saving in-memory database to /opt/mosquitto/db/mosquitto.db. 2020-11-02T10:41:04: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:04: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:16: Socket error on client local.broker2.broker2, disconnecting. 2020-11-02T10:41:19: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:19: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:22: Bridge local.broker2.broker2 doing local SUBSCRIBE on topic # 2020-11-02T10:41:22: Connecting bridge broker2 (bridge:8884) 2020-11-02T10:41:22: Bridge broker2.broker2 sending CONNECT 2020-11-02T10:41:28: Socket error on client local.broker2.broker2, disconnecting. 2020-11-02T10:41:34: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:34: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:34: Bridge local.broker2.broker2 doing local SUBSCRIBE on topic # 2020-11-02T10:41:34: Connecting bridge broker2 (bridge:8883) 2020-11-02T10:41:34: Bridge broker2.broker2 sending CONNECT 2020-11-02T10:41:49: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:41:49: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:42:03: Saving in-memory database to /opt/mosquitto/db/mosquitto.db. 2020-11-02T10:42:04: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:42:04: Sending PINGRESP to d51872b3d32f4afa8051a1e9234f9111 2020-11-02T10:42:19: Received PINGREQ from d51872b3d32f4afa8051a1e9234f9111
I am seeing these errors and try to implement the SSL but than remove it. Now Its not at all working
I am using the Mosquitto version 1.6.9 with HA setup and I start getting the weird error after implementing the secured connection in between the bridge and brokers.
Below is my config file for Brokers
And below is my Architecture
,