问题标签 [tigase]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - 使用 xmpp 在 muc 中创建空间时出错
我正在使用 smack 库使用 android 应用程序创建房间。
以下是使用 muc 创建群聊(房间)的代码:
以下是在 MUC 中执行上述命令创建组时的日志:
xmpp - MUC 房间被锁定,默认安装 tigase
我已经安装了带有基本配置的 tigase7.0.2。
现在我正在使用已安装的服务器执行 MUC,代码如下:
用于创建房间
加入房间
当我加入房间时,Toast 中会出现以下消息。
当我加入房间时,它会在日志中出现以下错误。
xmpp - XMPP disco#info 结果中的“类型”属性是什么
根据XEP-030:
每个 <identity/> 元素必须拥有指定实体的类别和类型的 'category' 和 'type' 属性
我实际上不明白该type
属性代表什么。
例如,当我向我的 MUC 组件发送 disco#info 查询时,我得到以下答案:
type
设置为但这"text"
是什么意思?name
除了用and创建一个独特的组合之外,还有其他目的category
吗?或者也许是别的什么?
android - 如何从 android 的 smack 库中的 Tigase pubsub 获取离线消息
我已经集成了 Tigase 服务器,我想存储 pubsub 离线消息并在用户上线时检索所有这些消息。
例如:User_A 和 User_B 已连接,如果 User_A 向 User_B 发送消息,此时 User_B 处于离线状态。那么该消息在哪个位置?现在 User_B 在线,但他没有收到任何消息。那么如何检索该离线消息?
我们是否必须为此在 init.properties 文件中设置一些属性?
这是我的 init.properties 文件内容,它设置了配置 Tigase 服务器的选项。
您的所有回答对我来说都很有价值,我们将不胜感激。
请指教。
谢谢你。
server - 无法连接到 Tigase 管理面板?
我正在使用 Tigase XMPP 服务器,我设置的服务器参数是:
Jabber 域名:chat.example.com >> 这是公共 DNS 管理员:admin@chat.example.com 管理员密码:tigase
安装后,我可以通过 URL 访问管理面板:http://localhost:8080/ui/,但不幸的是我无法使用我在安装过程中创建的用户名和密码登录。这让我真的很疯狂,请帮助。
重点是,我可以使用上面的用户名登录到服务器并通过,当我删除并重新安装 tigase 并将域设置为内部网络中计算机的 IP 地址时,它可以正常工作,但是当我使用 DNS 时,一切看起来都很好但无法使用用户名和密码登录管理环境。
xmpp - Tigase Server have installed on VM but its not starting... what i do?
I have installed "tigase server" on my VM. when i m starting by using
#xA;it says :
#xA;from where i would like to view logs related tigase to resolve this problem. Please suggess
java - 我打算用不同的语言在服务器上写文件(日志)。english_name.txt 没问题,“عاتبوها.txt”在服务器上显示“?????.txt”
要用不同的语言登录服务器说“عاتبوها.txt”,但它在服务器上显示“?????.txt”。
在服务器上写入日志文件的代码如下:
现在日志生成在服务器上正常,日志文件上的数据在文件中也正常......但问题是文件名不是用另一种语言(如 arebic.txt)生成的,它显示 ?????????? _.txt...请帮忙。
components - Tigase 外部组件作为单个 jar
我已经实现了具有某些功能的 tigase 组件,现在试图弄清楚如何将它用作外部组件。现在看来,我必须在上面设置带有我的组件的单独的 tigase 服务器,然后配置主 tigase 服务器以将该单独的服务器称为外部组件。
我想做的是将外部 tigase 组装到一个 jar 中,以便能够使用一行命令运行它,而无需预先安装 tigase。
问题是有可能吗?
tigase 似乎需要数据库来运行,并且管理指南鼓励将共享主服务器的数据库用于外部组件。我不确定 tigase 是否可以在没有数据库的情况下启动,这使得使用简单的 java -jar 命令运行起来相当困难。
xmpp - Tigase Custom Database
I am trying to integrate Tigase to use my custom MySQL database to authenticate users, gets rosters and vCards. I setup the "Custom Authentication Connectors" as described at https://docs.tigase.net/tigase-server/8.0.0/Administration_Guide/html/#customAuthentication however, it only seems to authenticate users I've already added to the local Tigase database. Is it possible for Tigase to automatically create the user when the user has successfully authenticated? And, how can I setup Tigase to get the user's roster and/or vCard from my custom database?
I've tried setting up the "Custom Authentication Connectors" as described at https://docs.tigase.net/tigase-server/8.0.0/Administration_Guide/html/#customAuthentication, however, for users that only exists in my custom database, it allows login, but throws an error when I try to create a room or add a user to my roster as "tigase.db.UserNotFoundException: User does not exist" and "WARNING: NotAuthorizedException for packet."
Here is the config I am using based on https://docs.tigase.net/tigase-server/8.0.0/Administration_Guide/html/#customAuthentication:
I expect to be able to integrate Tigase with my custom database so that it authenticates, gets roster and vcard information from my database.
xmpp - XMPP 名册联系人可以没有 IM 或存在但有 vCard 吗?
我想使用我的服务器提供的 XMPP 名册来包含我的组的常见外部联系人的联系人(例如,我们通常称为的分销商、ISP 支持热线、我们总是订购的披萨等)显然这些联系人不需要存在或能够发送消息。他们只是存在于名册中,并带有包含电话号码的 vCard。这可能吗?