Skip to content

Connection to mosquitto fails #4

@irosaurus

Description

@irosaurus

Hello Josar,

first of all thank you very much for releasing this awesome tool!

Since a couple of days I have the issue that RFmqtt cant connect to mosquitto anymore.

If I try it on the command line:

# ./RFmqtt
Running with -h localhost -p 1883 -u openhabian -x *************** -t 433MHz -g 3 -w 0
Can't connect to Mosquitto server

Service shows the following:

# systemctl status rfmqtt.service -l
● rfmqtt.service - RFmqtt Sniffer
   Loaded: loaded (/etc/systemd/system/rfmqtt.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Sa 2020-06-13 22:12:12 CEST; 269ms ago
  Process: 12948 ExecStart=/srv/scripts/RFmqtt (code=exited, status=255)
 Main PID: 12948 (code=exited, status=255)

Jun 13 22:12:12 openHAB RFmqtt-Sniffer[12948]: Running with -h localhost -p 1883 -u openhabian -x *************** -t 433MHz -g 3 -w 0
Jun 13 22:12:12 openHAB systemd[1]: rfmqtt.service: main process exited, code=exited, status=255/n/a
Jun 13 22:12:12 openHAB systemd[1]: Unit rfmqtt.service entered failed state.

Already recompiled RFmqtt with the last RFmqtt.cpp, but didnt make any difference.
RFSniffer is working fine though.

I noticed that there was also a new version of mosquitto installed, 1.6.10. Before I was on 1.6.8.

Maybe there was a slight change how to connect?

All my other clients can connect to mosquitto without any issues though. Tried the highest debug level on mosquitto, but I cant even see the attempt from RFmqtt to connect to the service.

OS Openhabian on Raspberry:

# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Any hint would be very much appreciated.

Cheers iro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions