【发布时间】:2015-12-31 07:36:33
【问题描述】:
我正在使用 tcp 和 websocket 为 mqtt 配置 mosquitto。使用以下链接的步骤,
tcp 运行良好。
但是 websocket 不工作。
我在 mosquitto.conf 中添加以下行,
port 1883
listener 9001
protocol websockets**
我从 mosquitto.conf 文件中注释 protocol websockets 行,mosquitto 工作正常。否则我收到错误 Unknown configuration variable "protocol"。 我想知道是否有任何证书文件需要执行此操作。 请帮帮我…………
【问题讨论】: