So I checked from other browser, it is working. Cleared cache and it works
also on my PC browser.
Main thing was tls12 instead of tls1 in weewx.conf.
Thank you all!!!
Dátum: štvrtok 24. decembra 2020, čas: 0:18:27 UTC+1, odosielateľ: miso k
> maybe i am using different certificates for both -
maybe i am using different certificates for both - MQTT pub:
[[[tls]]]
tls_version = tlsv12
ca_certs = /etc/ssl/certs/ca-certificates.crt
and what is defined in /etc/mosquitto/conf.d/myconfig.conf
...
# Insecure mqtt to localhost only, and secure mqtt
listener 18
it is FQDN - jastrabie.online - look at the letter behind B
so i let the host as it is.
is my port correct -9001?
SSL should be 1 as "On", or should be the TLS protocol version - 1.2, or
even 12?
# MQTT Websockets defaults
mqtt_websockets_enabled = 1
mqtt_websockets_host = "jastrab
On Wednesday, December 23, 2020 at 2:05:28 PM UTC-8 misk...@gmail.com wrote:
> just to be sure - server_url = mqtt://pi:password@url:8883/
> URL can be localhost, or should I use my https:// webpage
> "jastrabie.online"?
>
Never localhost
Always use the MQTT broker's ip address or hostname o
I have proofed, that
pi@WeeWX:~ $ mosquitto_sub -h jastrabie.online -p 8883 -t weather/# -d
--tls-version tlsv1.2 --cafile /etc/ssl/certs/ca-certificates.crt
works!
so now only setup the belchertown correctly?
Dátum: streda 23. decembra 2020, čas: 23:05:28 UTC+1, odosielateľ: miso k
> Wow!
> tha
Wow!
that *tlsv12* has really helped! now tail -f is showing no errors.
just to be sure - server_url = mqtt://pi:password@url:8883/
URL can be localhost, or should I use my https:// webpage
"jastrabie.online"?
My Belchertown settings still does not work:
# MQTT Websockets defaults
mqtt
I mean
[[MQTT]]
server_url = mqtt://pi:password@url:8883/
topic = weather
unit_system = METRIC
binding = archive, loop
aggregation = aggregate
log_success = False
log_failure = True
[[[tls]]]
tls_version = tlsv12
Hi,
have you set tlsv12 in weewx.conf under [[MQTT]] Section?
Like
misk...@gmail.com schrieb am Mittwoch, 23. Dezember 2020 um 22:36:27 UTC+1:
> Thank you Greg,
> so I have tried:
> pi@WeeWX:~ $ mosquitto_pub -h localhost -p 8883 -t "weather/test" -m
> "hello world. this is to the weather t
Thank you Greg,
so I have tried:
pi@WeeWX:~ $ mosquitto_pub -h localhost -p 8883 -t "weather/test" -m "hello
world. this is to the weather topic with authentication" -u "pi" -P
"" -d
Client mosqpub|24614-WeeWX sending CONNECT
Error: The connection was lost.
with port 1883 it works:
pi@WeeWX:~ $
Hard to say what's wrong, but use mosquitto_publish to test. I have
the emqtt extension publishing to mqtt/tls just fine and I do not run
mqtt w/o ssl at all.
Turn on logging on th broker, and look with tcpdump.
--
You received this message because you are subscribed to the Google Groups
"we
10 matches
Mail list logo