hi i have mqtt 1.4.15 installed on my pc.my friend is having mqtt 3.1.1 installed on his pc,my aim is to configure a bridge between these two so that what ever messages that are published to my mqtt broker should be received by all the clients subscribing to my friends mqtt broker.so i configured a file in mosquitto folder with following lines :
# Connection name
connection testing_connection
# Host and port of endpoint (your AWS IoT endpoint)
address 192.168.100.92:1883
# Default but you should start the bridge automatically
start_type automatic
# Name of the user used to connect to local Mosquitto Broker
local_clientid abc
# Looks like AWS IoT Broker supports bridges, so we should enable this to for better loop detection
try_private true
# Set the mqtt protocoll to 3.1.1
bridge_protocol_version mqttv311
# AWS IoT Broker will only accept session with cleansession set to true
cleansession true
# AWS IoT Broker will immediately close connections if you try to publish to $SYS, therefore we need to turn off bridge notification (took me a while to find out$
notifications true
# Topic configuration
topic # both 0
and i was getting the following errors
mosquitto version 1.4.15 (build date Sat, 07 Apr 2018 11:14:23 +0100) starting
1523963648: Config loaded from aws_iot_bridge.conf.
1523963648: Opening ipv4 listen socket on port 1883.
1523963648: Opening ipv6 listen socket on port 1883.
1523963648: Connecting bridge testing_connection (192.168.100.92:1883)
Socket error on client abc, disconnecting
what is this socket error ?