Closed wuast94 closed 4 years ago
For allowed values see https://www.eclipse.org/paho/files/javadoc/org/eclipse/paho/client/mqttv3/MqttClient.html#MqttClient-java.lang.String-java.lang.String-
The address of the server to connect to is specified as a URI. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example:
tcp://localhost:1883 ssl://localhost:8883
If the port is not specified, it will default to 1883 for tcp://" URIs, and 8883 for ssl:// URIs.
In addition websocket based connections should work (wss://yourserverWithTls
or ws://yourserverWithoutTls
).
whatever i enter in config i get alwasy an error about wrong uri: mqtt://ip:port ws://ip:port https://ip:port ssl://sub.domain.tld:443/ws and so on ...
the only uri that don´t throw this error is not working uri: ssl://sub.domain.tld:443
this is the error when i try something other: