openfire

Chat server with websocket+node.js vs a native client with xmpp

折月煮酒 提交于 2019-12-21 04:30:53
问题 I couldn't find any reasonable benchmarks regarding comparison between a chat client that runs with using node.js chat server V.S. a client that works with xmpp. I know node.js is async and as far as I know so does xmpp . However, my main concern is performance with same amount of concurrent users. I would need this information to write an android app. Would like to know your opinions and advantages/disadvantages using both systems. Thanks in advance. 回答1: While I understand what you're

Getting All group messages back when connecting to xmpp from ios and android end

帅比萌擦擦* 提交于 2019-12-20 07:26:23
问题 I am using openfire version 4.0.1 Using openfire Rest Api i have created group chat rooms in the service servicename.xx.xx.xxx.xxx. Now rooms are created what is happening , once user connect to the xmpp server all the group messages are receiving back to that user which makes application stuck. I heared about Group Chat History Settings under group chat settings. I have truncate all the group messages which is stored in ofMessageArchive table of openfire. Still, when user connects to the

service unavailable error in openfire message archive management

不想你离开。 提交于 2019-12-20 06:44:10
问题 I am using monitoring plugin 1.6.0 with openfire 4.2.0. Following is the screenshot of archive settings on openfire admin Console. also following is the screenshot of plugins I am using with this. My Issue as you can see the plugin is installed. but when I am trying to fetch chat history with following code : I am getting service unavailable response. func fetchChatHistoryFromServer(completionHandler completion: @escaping FetchChatHistoryCompletionHandler) { let iq = DDXMLElement(name: "iq")

'remote-server-timeout' exception as I try to connect to the server

柔情痞子 提交于 2019-12-20 06:26:15
问题 While trying to connect to openfire server through the following code : Connection connection = new XMPPConnection("https://192.168.0.101:5222"); connection.connect(); I get an exception which says : https://192.168.0.101:5222:5222 Exception: Could not connect to https://192.168.0.101:5222:5222.; : remote-server-timeout(504) What could be the reason for this ? Note : I have allowed openfire fire server through the firewall.I also tried putting off the firewall, but the same result.Server is

Get XMPP Chat History OpenFire

跟風遠走 提交于 2019-12-20 04:37:11
问题 I am trying to implement a chat application using XMPPFramework in iOS, using OpenFire server. My chat is working fine, I am trying to retrieve chat history from server. Ofcourse I have enabled Message Archiving on Server. This is the Request I am sending <iq type="get"> <retrieve xmlns="urn:xmpp:archive" with="dev_user80@mydomain"> <set xmlns="http://jabber.org/protocol/rsm"> <max>100</max> </set> </retrieve> </iq> This is the response I am getting. <iq xmlns="jabber:client" type="error" to=

Getting error while fetching archived messages(XEP-0313 MAM - chat history) from openfire-4.1.1

谁说胖子不能爱 提交于 2019-12-19 11:06:08
问题 Openfire version - 4.1.1(Which has XEP-0313 MAM support) Smack version - 4.2.0-rc2-SNAPSHOT(Which has XEP-0313 MAM support) Monitoring Service version - 1.5.4 After installing Monitoring Service plugin in Openfire, I've also eabled Message Archiving. To fetch archived messages, MamManager mamManager = MamManager.getInstanceFor(mConnection); MamQueryResult mamQueryResult = mamManager.queryArchive(5); Sent Stanza : <?xml version="1.0" encoding="UTF-8"?> <iq id="33F2H-15" type="set"> <query

How to retrieve one to one chat history from Openfire using asmack android

本秂侑毒 提交于 2019-12-18 16:51:55
问题 Please can anyone show me the exact code for retrieving a chat history from openfire server to android client application using asmack library and XMPP protocol? In my openfire server I was enable merged Monitoring service/Open archive service and all messages successfully stored into database. But I don't know how those messages (chat history) retrieve to my client application which is building in ANDROID. What type of chat I need is one-to-one user chat (not group chat). I am success ed to

XMPP web client [closed]

一世执手 提交于 2019-12-18 10:24:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there any XMPP web client except SparkWeb and JWChat? 回答1: I'd recommend, you can use strophejs. The examples of the Professional XMPP development with jQuery are very interesting. Especially the chapter 6 application, which is a ... chat client. 回答2: There is also Jappix, which is a fresh new social-oriented

Why can't I connect to the openfire server?

无人久伴 提交于 2019-12-18 07:16:38
问题 I'm having a little bit of trouble trying to connect to Openfire (which I've installed on my computer) while using Smack. ConnectionConfiguration config = new ConnectionConfiguration("shin-pc" ,5222); config.setCompressionEnabled(true); config.setSASLAuthenticationEnabled(true); XMPPConnection connection = new XMPPConnection(config); connection.connect(); connection.login("test", "test"); When I try debugging or running, there's an error of some sort in the connect() line. XMPPError

Smack API - Read Chat History from Openfire Server

只愿长相守 提交于 2019-12-17 18:33:48
问题 How can I fetch chat log or chat history from Openfire server using Smack library into an Android application? 回答1: As far as I know, there is no storing of chat history in Openfire. You can only get offline messages sent by user (when they connect next time for example), but if you want to store the messages you can implement it yourself directly on the XMPP server (personally I did it using mongodb - it works great!). But then, maybe I missed something in Openfire... 回答2: Openfire server