Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Bridge error - connection refused / socket error on client(Bridge error)
Bridge error - connection refused / socket error on client [message #1808114] Mon, 17 June 2019 15:10
Guy D is currently offline Guy DFriend
Messages: 5
Registered: March 2014
Junior Member

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?

Obviously these error messages appear only when starting the local Mosquitto broker!

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?



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)


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

Previous Topic: using Mosquitto as a client to VerneMQ.
Next Topic:Possible Memory Leak with 2 ESP32?
Goto Forum:

Current Time: Tue Dec 01 23:26:50 GMT 2020

Powered by FUDForum. Page generated in 0.04771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top