openfire

Keep RID in sync with multiple tabs for Strophe js connection

◇◆丶佛笑我妖孽 提交于 2019-12-12 02:24:34
问题 We are trying to implement a chat application where we are using strophe js for http-bind. Everything works fine, the only problem we are facing is with keeping connection alive with multiple tabs. I am not getting how to keep RID in sync when multiple tabs are open. Please help!! 回答1: Each requesting resource should have it's own resource name. In your instance, each tab should have it's own resource name and connection. username@jabber.servername.com/tab1 username@jabber.servername.com/tab2

Openfire development in Eclipse

爷,独闯天下 提交于 2019-12-12 01:42:56
问题 I am importing openfire in eclipse. I have done this successfully but I am not able to run that in http://127.0.0.1:9090/. Following is the error I am facing. And I used this link https://www.youtube.com/watch?v=KlMaBplFbuQ to import the openfire source in eclipse. HTTP ERROR 500 Problem accessing /. Reason: Unable to compile class for JSP Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.compiler.DefaultErrorHandler.javacError

XMPP:BOSH client session getting closed randomly while connecting to openfire

老子叫甜甜 提交于 2019-12-12 01:21:40
问题 I get this message after sometime. org.jivesoftware.openfire.http.HttpSession - Request 3436024236568502 > 3436024236568501, ending session. Basically I send around 1,00,000 messages/queue/hour each of 400 bytes. I see that only this session is terminated . What does this message indicate and what s the possible solution? 回答1: You run into the following constraint else if (rid > (lastRequestID + maxRequests)) { Log.warn("Request " + rid + " > " + (lastRequestID + maxRequests) + ", ending

Openfire in-band-registration via Bosh not working with Strophe/Strophe.register.js

南楼画角 提交于 2019-12-11 19:53:26
问题 I previously asked a similar question about ejabberd, however ejabberd was giving other problems, so I switched to openfire. For the sake of not making the original qestion to cluttered, I decided to create a new question, since this question pertains to openfire and is a different issue than the one I was having with ejabberd. So, here goes the question: I have a strophe.js xmpp client, which connects to an openfire 3.10.0 alpha server running on the Amazon cloud. I need 3.10.0 alpha over 3

User presence not receiving xmpp ios

痴心易碎 提交于 2019-12-11 16:28:29
问题 I have added user to my roster using this rest api http://192.168.1.39:9090/plugins/restapi/v1/users/hello/roster Header Authorization:FBeGHvBFSa7JsLL3 Content-Type:application/xml Body <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <rosterItem> <jid>vinod@192.168.1.39</jid> <nickname>vinod</nickname> <subscriptionType>3</subscriptionType> </rosterItem> user successfully added to roster but user presence not receiving in my iOS application. please help me for this , what i missing in

Cant able to upload file through spark(2.7.7) client to open fire

ε祈祈猫儿з 提交于 2019-12-11 15:15:10
问题 We are trying to build a chat application between two users. So, we prefer to use openfire . I have installed openfire(4.2.3) in Ubuntu server and created two test users through admin panel.I can able to chat between two users using spark client(2.7.7)or (2.8.3) but the problem is that i cant able to send a file to the another user using spark client and also even we tried to share through android code also .It is not working . I can able to browse the file using the spark client but it is

Register XMPP-Account using the Strophe.js-Register-Plugin

若如初见. 提交于 2019-12-11 14:07:12
问题 I try to register a xmpp-account using the strophe-register-plugin (https://github.com/metajack/strophejs-plugins/tree/master/register). It works fine with the connection manager from example "http://bosh.metajack.im:5280/xmpp-httpbind" but I can't register the account using the OpenFire connection manager. (Normal login works with both connection managers...) Connection State Changes are 1 -> 10, thats it. 1 means "connecting" but i dont know what 10 means... var connection = new Strophe

one to one chat history with open fire and smack

穿精又带淫゛_ 提交于 2019-12-11 14:06:42
问题 I have installed open fire in my system and by using postman tool i am able to create the user and by using smack i can able to send the message to other user also.. but the problem is that i dont know that how to fetch the chat history between two users..it means if i sent the from and to user names i need to fetch the previous chat history. I am able to see the chat history in the open fire servers--> archieving folder.. But i am not getting that how to fetch the chat history. Is there any

XMPPFramework - “not-authorized” error upon deleting a registered user account

烂漫一生 提交于 2019-12-11 12:33:24
问题 I want to delete an Openfire user which is currently connected using XMPP. I use the below code for deleting the user: - (void)DeleteAccountFromOpenfire { NSXMLElement *query = [NSXMLElement elementWithName:@"query" xmlns:@"'jabber:iq:register'"]; [query addChild:[NSXMLElement elementWithName:@"remove"]]; XMPPIQ *iq = [XMPPIQ iqWithType:@"set" elementID:@"unreg1"]; [iq addChild:query]; [[self xmppStream] sendElement:iq]; } But I get a not-authorized error from the server. How could I avoid

How to delete a message from group chat in XMPP(Openfire)?

拥有回忆 提交于 2019-12-11 12:25:24
问题 I want to delete single group chat message from openfire history. Is it possible? The history is not saved in the OfMessageArchive table, after deleting the message in the application the message disappears, but after re-logging is downloaded from the (base?) of Openfire and it's still visible. 回答1: Until now you cant delete single messages. There is an Extension planned (http://legastero.github.io/customxeps/extensions/message-delete.html) but it's not yet supported. The only possibility is