Doridian / Doridian/OpenBambuAPI

(At least one) P1S doesn't support TLS for MQTT/FTP

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
680
Forks
96
PR merge metrics
No merged PRs in 30d

Description

The behavior I've observed on my P1S doesn't match what's documented in this repo. For me, both MQTT and FTP are unencrypted, on their usual unencrypted ports (that is, I need to connect to port 1883 for MQTT and 21 for FTP, both with TLS disabled).

```console
$ nc -zv 192.168.x.x 8883
nc: connect to 192.168.x.x port 8883 (tcp) failed: Connection refused
$ nc -zv 192.168.x.x 990
nc: connect to 192.168.x.x port 990 (tcp) failed: Connection refused
$ nc -zv 192.168.x.x 1883
Connection to 192.168.x.x 1883 port [tcp/*] succeeded!
$ nc -zv 192.168.x.x 21
Connection to 192.168.x.x 21 port [tcp/*] succeeded!
$ mosquitto_sub -h 192.168.x.x -p 1883 --insecure -u bblp -P -t 'device/01Pxxxx/report'
{ status messages... }
```

(A bit more detail on how I came to this conclusion [here](https://github.com/ClusterM/open-bambu-networking/issues/9)).

Observed on 01.09.01.00, 01.08.02.00, and 01.07.00.00

Has anyone else seen this behavior? At this point my best theory is I somehow got a device without certs installed. I'm making this ticket mostly so anyone else with the same problem can find it. If this is a common behavior, may be worth adding to the docs here. If not, I guess I'll just call it weird and move on.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.