Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to MQTT broker #1

Open
lungben opened this issue Apr 25, 2020 · 0 comments
Open

Cannot connect to MQTT broker #1

lungben opened this issue Apr 25, 2020 · 0 comments

Comments

@lungben
Copy link

lungben commented Apr 25, 2020

Hi,

I cannot connect to my MQTT broker (OpenHab 2.5.4 Embedded Broker), getting the error message
Attempting MQTT connection...failed, rc=-2 try again in 10 seconds
As far as I have seen, this error code means "Connection Refused: Identifier rejected".
My MQTT broker is working correctly, I can access it e.g. from Python (using paho-mqtt).

Could you please help me?

Status: Firmware Version: 1.5 IP: 192.168.1.27 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Primary DNS: 192.168.1.1 Secondary DNS: 0.0.0.0 SSID: UPC5607711 WifiPassword: ******** AsciiPassword: ASCII TCP Port: 17123 RSSI: -79 MQTT Server: 192.168.1.24 MQTT Port: 1883 MQTT ID: garden Relay1 Topic: Relay1 Relay2 Topic: Relay2 Relay3 Topic: Relay3 Relay4 Topic: Relay4 Relay5 Topic: Relay5 Relay6 Topic: Relay6 Relay7 Topic: Relay7 Relay8 Topic: Relay8 Input1 Topic: Input1 Input2 Topic: Input2 Input3 Topic: Input3 Input4 Topic: Input4 Input5 Topic: Input5 Input6 Topic: Input6 Input7 Topic: Input7 Input8 Topic: Input8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant