How to avoid NotSupportedException when specifing a port? #1771
-
Hi all, I have the following code snipped to connect to my broker:
When I use the My question is: Am I able to specify a port in some way or another, or is this not necessary at all? Thank you very much in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you avoid the port the default one (1883) will be used which seems to not require the extended authentication (which is not yet supported in the library). So your brokers seems to expose both ports right now. |
Beta Was this translation helpful? Give feedback.
Extended authentication is not related to ports in any way. It is a feature of MQTTv5 which might be used by your broker. But it turns out that it may not be the root cause and the message is misleading. Please try again with the next release version which will be released soon. It provides more details about what is happening.