Xmpp Prosody/Pidgin未发送好友授权请求

Xmpp Prosody/Pidgin未发送好友授权请求,xmpp,instant-messaging,pidgin,prosody-im,Xmpp,Instant Messaging,Pidgin,Prosody Im,我正在我的本地机器上设置一个Prosody XMPP服务器进行概念验证,我只想自己进行一个简单的聊天会话。我将其设置为允许注册,并且能够注册新用户,但是当我向我注册的其他用户发送好友请求时,他没有收到,所有用户,包括我自己,在Pidgin中都显示为“未授权” 我在本地机器上是“test2”,在另一台机器上,我以“test3”的身份登录。当我将好友请求从test2发送到test3时,什么也没有发生 在洋泾浜,我看到的唯一日志是 ---- +++ test2@pc-705.example.com/

我正在我的本地机器上设置一个Prosody XMPP服务器进行概念验证,我只想自己进行一个简单的聊天会话。我将其设置为允许注册,并且能够注册新用户,但是当我向我注册的其他用户发送好友请求时,他没有收到,所有用户,包括我自己,在Pidgin中都显示为“未授权”

我在本地机器上是“test2”,在另一台机器上,我以“test3”的身份登录。当我将好友请求从test2发送到test3时,什么也没有发生

在洋泾浜,我看到的唯一日志是

---- +++ test2@pc-705.example.com/ signed on @ 11/20/2015 2:32:19 PM ----
其中example.com是我的域

我的韵律日志只是说我已经过身份验证,但没有提到发送好友请求:

C:\Users\test2\Desktop\XMPP\Prosody>prosody.bat
general             info        Hello and welcome to Prosody version 0.9.7
general             info        Prosody is using the select backend for connecti
on handling
localhost:tls       error       Unable to initialize TLS: No SSL/TLS configurati
on present for localhost
localhost:tls       error       Unable to initialize TLS: No SSL/TLS configurati
on present for localhost
portmanager         info        Activated service 's2s' on [::]:5269, [*]:5269
mod_s2s             warn        No local IPv4 or IPv6 addresses detected, outgoi
ng connections may fail
portmanager         info        Activated service 'c2s' on [::]:5222, [*]:5222
portmanager         info        Activated service 'legacy_ssl' on no ports
pc-705.example.com:tls  error     Unable to initialize TLS: No SSL/TLS configuration present for pc-705.example.com
pc-705.example.com:tls  error     Unable to initialize TLS: No SSL/TLS configuration present for pc-705.example.com
c2s02310338                   info      Client connected
c2s02310338                   info      Authenticated as test2@pc-705.example.com
c2s0                          info      Client connected
c2s0                          info      Authenticated as test3@pc-705.example.com

我的问题出在哪里?

听起来您可能尝试将好友添加为
test3
。这是行不通的。XMPP上的好友是
user@server

您需要将它们添加为
test3@pc-705.example.com
或其他任何内容


这是XMPP服务器如何/为什么可以联合(互操作)的一部分。像电子邮件。

你在哪里看到洋泾浜的信息?聊天窗口?您是如何尝试将您的
test3
好友添加到好友列表中的?是否添加了
test3
?您添加了
test3@pc-在Pidgin中,工具->系统日志。要添加用户,请在“修改帐户”下选中“在服务器上创建此新帐户”框并保存。要将好友添加到我的列表中,buddies->add Buddy然后添加test3。最后,我回答了你的最后一个问题,这很有效!我在那里没有域名。把它写在答案里,这样我就可以接受了!哦,系统日志基本上是无用的(我认为默认情况下是关闭的)。“帮助->调试”窗口对于调试pidgin的所有东西都非常有用。刚刚检查过,它肯定比系统日志更有用。谢谢你的建议。随着PoC的完成,我将开始升级到一个更加复杂的服务器环境,这样肯定会派上用场。谢谢你的帮助!是的,对于XMPP来说,尤其是调试窗口的输出非常棒,因为它包含了与服务器的整个通信。“系统日志”是一个古老的人工制品,从来没有被杀死过,因为每当它出现时,总会有人提到他们喜欢它,并且一直在使用它。