Questions tagged [openfire]

Openfire is a XMPP (Jabber) server written in Java. It has facility for developers to create plugins that can extend the server's functionality.

Openfire is a real time collaboration (RTC) server licensed under the Open Source GPL. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire was once known as Wildfire and includes a number of plugins that integrate with other communications platforms, including commercial offerings from Jive Software

Ignite Realtime Openfire

Openfire JavaDocs

1509 questions
3
votes
1 answer

Unable to connect to Openfire server from the script running browser side

At first, I was connecting to Openfire using following script. const {Client} = require('@xmpp/client') const client = new Client() client.start('xmpp://localhost:5222').catch(err => { console.error('start failed',…
hssin
  • 55
  • 4
3
votes
1 answer

not getting offline messages with smack

I am trying a chat application with openfire,smack and android where offline messages are not working. if both the users are online, able to send and receive the messages correctly . But if user A is offline and user B sends a message, User A is not…
Ravi
  • 53
  • 5
3
votes
1 answer

strophe connect openfire error

I input a jid and pwd on a html form, and use Strophe to connect to openfire, but when I press the login button, the xmpp server response is error 302. I enabled the option on openfire, and restarted it. var BOSH_SERVICE =…
Ran
  • 303
  • 1
  • 3
  • 15
3
votes
0 answers

Openfire server stop automatically in ubuntu 14.04

My Openfire server stopped automatically. it happens every 2 or 3 days. I have to restart service manually what could be the issue? it really a big issue and my application are live.Please suggest me what was the issue and how I can be fixed…
Rajeev Kumar Verma
  • 87
  • 1
  • 3
  • 10
3
votes
2 answers

Xmpp + openfire + server acknowledgement to the sender

I'm developing IM application. I want to get acknowledgement at the time of when message is received by the Openfire server I have used below gradles //XMPP Gradles compile 'org.igniterealtime.smack:smack-android:4.1.0' compile…
Radhey
  • 2,139
  • 2
  • 24
  • 42
3
votes
1 answer

How to create persistent rooms in openfire using strophe?

I'm using the following iq message to create persistent rooms in openfire: var configiq = $iq({ to : chatObj.getActiveChatRoomName() + "@" + chatObj.groupChatService, type : "set" }).c("x", { xmlns : "jabber:x:data", …
ajm
  • 12,863
  • 58
  • 163
  • 234
3
votes
2 answers

404 (Invalid SID value) in Strophe while using attach()

I have searched in google and some similar questions on stack overflow. But I am not getting any solution. Basically, I want to persist connection across web pages in my application. For this I am using cookies. I store SID and RID in cookies and…
ajm
  • 12,863
  • 58
  • 163
  • 234
3
votes
2 answers

Send XMPP (Smack) Message

Ok, the problem should be trivial but I can't get to the bottom of it. I have two users A & B Their JID's for this example will be A@123 and B@123 where 123 is the IP of the server. I'm sending a message from A->B using the following code: chat =…
Adam
  • 1,962
  • 2
  • 17
  • 30
3
votes
0 answers

How to connect & run Strophe JS files with Openfire Server?

I have installed Openfire successfully & enabled HTTP Binding at port 7070. I have downloaded strophe.js library https://github.com/strophe/strophejs & want to run its examples, but I don't know how to connect this two. Where should I place my…
3
votes
0 answers

openfire add user to group

I've read many Posts about adding a user to a group programmatically on openfire dev forum. Unfortunately, none of them worked for me. I can programmatically create users via UserManager.createUser(). After I successfully created a new User, I want…
tryhard
  • 31
  • 2
3
votes
2 answers

smack message sent status

I am using smack and openfire for create chat app in android . for message status I have no problem with delivered and displayed message in other client (double check). I will send a simple json message like bellow to sender: …
Hosein Kord
  • 187
  • 2
  • 15
3
votes
2 answers

XMPPError: bad-request - modify error create new user using smack library 4.1.8 and openfire

i have been developing a chat application using smack client library 4.1.8 and xmpp server(openfire server) but while trying to create new user using Accountmanger class it raises and exception "XMPPError: bad-request -…
btinsae
  • 503
  • 2
  • 5
  • 13
3
votes
1 answer

solution for XMPP in iOS swift 3.0

I would like to add the chatting feature in my app by connect to my openfire server. I have gotten the openfire account and password for each user. I am looking for a direction, including frameworks or libs, to implement this. First, I found XMPP…
Dan
  • 301
  • 3
  • 21
3
votes
1 answer

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

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…
arslan haktic
  • 4,348
  • 4
  • 22
  • 35
3
votes
0 answers

Hosting Openfire on Openshift

Can I deploy Openfire on Openshift? Will it work? Can I deploy other xmpp server? Before Openfire was on VPS, but now I need make it via Openshift, Is this possible? Thanks.
dima
  • 29
  • 1
  • 7