0
我已经使用converse.js在我的网站中创建聊天室。 (https://conversejs.org/)converse.js连接挂起
我添加的第二件事是openfire(http://www.igniterealtime.org/projects/openfire/)xmpp服务器。
然而,Converse.js在'签名'期间和openfire的日志中一直挂着,我不断收到unknown_certificate消息。
converse.initialize({
allow_otr: true,
auto_list_rooms: false,
auto_subscribe: false,
bosh_service_url: 'http://localhost:8080/xmpp-bosh', // Please use this connection manager only for testing purposes
debug: true ,
hide_muc_server: false,
i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
prebind: false,
show_controlbox_by_default: true,
xhr_user_search: false,
}
包含此代码的html也在同一主机+端口上,所以我没有跨域问题。当使用萤火虫和chrom-debugger进行测试时,我也找不到任何javascript错误。
连接Pidgin即时通讯工具就像一个魅力。 其他人在自我安装xmpp服务时遇到此问题?
请在问题中直接包含相关代码。告诉我们你已经尝试了什么,以及为什么你认为它不起作用。 – ArtOfCode