我正在我的本地计算机上设置一个Prosody XMPP服务器以获得概念验证,我只想与自己进行简单的聊天会话。我将其设置为允许注册,并且能够注册新用户,但是当我向我注册的其他用户发送好友请求时,他没有得到它,并且所有用户(包括我自己)都显示为“未经授权“在Pidgin中。
我在本地计算机上“test2”,在另一台计算机上,我以“test3”身份登录。当我从test2向test3发送好友请求时,没有任何反应。
在Pidgin中,我看到的唯一日志是
---- +++ 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
我的问题在哪里?
答案 0 :(得分:2)
听起来您可能已尝试将好友添加为test3
。哪个不行。 XMPP上的好友是user@server
。
您需要将它们添加为test3@pc-705.example.com
或其他任何内容。
这是XMPP服务器如何/为何可以联合(互操作)的一部分。就像电子邮件一样。