Hello,
I'm running Mosquitto version 1.6.2 on Ubuntu 18.04.
I defined a bridge between a remote broker to my local Mosquitto instance.
When publishing messages to my remote broker these enter my local broker.
Howver, when looking at the mosquitto.log file I see 2 problems:
- Connection Refused: unacceptable protocol version
- Socket error on client local.ip-x-x-x-1x.bridge, disconnecting.
Anyone an idea what causes these errors?
UPDATE:
Obviously these error messages appear only when starting the local Mosquitto broker!
UPDATE:
Upgraded to 1.6.3 but still the same 2 error messages when starting the broker.
Can I ignore these error messages, since, for the rest, everything seems to work?
Thanks.
Guy
/var/log/mosquitto/mosquitto.log
1560783260: mosquitto version 1.6.2 starting
1560783260: Config loaded from /etc/mosquitto/mosquitto.conf.
1560783260: Opening ipv4 listen socket on port 1883.
1560783260: Opening ipv4 listen socket on port 8883.
1560783260: Opening ipv6 listen socket on port 8883.
1560783260: Opening websockets listen socket on port 8083.
1560783260: Connecting bridge (step 1) bridge (x.y.z:8883)
1560783261: Connecting bridge (step 2) bridge (x.y.z:8883)
1560783261: Bridge ip-x-x-x-x.bridge sending CONNECT
1560783261: Received CONNACK on connection local.ip-x-x-x-x.bridge.
1560783261: Connection Refused: unacceptable protocol version
1560783261: Socket error on client local.ip-x-x-x-x.bridge, disconnecting.
1560783261: New connection from x.x.x.x on port 8883.
1560783262: New client connected from x.x.x.x as 1e6b718d-b46d-4f46-bc73-f9ca7cd403731560779796986 (p2, c1, k10, u'ttn').
1560783262: No will message specified.
1560783262: Sending CONNACK to 1e6b718d-b46d-4f46-bc73-f9ca7cd403731560779796986 (0, 0)
1560783266: Connecting bridge (step 1) bridge (x.y.z:8883)
/etc/mosquitto/conf.d/bridge.conf
connection bridge
address x.y.z:8883
# Specifying which topics are bridged
topic toto/foo/+/up in 0 "" ""
remote_username username
remote_password password
local_username localusername
local_password localpassword
bridge_protocol_version mqttv311
bridge_cafile /etc/mosquitto/certs/mqttca.pem
[Updated on: Wed, 19 June 2019 09:03]
Report message to a moderator