AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-126880

AeroBuffalo's questions

Martin Hope
AeroBuffalo
Asked: 2012-07-06 12:38:08 +0800 CST

运行 Openfire 的 Amazon EC2 上的 Libjingle PCP 期间出现 501 错误

  • 2

我正在尝试实施Google 的 Libjingle(版本:0.6.14) PCP 示例,但在执行期间出现 501:功能未实施错误。具体来说,错误发生在每个“帐户”连接、通过身份验证并开始相互通信之后。最后提供了简短的交互日志。

我已经设置了自己的 jabber 服务器(在 Amazon EC2 服务器上使用 OpenFire),打开了所有必要的端口并将每个“帐户”添加到对方的名单中。服务器已设置为允许文件传输。我是使用服务器的新手,我不确定为什么会出现此错误以及如何修复它。

提前致谢, AeroBuffalo

PS 让我知道是否需要任何其他信息(即任一端/两端的完整程序日志)。

接收端:

[018:217] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:17:15 2012
[018:217]    <iq to="[email protected]/pcp" type="set" id="5">
[018:217]      <jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="402024303" initiator="[email protected]/pcp">
[018:217]        <content name="securetunnel" creator="initiator">
[018:217]          <description xmlns="http://www.google.com/talk/securetunnel">
[018:217]            <type>send:winein.jpeg</type>
[018:217]            <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[018:217]          </description>
[018:217]          <transport xmlns="http://www.google.com/transport/p2p"/>
[018:217]        </content>
[018:217]      </jingle>
[018:217]      <session xmlns="http://www.google.com/session" type="initiate" id="402024303" initiator="[email protected]/pcp">
[018:217]        <description xmlns="http://www.google.com/talk/securetunnel">
[018:217]          <type>send:winein.jpeg</type>
[018:217]          <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[018:217]        </description></session>
[018:217]    </iq>
[018:217] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[018:217]    <presence to="[email protected]/pcp" from="forgesend" type="error">
[018:217]      <error code="404" type="cancel">
[018:217]        <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
[018:217]      </error></presence>
[018:218] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[018:218]    <presence to="[email protected]/pcp" from="forgesend" type="error">
[018:218]      <error code="404" type="cancel">
[018:218]        <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
[018:218]      </error></presence>
[018:264] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[018:264]    <iq type="result" id="3" to="[email protected]/pcp">
[018:264]      <query xmlns="google:jingleinfo">
[018:264]        <stun>
[018:264]          <server host="stun.xten.net" udp="3478"/>
[018:264]          <server host="jivesoftware.com" udp="3478"/>
[018:264]          <server host="igniterealtime.org" udp="3478"/>
[018:264]          <server host="stun.fwdnet.net" udp="3478"/>
[018:264]        </stun>
[018:264]        <publicip ip="65.101.207.121"/>
[018:264]      </query></iq>
[018:420] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[018:420]    <iq to="[email protected]/pcp" type="set" id="5" from="[email protected]/pcp">
[018:420]      <jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="3548650675" initiator="[email protected]/pcp">
[018:420]        <content name="securetunnel" creator="initiator">
[018:420]          <description xmlns="http://www.google.com/talk/securetunnel">
[018:420]            <type>recv:wineout.jpeg</type>
[018:420]            <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[018:420]          </description>
[018:420]          <transport xmlns="http://www.google.com/transport/p2p"/>
[018:420]        </content></jingle>
[018:420]      <session xmlns="http://www.google.com/session" type="initiate" id="3548650675" initiator="[email protected]/pcp">
[018:420]        <description xmlns="http://www.google.com/talk/securetunnel">
[018:420]          <type>recv:wineout.jpeg</type>
[018:420]          <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[018:420]        </description></session></iq>
[018:421] TunnelSessionClientBase::OnSessionCreate: received=1
[018:421] Session:3548650675 Old state:STATE_INIT New state:STATE_RECEIVEDINITIATE Type:http://www.google.com/talk/securetunnel Transport:http://www.google.com/transport/p2p
[018:421] TunnelSession::OnSessionState(Session::STATE_RECEIVEDINITIATE)
[018:421] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:17:15 2012
[018:421]    <iq to="[email protected]/pcp" id="5" type="result"/>
[018:465] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[018:465]    <iq to="[email protected]/pcp" id="5" type="result" from="[email protected]/pcp"/>
[198:665] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:20:15 2012
[198:665]    <iq type="get" id="162-10" from="forgejabber.com" to="[email protected]/pcp">
[198:665]      <ping xmlns="urn:xmpp:ping"/>
[198:665]    /iq>
[198:665] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:20:15 2012
[198:665]    <iq type="error" id="162-10" to="forgejabber.com">
[198:665]      <ping xmlns="urn:xmpp:ping"/>
[198:665]      <error code="501" type="cancel">
[198:665]        <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
[198:665]      </error>
[198:665]    </iq>

