gpt4 book ai didi

ejabberd - ejabberd 上的 BOSH 实现

转载 作者:行者123 更新时间:2023-12-05 06:47:12 26 4
gpt4 key购买 nike

我试图在 ejabberd 上启动 BOSH。我的 ejabberd.cfg 片段如下:

   {5280, ejabberd_http, [
{request_handlers, [
{["xmpp-httpbind"], mod_http_bind}
]},
captcha,
http_bind,
http_poll,
web_admin
]}

http://localhost:5280/http-bind fails to open any page.

我的客户从服务器得到这个响应

发送的 XML:

<iq to='localhost' id='uid:50502b03:00004823' type='get' x
mlns='jabber:client'><query xmlns='jabber:iq:auth'><username>anurag</username></
query></iq>

收到的 XML:

<iq xmlns='jabber:client' from='localhost' id='uid:505
029df:00004823' type='error'><error code='503' type='cancel'><service-unavailabl
e xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>


Sent XML: </stream:stream>
auth failed. reason: 0
ce: 18

我正在使用 gloox 库创建客户端。

最佳答案

您是否将 {mod_http_bind, []} 添加到您的模块部分?

关于ejabberd - ejabberd 上的 BOSH 实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12382412/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com