openfire

How to deploy a XMPP server on a host to work with android clients?

牧云@^-^@ 提交于 2019-12-08 08:41:08
问题 I am trying to deploy a XMPP server on a remote host like example.com, and create a simple App in Android studio as a client, Several people will be able to install this Instant Messaging(IM) App on their android phone and start chat with each other over the internet.(Similar to Telegram) What I have done: I have installed Openfire on windows locally. I found a simple source code for android studio, and could configure it to work with Openfire locally. Right now I am sending and receiving

Error Binding Resource while Connecting to Openfire server using Jabber-Net

妖精的绣舞 提交于 2019-12-08 03:30:51
问题 My struggles with finding a C# xmpp library continues as I have now been force to rule out using both the Soapbox Studio SDK and aggXmpp / Matrix SDK. I have moved on to Jabber-net one of the few remaining C# libraries available and am thus far unable to connect to my Openfire Server. From what I understand this library like most xmpp libraries I have used thus far executes asynchronously so I am first calling the JabberClients 'Connect method' and bind a method that Logs into the server to

can client of the xmpp server disconnect other client from the server?

那年仲夏 提交于 2019-12-08 02:32:17
问题 It this possible? How? (Maybe silly question, but I couldn't find answer :( ) EDIT:I am using Openfire server embedded into different system, so I need if admin of the system kicks out the user from the system server, user's connection to Openfire server should be closed too. 回答1: Under some cases, yes : The same full jid "user@host/resource" connects from two different sources. The server usually disconnects the old one. Though some servers (OpenFire comes to mind) may make it configurable.

New registration on openfire with Strophe.js

痴心易碎 提交于 2019-12-07 22:54:41
问题 I use strophe.js library with Openfire to send and receive XMPP messages in browser. It works fine, but only for users I already have in my contact list - roster. I need to get the new users registered. i know how to add existing people in my roster but i dont know how to register new users on openfire. 回答1: Use XEP-0077, there already exists a plugin in Strophe's plugin repo. If not, as a user with admin rights, you need to implement the Add User from XEP-0133. Presumably this would be done

ubuntu装spark openfire

核能气质少年 提交于 2019-12-07 19:25:19
spark http://www.igniterealtime.org/downloads/index.jsp#spark 下载spark的rpm包 用alien将rpm包转成deb包(sudo apt-get install alien), alien xxx.rpm sudo dpkg -i spark.deb 装好后命令行输入 spark , 报错, 错误在/usr/share/spark/jre 下, 进入spark目录, 将其自带的jre移开, 将自己系统下JAVA_HOME的jre链接到spark目录下代替其自带的jre. 重新在命令行运行spark, 程序运行成功. openfire 下载openfire deb包, http://www.igniterealtime.org/downloads/index.jsp sudo dpkg -i openfire.deb 安装报错, openjre等没安装, 但是配置了JAVA_HOME, 也导出了java环境变量, 运行 sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer 来源: oschina 链接: https://my.oschina.net/u

Instantiate ConnectionConfiguration in Smack 4.1

▼魔方 西西 提交于 2019-12-07 19:06:18
问题 I am implementing a chat feature in my android app. So I have installed an open fire server and Smack Client library and now I have written a code to connect with the server but I am getting an error which states that ConnectionConfiguration is an abstract class.So i cant instaniate. Could you give me some idea about the instantiation of ConnectionConfiguration in SMACK 4.1? 回答1: Try to use the example below: XMPPTCPConnectionConfiguration.Builder config = XMPPTCPConnectionConfiguration

How to retrieve vCard in iOS from XMPP/OpenFire

丶灬走出姿态 提交于 2019-12-07 18:48:29
问题 As the name suggests I am trying to retrieve a vCard for a user using one of the next XMPPFrameworks methods: - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid; - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid useCache:(BOOL)useCache; My current implementation is: dispatch_queue_t queue = dispatch_queue_create("queue", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_async(queue, ^{ XMPPvCardCoreDataStorage* xmppvCardStorage = [XMPPvCardCoreDataStorage sharedInstance];

How can I implement auto join for XMPP room in iOS

匆匆过客 提交于 2019-12-07 17:15:53
问题 I want to do Auto Join room in XMPP group chat. I have all of group created from back end Server, first time i join the room but when i disconnect from XMPP (out of the app) and back inside app and re-connect xmpp, I again need to join the room. In side app one user already available in multiple room so not possible to Join again n again in the room . Please help.. Thanks in Advance! 回答1: I think you have to show this link : https://xmpp.org/extensions/xep-0048.html . Here you can find the

Smack and SASL Authentication error - No known authentication mechanisims

拥有回忆 提交于 2019-12-07 10:50:09
问题 I am trying to create an XMPP client using the latest version of Smack 4.1.0-beta. But i am running into an error when trying login into a local running OpenFire server. org.jivesoftware.smack.SmackException: SASL Authentication failed. No known authentication mechanisims. I tried all kind of combinations of user credentials but so far no luck. When trying to connect to the server with Pidgin or Adium al is ok. Any clue what i am missing in the code? XMPPTCPConnectionConfiguration config =

Is there any option to disable group-chat message history on open-fire server?

家住魔仙堡 提交于 2019-12-07 09:25:14
问题 I have been creating group chat application , while implementing group chat functionality I am facing problem, that when I every time join the room , open fire sends last two days messages. Here is post message which I get every time when I join the room. <message xmlns="jabber:client" id="05qEM-18" to="210@openfire.indianic.net/94e509b9" type="groupchat" from="top@conference.openfire.indianic.net/258"><body>Very good morning!!!</body><delay xmlns="urn:xmpp:delay" stamp="2014-03-19T05:15:06