Files
bambuddy/backend
maziggy eab55cef75 fix(archives): report a refused FTPS handshake as the printer, not the slicer (issue #2780)
The Archives banner picks its wording from a priority list of the causes it
    knows. REASON_FTPS_COOLOFF was added by #2957 and never put in that list, so an
    install whose empty archives all came from a printer refusing the TLS handshake
    matched nothing, got reason: null, and fell to the original wording: the slicer
    did not leave the .gcode.3mf on the card, switch on "Store sent files on
    external storage", here is installation step 4.

    Every clause of that is wrong for this cause. The slicer did write the file --
    reason he read the whole thing as Bambuddy being broken. The setting was
    already on. And there is nothing on his side to change: the printer's file
    service answered port 990 with something that is not TLS, so no lookup ever
    ran and where the file went was never tested. It is #2899's mistake -- an
    error message describing a cause that was ruled out before it was printed --
    in a surface that did not get that pass.

    The slug now leads the list rather than joining the end of it. The other three
    describe an install working as configured and each ends in something the
    operator can change; this one reports a fault nobody can yet explain, which is
    both the more urgent thing to say and the thing that produces a useful report.
    The banner also dismisses one-shot into localStorage, so a reason ranked below
    another is not deferred to next time -- it is never shown to that user again.
    Ranking it first cannot bury a permanent cause in exchange: a successful
    recovery clears the row's markers (#2957), so a row still carrying this slug is
    one whose retry failed too, days after the print.

    New wording in all fourteen languages says the printer refused the connection,
    that this is not a slicer setting and not something the operator did, that
    Bambuddy comes back for the file when the five-minute pause clears so a brief
    episode fills itself in, and that a card still empty means the refusal outlasted
    the retry. It links to the handshake entry in the troubleshooting guide instead
    of to the installation guide.

    The client's getNo3MFWarning type still declared the old three-slug union, which
    made all three new comparisons provably dead -- caught by tsc, not by any test.

    Four tests. One pins the slug reaching the banner, one pins it outranking the
    three settled causes, one pins those three keeping their order behind it, and
    one asserts the rendered wording carries no slicer advice at all.

    Also corrects the wiki page these reports are pointed at. It said to power-cycle
    the printer; the reporter who prompted that advice power-cycled both of his and
    the failure continued unchanged, and bambu_ftp.py has carried the retraction in
    a comment since. The page now states what was actually measured -- that a
    version mismatch reports itself differently, that every printer probed refuses
    TLS 1.3 and completes on 1.2 so there is no version to fall back from, and that
    three P2S units failed while three more on the same switch never did -- says
    plainly that the trigger is unknown, and names the one cleartext-probe line
    worth collecting.
2026-09-20 13:27:10 +02:00
..