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

Bridge does not start in v4.1.3 #97

Open louisburton opened 4 years ago

louisburton commented 4 years ago

Bridge starts fine in v4.1.2, switch to v4.1.3 and it no longer seems to start. No other settings changed.

Load plugin emqx_bridge_mqtt error: {emqx_bridge_mqtt,
                                     {{shutdown,
                                       {failed_to_start_child,cloud,
                                        {badmatch,
                                         {error,
                                          {1,erl_parse,
                                           ["syntax error before: ",
                                            "'..'"]}}}}},
                                      {emqx_bridge_mqtt_app,start,
                                       [normal,[]]}}}.

/opt/emqx/etc/plugins/emqx_bridge_mqtt.conf

bridge.mqtt.cloud.username = myclientid
bridge.mqtt.cloud.batch_size = 32
bridge.mqtt.cloud.queue.max_total_size = 1000MB
bridge.mqtt.cloud.clean_start = true
bridge.mqtt.cloud.subscription.1.topic = ctoe/myclientid/#
bridge.mqtt.cloud.forwards = reg/service/#,etoc/service/#,logs/#
bridge.mqtt.cloud.proto_ver = mqttv4
bridge.mqtt.cloud.tls_versions = tlsv1.2,tlsv1.1,tlsv1
bridge.mqtt.cloud.start_type = auto
bridge.mqtt.cloud.queue.replayq_dir = data/emqx_mqtt_bridge/
bridge.mqtt.cloud.bridge_mode = true
bridge.mqtt.cloud.keepalive = 60s
bridge.mqtt.cloud.clientid = myclientid
bridge.mqtt.cloud.subscription.1.qos = 1
bridge.mqtt.cloud.max_inflight_size = 32
bridge.mqtt.cloud.ssl = on
bridge.mqtt.cloud.address = edge.mycloud.com:443
bridge.mqtt.cloud.queue.replayq_seg_bytes = 10MB
bridge.mqtt.cloud.reconnect_interval = 30s
bridge.mqtt.cloud.forward_mountpoint = etoc/myclientid
bridge.mqtt.cloud.retry_interval = 20s
GopherJ commented 4 years ago

I'm having the same issue with v4.1.0, is it the same pb?