Hey! I am running this on docker on a RPi4. I am trying to use it without TSL but I get the following error repeatedly.
-- --- BEGIN OWNTRACKS LAUNCHER ---,
*** Using owntracks as hostname for server certificate,
2020-10-04 14:44:59,206 CRIT Supervisor running as root (no user in config file),
2020-10-04 14:44:59,210 INFO supervisord started with pid 1,
2020-10-04 14:45:00,216 INFO spawned: 'recorder' with pid 31,
2020-10-04 14:45:00,224 INFO spawned: 'mosquitto' with pid 32,
1601822700: Opening ipv4 listen socket on port 8883.,
1601822700: Opening ipv6 listen socket on port 1883.,
1601822700: Opening ipv4 listen socket on port 1883.,
1601822700: Config loaded from /owntracks/mosquitto/mosquitto.conf.,
1601822700: mosquitto version 1.4.10 (build date Wed, 13 Feb 2019 00:45:38 +0000) starting,
1601822700: Opening ipv6 listen socket on port 8883.,
1601822700: New connection from 127.0.0.1 on port 1883.,
ot-recorder[31]: connecting to MQTT on localhost:1883 as clientID ot-recorder-owntracks-31 without TLS,
1601822700: Socket error on client <unknown>, disconnecting.,
ot-recorder[31]: HTTP listener started on 0.0.0.0:8083,
ot-recorder[31]: version 0.7.9 starting with STORAGEDIR=/owntracks/recorder/store,
ot-recorder[31]: Using storage at /owntracks/recorder/store with precision 7,
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error],
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...,
2020-10-04 14:45:01,293 INFO success: recorder entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2020-10-04 14:45:01,294 INFO success: mosquitto entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
1601822710: New connection from 127.0.0.1 on port 1883.
1601822710: Socket error on client <unknown>, disconnecting.
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error]
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...
1601822720: New connection from 127.0.0.1 on port 1883.
1601822720: Socket error on client <unknown>, disconnecting.
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error]
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...
1601822730: New connection from 127.0.0.1 on port 1883.
1601822730: Socket error on client <unknown>, disconnecting.
ot-recorder[31]: http: POST /pub
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error]
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...
And the last error is being repeated indefinitely.
As we can see in the log owntracks is trying to connect without TLS, but despite that, it gets "Connection refused: TLS error".
I have opened the TCP ports 1883 and 8083.
Some environment parameters that I've set are:
OTR_HOST = localhost (as Owntracks and Mosquito are inside the same container)
OTR_PORT = 1883
OTR_USER = myusername
OTR_PASS = mypassword