发件人:

[019:043] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:17:15 2012
[019:043]    <iq type="get" id="3">
[019:043]      <query xmlns="google:jingleinfo"/>
[019:043]    </iq>
[019:043] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:17:15 2012
[019:043]    <iq to="[email protected]/pcp" type="set" id="5">
[019:043]      <jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="3548650675" initiator="[email protected]/pcp">
[019:043]        <content name="securetunnel" creator="initiator">
[019:043]          <description xmlns="http://www.google.com/talk/securetunnel">
[019:043]            <type>recv:wineout.jpeg</type>
[019:043]            <client-cert>--BEGIN CERTIFICATE----END CERTIFICATE--</client-cert>
[019:043]          </description>
[019:043]          <transport xmlns="http://www.google.com/transport/p2p"/>
[019:043]        </content>
[019:043]      </jingle>
[019:043]      <session xmlns="http://www.google.com/session" type="initiate" id="3548650675" initiator="[email protected]/pcp">
[019:043]        <description xmlns="http://www.google.com/talk/securetunnel">
[019:043]          <type>recv:wineout.jpeg</type>
[019:043]          <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[019:043]        </description></session></iq>
[019:043] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[019:043]    <presence to="[email protected]/pcp" from="forgereceive" type="error">
[019:043]      <error code="404" type="cancel">
[019:043]        <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
[019:043]      </error></presence>
[019:044] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[019:044]    <presence to="[email protected]/pcp" from="forgereceive" type="error">
[019:044]      <error code="404" type="cancel">
[019:044]        <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
[019:044]      </error></presence>
[019:044] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[019:044]    <iq to="[email protected]/pcp" type="set" id="5" from="[email protected]/pcp">
[019:044]      <jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="402024303" initiator="[email protected]/pcp">
[019:044]        <content name="securetunnel" creator="initiator">
[019:044]          <description xmlns="http://www.google.com/talk/securetunnel">
[019:044]            <type>send:winein.jpeg</type>
[019:044]            <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[019:044]          </description>
[019:044]          <transport xmlns="http://www.google.com/transport/p2p"/>
[019:044]        </content></jingle>
[019:044]      <session xmlns="http://www.google.com/session" type="initiate" id="402024303" initiator="[email protected]/pcp">
[019:044]        <description xmlns="http://www.google.com/talk/securetunnel">
[019:044]          <type>send:winein.jpeg</type>
[019:044]          <client-cert>--BEGIN CERTIFICATE--END CERTIFICATE--</client-cert>
[019:044]        </description></session></iq>
[019:044] TunnelSessionClientBase::OnSessionCreate: received=1
[019:044] Session:402024303 Old state:STATE_INIT New state:STATE_RECEIVEDINITIATE Type:http://www.google.com/talk/securetunnel Transport:http://www.google.com/transport/p2p
[019:044] TunnelSession::OnSessionState(Session::STATE_RECEIVEDINITIATE)
[019:044] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:17:15 2012
[019:044]    <iq to="[email protected]/pcp" id="5" type="result"/>
[019:088] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[019:088]    <iq type="result" id="3" to="[email protected]/pcp">
[019:088]      <query xmlns="google:jingleinfo">
[019:088]        <stun>
[019:088]          <server host="stun.xten.net" udp="3478"/>
[019:088]          <server host="jivesoftware.com" udp="3478"/>
[019:088]          <server host="igniterealtime.org" udp="3478"/>
[019:088]          <server host="stun.fwdnet.net" udp="3478"/>
[019:088]        </stun>
[019:088]        <publicip ip="65.101.207.121"/>
[019:088]      </query>
[019:088]    </iq>
[019:183] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:17:15 2012
[019:183]    <iq to="[email protected]/pcp" id="5" type="result" from="[email protected]/pcp"/>
[199:381] RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Jul  5 14:20:15 2012
[199:381]    <iq type="get" id="474-11" from="forgejabber.com" to="[email protected]/pcp">
[199:381]      <ping xmlns="urn:xmpp:ping"/>
[199:381]    </iq>
[199:381] SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Jul  5 14:20:15 2012
[199:381]    <iq type="error" id="474-11" to="forgejabber.com">
[199:381]      <ping xmlns="urn:xmpp:ping"/>
[199:381]      <error code="501" type="cancel">
[199:381]        <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
[199:382]      </error></iq>
amazon-ec2 xmpp openfire
  • 1 个回答
  • 806 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve