使用阿里云MQTT微消息队列发送消息时报错
250121244 opened this issue · comments
250121244 commented
场景:
点对点模式推送消息.
错误提示如下:
PHP Notice: Uninitialized string offset: 0 in /var/www/hhd_api/vendor/simps/mqtt/src/Packet/UnPackV5.php on line 369
Notice: Uninitialized string offset: 0 in /var/www/hhd_api/vendor/simps/mqtt/src/Packet/UnPackV5.php on line 369
array(4) {
["type"]=>
int(5)
["message_id"]=>
int(1)
["code"]=>
int(128)
["message"]=>
string(17) "Unspecified error"
}
250121244 commented
从配置文件来看, 应该是还不支持吧. 目前是只支持自建MQTT服务器的模式吗
Luffy commented
支持MQTT标准协议,没测试阿里云的兼容性,可以给个复现代码我看看
阿里云的是MQTT 5.0协议?
Luffy commented
Luffy commented