XMPP 消息未在 openfire 上传递

发布于 2024-12-17 15:55:12 字数 177 浏览 5 评论 0原文

早些时候,我使用 smack 作为客户端库并将消息发送到 openfire,它工作正常。

现在我想使用 netty 和 smack 来建立连接。我能够创建通道并且 openfire 向我显示创建的连接,但我无法将注册数据包发送到 openfire。我正在通道上写入数据包,但它没有在开火时交付。

你能帮忙吗?

Earlier I was using smack as the client side library and sending the message to the openfire and it was working properly.

Now I want to use netty along with smack to establish the connection. I am able to create the channel and openfire shows me the connection created but I am not able to send the Registration packet to the openfire. I am writing the packet on the channel but its not getting delivered at the openfire.

Can you please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风铃鹿 2024-12-24 15:55:12

使用wireshark查看XMPP报文是否送达。
如果没有,您需要检查您的代码。

Use wireshark to see if the XMPP packets are been delivered.
If not you need to check your code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文