emqx / emqx-bridge-mqtt

Bridge of MQTT (deprecated since EMQX v5)
https://www.emqx.com
Apache License 2.0
37 stars 13 forks source link

no case clause matching error #112

Closed berayb closed 4 years ago

berayb commented 4 years ago

Hi, trying to bridge to AWS MQ. MQTTX is able to connect with the following configuration:

host: mqtts:// - xyz.mq.amazonaws.com port: 8883 SSL: true Certificate: CA Signed server

Error log: no case clause matching ["mqtts", "//xyz.mq.amazonaws.com", "8883"]

HJianBo commented 4 years ago

Hi @berayb This looks like it should be caused by an incorrect configuration. The bridge.mqtt.aws.address option should configured a Domain Name + Port, E.G:

bridge.mqtt.aws.address = xyz.mq.amazonaws.com:8883
berayb commented 4 years ago

Hi @berayb This looks like it should be caused by an incorrect configuration. The bridge.mqtt.aws.address option should configured a Domain Name + Port, E.G:

bridge.mqtt.aws.address = xyz.mq.amazonaws.com:8883

Thanks, @HJianBo, that worked.