0 votes
by (120 points)

Applies to: Rebex TLS

1 Answer

0 votes
by (150k points)
I can't find any issues in our database related to Azure IoT Hub, with or without SAS Token. But we have not tried this ourselves either. However, from the log, TLS negotiation was apparently successful, and the TLS socket was able to send and receive data. This suggests that the issue is unlikely to be at the TLS transport level. Does this work if you run the code on .NET Framework instead of .NET Compact Framework?
by (120 points)
Hello,

thank's for your support!

We found the root cause for this issue.

Azure closes instantly the MQTT connection if any topic is received which does not follow their pre-defined prefixes.
We did not change the topic path for all topics during the test and this caused the unexpected closing of the socket.

After changing of all topic path the MQTT connection via TLS works stabel.
...