openfire

XMPPFramework - Unable to Retrieve Chat History from Openfire Server

雨燕双飞 提交于 2019-12-12 18:29:00
问题 I am trying to fetch chat history from Openfire server. For that purpose we are done with open fire set up and we added archiving plug in to Openfire as well. I gone through some Googling and I found that I need to follow XEP-0136. I also found this SO question. I am sending the same stanza to my server but I am getting error code of 501 i.e feature not implemented. While I go on server and look for archived History than I get that history properly. Here is the Stanza I am sending: <iq type=

service unavailable response from server while sending custom IQ

大憨熊 提交于 2019-12-12 16:11:58
问题 I am trying to send custom information with IQ in asmack from android. So I am using below code to send the custom IQ message. public void onClick(View arg0) { CustomIQ req = new CustomIQ(); req.myData="Hello world"; req.setType(IQ.Type.GET); req.setTo(Activity_title+Constants.DOMAIN); MainActivity.connection.sendPacket(req); Log.d(Constants.TAG, "xml value :"+req.toXML()); Log.d(Constants.TAG, "child element value :"+req.getChildElementXML()); Log.d(Constants.TAG, " custom IQ req sent");

Should we use GCM (or new FCM) with openfire for offline pushnotification messages?

﹥>﹥吖頭↗ 提交于 2019-12-12 11:21:21
问题 It seams like to work with chat application, using openfire and smack there can be two ways below, First Way Smack makes a connection with the openfire server and it can receive and send updates to the server as long as its connected to the openfire server. In case its not connected, theres a plugin on openfire which keeps the messages offline, and send them once the client is connected again. In this scenario to receive all messages, 1.1 Device should only disconnected from the openfire in

XMPPFramework - Connect via SSL on Openfire

谁都会走 提交于 2019-12-12 08:13:01
问题 I'm trying to connect my users via SSL from my iOS XMPP chat client to Openfire server. In my iOS client: - (void)setupStream { ... // BOOL values for security settings customCertEvaluation = NO; allowSelfSignedCertificates = YES; allowSSLHostNameMismatch = NO; } In my Openfire server's Security Settings > Client Connection Security , I've set: Required - Clients can only connect to the server using secured connections. Thus, the following delegate method will be called: - (void)xmppStream:

how to send push notification to offline users of xmpp

霸气de小男生 提交于 2019-12-12 06:01:27
问题 we are working on an real time ios and android application for that we are using xmpp protocol and openfire server but now we are facing a problem that when a user is offline he will not get message but we have to send them a push notification like watsapp but we dint get any option in openfire to do it after some research i got xep-0085 and got to know that it can send push notification if user is offline but it dint get from where i have to upload apple certificate to send push notification

Openfire Connecting Exception: remote-server-error(502) xmpperror connecting to 5222

北战南征 提交于 2019-12-12 04:36:18
问题 I working on chatApp. i am successfully implement xmpp chat using oenfire server past 2 month using asmack. but few hour ago i get below exception and till now i am unable to contact server. 192.168.0.1:5222 Exception: XMPPError connecting to 192.168.0.1:5222.; : remote-server-error(502) i try to find solution on google, but not get any success, below code using for contact openfire ConnectionConfiguration connConfig = new ConnectionConfiguration( Constants.TEST_HOST, Constants.PORT,

xmpp (smack and openfire) get registration state of group of users?

一个人想着一个人 提交于 2019-12-12 04:30:05
问题 I use openfire and smack for presence management in my app. I use phone number as username and wanna get list of registered users that exist in user device contacts list. Is there any way to check user s registration state? 回答1: To determine registered users (just like Whatsapp) you can simply post contact's of user on your server and there you can check which contacts exist in your users table (the table where you keep the entry of new user with his phone number). Based on that data you can

No xmpp Client is able to connect to Openfire Server on aws

我的梦境 提交于 2019-12-12 04:24:41
问题 On an aws ec2 Instance Ubuntu 14.04 , I have setup openfire using This Link . This just a test server so no worries there , the firewall is off , the security group of aws allows all traffic from all IP and I checked via telnet ports are reachable , I can login to admin Also I set the server public ip as servers IP/Domain when I setup the server for first time to create admin account. Now my issue is Created a user but when i use any xmpp client like spark or Instandbird or any common xmpp

Cannot establish TLS connection to Openfire 4.1.3 server with Smack 4.2 on Android: SSLProtocolException: SSL handshake aborted

落爺英雄遲暮 提交于 2019-12-12 03:39:28
问题 I'm trying to connect to my Openfire 4.1.3 server with Smack 4.2, the current config works ok: XMPPTCPConnectionConfiguration.Builder config = XMPPTCPConnectionConfiguration.builder(); config.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled); config.setXmppDomain(serviceName); config.setHost(context.getString(R.string.server)); config.setHostnameVerifier(verifier); config.setHostAddress(addr); config.setResource("Android"); config.setPort(Integer.parseInt(context.getString(R

TURN Connection using the iOS XMPPFramework and an OpenFire Server

你离开我真会死。 提交于 2019-12-12 02:35:40
问题 Problem : How can I get a successful TURN Connection using the iOS XMPPFramework and an OpenFire Server. I want to be able to send and recieve files. Note : The base of my code is from the following tutorial : http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-server-setup/ Update 13th April 2012 : After more research, I think the real relevant code I need to display in this question is this ... This is where the TURNSocket attempts to connect XMPPJID *jid = [XMPPJID