Frequent !TSF:MSG:SIGN FAIL issues
I have a motion sensor + repeater node and a rpi gateway. rpi gateway is compiled with "--my-signing=software" and "--my-signing-request-signatures" flags. Below settings are configured in the node.
#define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
As shown below I sometimes see seemingly random, but frequent "!TSF:MSG:SIGN FAIL" messages
332356 !TSF:MSG:SIGN FAIL
How can I get rid of this issue? Thanks in advance.
@erangaj as explained on the signing troubleshooting guide, NACKs are caused by radio problems and not signing problems.
The reason NACKs might be more frequent with signing is because the message size gets maxed out by the signature, and thus becomes "harder" to transmit/receive.
Thanks. I went through all the recommendations and tried different radio modules. But the result was the same. The NACKs happen when sending from node to the gateway but not in the opposite direction. Finally decided sign the messages going from the gateway to nodes only and leave node to gateway messages unsigned. It is a compromised solution, but it is enough for my needs. (recompiled the gateway with "--my-signing=software" flag but not "--my-signing-request-signatures" flag, nodes were not changed)
@erangaj ok, well in fact you still use big messages in both directions as the sender of the signed message will request a nonce from the receiver which also will be a full size message. But of course it mean there will be fewer big messages in transit overall.
@Anticimex Yes, but it is running for hours. Never saw the issue again.