Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95414

MQTT bridging: error connecting to remote broker

$
0
0

@naamah75 wrote:

I’m running Mosquitto server with no problem, now I would want to bridge the server to shiftr.io, so I started to use the external configuration as below:

{
  "logins": [
    {
      "username": "***",
      "password": "***"
    }
  ],
  "anonymous": false,
  "customize": {
    "active": true,
    "folder": "mosquitto"
  },
  "certfile": "***.crt",
  "keyfile": "private.key",
  "require_certificate": false
}

But I get the error when connecting to shiftr.io

1573747520: Connecting bridge shiftr_io (broker.shiftr.io:1883)
1573747520: Socket error on client local.core-mosquitto.local.hass.io.shiftr_io, disconnecting.

the connection to local mosquitto broker is up as usual.

Tried to connect to shiftr.io with node-red that is running on the same docker container as mosquitto and the connection to the remote broker work like a charm.
So, what’s the problem with the bridging?
The moquitto configuration is the following:

connection shiftr_io
address broker.shiftr.io:1883
topic # out 0
remote_username ***
remote_password ***

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>