Closed reubenmiller closed 1 week ago
:white_check_mark: Passed | :x: Failed | :next_track_button: Skipped | Total | Pass % | :stopwatch: Duration |
---|---|---|---|---|---|
453 | 0 | 3 | 453 | 100 | 1h0m38.032027s |
Ok, seems like the mosquitto TLS cert generation might need to change to also support TLS connections when using the loopback address, currently it only supports the hostname, or localhost
.
Update
Addressed by 05ca44280aed90319c1826fa63b993e0a2ff880c
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.2%. Comparing base (
ed0b7fd
) to head (e54f81a
). Report is 1 commits behind head on main.
Proposed changes
Some Linux distributions installations where the
/etc/hosts
file is not defined, the loopback address (127.0.0.1
), thelocalhost
alias does not get resolved to127.0.0.1
. And devices which have a read-only rootfs, can't even add a manual entry to the list, so the only option is to change thetedge.toml
values (which is not ideal for such basic settings).Changing the defaults from
localhost
to127.0.0.1
improves the out of the box compatibility.Types of changes
Paste Link to the issue
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments