Questions tagged [xmpp]

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data.

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data. The protocol is commonly used in instant messaging (IM) applications, but can be used to exchange any kind of data. It can also be leveraged for multi-user chat, collaboration, voice and video, message-oriented middleware, and many other applications.

XMPP works by initiating a bidirectional XML stream between two entities. The stream is used to transport XMPP stanzas, which are small, well-defined blocks of XML.

An overview of XMPP protocol is available at https://xmpp.org/about/technology-overview.html

There are various XMPP servers available to use. For more comprehensive lists of server, client implementations as well as XMPP libraries, visit xmpp.org.

5941 questions
9
votes
8 answers

Property Has a Previous Declaration

I tried adding XMPP framework into my ios project and I couldn't get it working. Turns out I added it incorrectly, So I tried removing it and now without XMPP I am getting these errors: Thanks in Advance!
DanHabib
  • 824
  • 4
  • 15
  • 25
9
votes
3 answers

Where can I find a good XMPP (Jabber) tutorial?

Where can I find a good XMPP (Jabber) tutorial with detailed information on the XML that's sent to/from a Jabber client and server. I've looked at the xmpp.org website, but what they show there is confusing and doesn't help me learn. I want to write…
afollestad
  • 2,929
  • 5
  • 30
  • 44
9
votes
2 answers

send downstream message to google ccs with node js

I am using node-xmpp to connect to google gcm ccs servers. I followed the from gcm google groups to connect. Now i need to send a downstream message whenever i receive a message from my redis subscriber(i subscribed to a redis channel redis node…
guy_fawkes
  • 947
  • 8
  • 31
9
votes
3 answers

Delivering messages to offline users in a multi-user chat (ejabberd)

Actually we are using ejabberd server for one of our client's Chat application. Everything is working well except for Group chat. We are using MUC for Group chat but it is not sending Messages to the member whenever uses is offline. Is there any…
user2609447
  • 93
  • 1
  • 4
9
votes
3 answers

Send and Receive IQ XMPP ASMACK Android

Background: I have been able to implement one to one chatting through XMPP in android using asmack library. I am able to send presence to the server as well. I am using OpenFire server for my Chat based application. Problem: I am using…
Hassaan Rabbani
  • 2,469
  • 5
  • 30
  • 55
9
votes
1 answer

What should be the JID for a user in OpenFire Server?

Hi I am new to this: I have set up an Openfire Server and using Spark IM to test it. But for Android application code what should be the JID for the user in session: I have tried username@ip_address , username@ip_address/Smack ,…
Navdroid
  • 1,541
  • 3
  • 25
  • 52
9
votes
1 answer

Trying to log into XMPP server using Smack results in SASL "not authorized"

I'm trying to use Smack to log into a XMPP server. When trying to login I get the following Error : SASL authentication PLAIN failed: not-authorized I have been able to connect and log into the server using PSI-IM with the same credentials. This…
Shishigami
  • 441
  • 3
  • 7
  • 20
9
votes
8 answers

How to know Typing Status in XMPP openfire using Smack

I am developing chat application by using Openfire XMPP server. I can text chat between two user. But i want to know Typing status when some one is typing message. So i created a class :- public class typingStatus implements ChatStateListener { …
user2160008
  • 379
  • 2
  • 5
  • 20
9
votes
2 answers

send and receiving message using smack API

I have setup my open fire(jabber server) on local machine with two user testuser1 and testuser2 .using Spark client both users perform chat without any issue,it's nice. openfire IP -192.168.1.65 I want to use smack API(3.3.0) for send and receiving…
Sameek Mishra
  • 9,174
  • 31
  • 92
  • 118
9
votes
1 answer

XMPP "stream:error (conflict)" on login with (a)Smack

Currently i am working with xmpp/jabber chat for android.i just tried with Openfire and try to connect my jabber account.connection was successful.but i am not able to send any message.it shows some conflict error.please check the error log.give me…
Jithu P.S
  • 1,843
  • 1
  • 19
  • 32
9
votes
1 answer

Adding participants to XMPP chat rooms

I want to implement Group Chat in my application, for that purpose i am using MUC chat rooms to implement the same. Here I want to add a list of members( i have the JID's) to the room. I want to add them internally to all the members in the list.…
Gaurav Arora
  • 8,282
  • 21
  • 88
  • 143
9
votes
1 answer

Unable to change presence status of my user with Smack

I tried to set online mode but it doesn't work through a Roster. I ran this code and check my localhost server, the mode still "available" and not "Do not disturb". final Connection connection = new…
emeraldhieu
  • 9,380
  • 19
  • 81
  • 139
9
votes
3 answers

Why does sending an email need multiple mail server hops?

When I send an email to somebody, (I think) my email is sent to my home server, then the email is sent to target server, then it is finally sent to the people I want to send to. Sometimes, this needs multiple hops, which is the point that confuses…
Wei JingNing
  • 241
  • 1
  • 3
  • 10
8
votes
4 answers

Lost messages over XMPP on device disconnected

I'm trying to develop a turn base game over XMPP. ( The only solution I found for multiplatform game ). I can send messages without problems. If the other user isn't online, the server (OpenFire) save it for later deliver. The problem cames when a…
Daniel Argüelles
  • 2,229
  • 1
  • 33
  • 56
8
votes
2 answers

How can I create an XMPP account?

I have a web application using XMPP for chatting. The only real problem is that users have to create their own XMPP account on the right server. I'd like to automate this process. How do I automatically create a new XMPP account for a new user ? How…
Cydonia7
  • 3,744
  • 2
  • 23
  • 32