You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "EssinZhang (via GitHub)" <gi...@apache.org> on 2023/11/06 07:48:39 UTC
[I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
EssinZhang opened a new issue, #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216
RocketMQ 版本5.1.4 RocketMQ-mqtt 版本 1.0.2

这是日志

这是mqtt的配置文件

我对了好多遍用户名和密码是对的没错
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "DongyuanPan (via GitHub)" <gi...@apache.org>.
DongyuanPan commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1865415192
> > > 奥,那就是没办法用mqttx直接进行收发测试了
> >
> >
> > 可以的哈,你求出加签后的密码,直接写在mqttx 上就行
>
> 右边三种加签后的密码都试了都不行,人麻了 
老哥,你这里输入了char array,不要求char array,输入转换前的字符串。mqttx 会再求一次的
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1798106228
> 密码 参考示例代码,密码需要加签 connOpts.setUserName(System.getenv("username")); connOpts.setPassword(HmacSHA1Util.macSignature(clientId, System.getenv("password")).toCharArray());
有交流群么?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "yuhang1028 (via GitHub)" <gi...@apache.org>.
yuhang1028 commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1859871846

大佬这该怎么可解决
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1857194901
> example里面抠出来的不行,但是在这个地方抠出来的密文是可以连接的: org.apache.rocketmq.mqtt.common.util.HmacSHA1Util#validateSign,直接取能返回true的加签密文,如下图: 
兄弟厉害,我们直接改用RabbitMQ的mqtt插件了,感觉RocketMQ的像半成品,好多issue没解决
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "DongyuanPan (via GitHub)" <gi...@apache.org>.
DongyuanPan commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1824230228
> > 密码 参考示例代码,密码需要加签 connOpts.setUserName(System.getenv("username")); connOpts.setPassword(HmacSHA1Util.macSignature(clientId, System.getenv("password")).toCharArray());
>
> 有交流群么?
看一些置顶的ISSUES,里面有一个群二维码
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "ShiXulu (via GitHub)" <gi...@apache.org>.
ShiXulu commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1849461932
如此的难用
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "ShiXulu (via GitHub)" <gi...@apache.org>.
ShiXulu commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1857190431
example里面抠出来的不行,但是在这个地方抠出来的密文是可以连接的:
org.apache.rocketmq.mqtt.common.util.HmacSHA1Util#validateSign,直接取能返回true的加签密文,如下图:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "DongyuanPan (via GitHub)" <gi...@apache.org>.
DongyuanPan commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1824229726
> 奥,那就是没办法用mqttx直接进行收发测试了
可以的哈,你求出加签后的密码,直接写在mqttx 上就行
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "DongyuanPan (via GitHub)" <gi...@apache.org>.
DongyuanPan commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1797919052
密码
参考示例代码,密码需要加签
connOpts.setUserName(System.getenv("username"));
connOpts.setPassword(HmacSHA1Util.macSignature(clientId, System.getenv("password")).toCharArray());
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1797931710
奥,那就是没办法用mqttx直接进行收发测试了
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1880456525
> > > example里面抠出来的不行,但是在这个地方抠出来的密文是可以连接的: org.apache.rocketmq.mqtt.common.util.HmacSHA1Util#validateSign,直接取能返回true的加签密文,如下图: 
> >
> >
> > 兄弟厉害,我们直接改用RabbitMQ的mqtt插件了,感觉RocketMQ的像半成品,好多issue没解决
>
> 大厂的话,建议rocketmq的解决方案,国产化是大趋势啊,往后阵营割裂会越来越严重。另外,rabbit量大的时候说是没rocket猛。 希望国产软件越来越好
要不是我们有开源组件使用限制,早就直接用专业的EMQX了,还用这个,人EMQX是专门做物联网的,而且人家就是杭州的公司也是国产的
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1825226691
> > > 密码 参考示例代码,密码需要加签 connOpts.setUserName(System.getenv("username")); connOpts.setPassword(HmacSHA1Util.macSignature(clientId, System.getenv("password")).toCharArray());
> >
> >
> > 有交流群么?
>
> 看一些置顶的ISSUES,里面有一个群二维码
那个二维码是7天的,过期了,我才再次问的
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "ShiXulu (via GitHub)" <gi...@apache.org>.
ShiXulu commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1855836562
> > > 奥,那就是没办法用mqttx直接进行收发测试了
> >
> >
> > 可以的哈,你求出加签后的密码,直接写在mqttx 上就行
>
> 右边三种加签后的密码都试了都不行,人麻了 
我也遇到了,兄弟连上了吗?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "ShiXulu (via GitHub)" <gi...@apache.org>.
ShiXulu commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1880314265
> > example里面抠出来的不行,但是在这个地方抠出来的密文是可以连接的: org.apache.rocketmq.mqtt.common.util.HmacSHA1Util#validateSign,直接取能返回true的加签密文,如下图: 
>
> 兄弟厉害,我们直接改用RabbitMQ的mqtt插件了,感觉RocketMQ的像半成品,好多issue没解决
大厂的话,建议rocketmq的解决方案,国产化是大趋势啊,往后阵营割裂会越来越严重。另外,rabbit量大的时候说是没rocket猛。
希望国产软件越来越好
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "DongyuanPan (via GitHub)" <gi...@apache.org>.
DongyuanPan commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1797918861
> 密码
参考示例代码,密码需要加签
connOpts.setUserName(System.getenv("username"));
connOpts.setPassword(HmacSHA1Util.macSignature(clientId, System.getenv("password")).toCharArray());
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang closed issue #216: 安装配置好之后使用mqttx测试连接不上
URL: https://github.com/apache/rocketmq-mqtt/issues/216
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 安装配置好之后使用mqttx测试连接不上 [rocketmq-mqtt]
Posted by "EssinZhang (via GitHub)" <gi...@apache.org>.
EssinZhang commented on issue #216:
URL: https://github.com/apache/rocketmq-mqtt/issues/216#issuecomment-1825226277
> > 奥,那就是没办法用mqttx直接进行收发测试了
>
> 可以的哈,你求出加签后的密码,直接写在mqttx 上就行
右边三种加签后的密码都试了都不行,人麻了

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org