Closed bicijinlian closed 2 years ago
Thanks for your feedback, this is indeed a bug, but it seems to be due to the current version of MQTT.js, I seem to be able to connect using another WebSocket client tool: http://tools.emqx.io/, strangely this doesn't seem to have any effect on connecting to EMQX's Broker: broker.emqx.io
感谢您的反馈,这确实是一个 bug,但是好像是因为目前 MQTT.js 的版本造成的,我使用其它网页 webscoket 客户端工具: http://tools.emqx.io/ 好像也能连上,奇怪的是这对于连接 EMQX 的 Broker 好像并没有什么影响:broker.emqx.io
您好,非常感谢您的回复。确实是可以用 WebSocket方式正常连接到 EMQX。但是 Mosquitto 时,无论设置 3.1、3.11 或者 5.0 都不可以;其它选项也试过,都不行。本机 RabbitMQ(web stomp 插件) 下,我本机环境也 不行; ActiveMQ HiveMQ 没有测试过。 | bicijinlian | |
---|---|---|
@. | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2022年5月20日 10:05 | | 收件人 | @.> | | 抄送人 | @.> , @.***> | | 主题 | Re: [emqx/MQTTX] [Bug] 连接 WebSocket 错误 (Issue #939) |
Thanks for your feedback, this is indeed a bug, but it seems to be due to the current version of MQTT.js, I seem to be able to connect using another WebSocket client tool: http://tools.emqx.io/, strangely this doesn't seem to have any effect on connecting to EMQX's Broker: broker.emqx.io
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
OK, thanks! I will fix it.
After testing again, I found that it already works in https://github.com/emqx/MQTTX/releases/tag/v1.8.0, thanks for the feedback, I will close this issue.
v1.9.1 连 test.mosquitto.org 8080端口 还是有同样的问题。点击 connect 转了一下小圈圈又回到原来的状态。
系统:macOS Apple M1 chip
问题描述
使用MQTTX 以 websocket 方式连接 mosquitto 服务器时,报错。
不管是自建还是 mosquitto 在线测试服务器(test.mosquitto.org 8080端口),均不能连接;但使用其它客户端工具均能连接上,其中包括 EMQ X 管理web页面。
Bug 再现
使用MQTTX 连接在线服务器 test.mosquitto.org 8080端口
期望
确认是否软件 bug, 解决方案!
Environment