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
11
votes
2 answers

apache proxy module gives 403 forbidden error

I am trying to use the apache's proxy module for working with xmpp on ubuntu desktop. For this i did the following things - 1) enabled mod_proxy by creating a symlink of proxy.conf, proxy.load and proxy_http.load from /etc/apache2/mods-available/…
naiquevin
  • 7,588
  • 12
  • 53
  • 62
11
votes
1 answer

How to connect to XMPP server using PHP

I have set up an XMPP server, I have created the login form. PHP and HTML. I have not done this before, I want to know how to connect to XMPP server through PHP just like connecting to MySQL using PHP.
leeshin
  • 1,043
  • 5
  • 15
  • 30
11
votes
1 answer

Sharing Jabber chat session between multiple clients

I'm using Jitsi on client side and ejabberd on server. It seems that the chat sessions are specific to clients, i.e. if I'm logged in to the same account from 2 different clients, there will be 2 separate sessions, and one can't see what's happening…
Unirgy
  • 1,495
  • 15
  • 25
11
votes
2 answers

Gtalk XMPP SASL authentication failed using mechanism X-OAUTH2?

I am using GoogleTalk XMPP in my application for chatting. unable to create XMPP connection by using username and AuthToken with Google authentication. Now i am using GoogleAuth2 for authentication. i tried to authenticate like this using…
RajaReddy PolamReddy
  • 22,428
  • 19
  • 115
  • 166
11
votes
2 answers

Can't create a multi user chat (MUC) room with aSmack library for Android: "packet.DefaultPacketExtension cannot be cast to packet.MUCUser"

For an application I need to be able to create a multi user chatroom and join it. The chat server is a openfire server. I used to have: MultiUserChat chat = new MultiUserChat(connection, roomName +…
Stephan Celis
  • 2,492
  • 5
  • 23
  • 38
11
votes
2 answers

Remove entered and left rows in chatrooms in pidgin

How do i remove "entered" and "left" rows in chatrooms in pidgin? xx left the room (Disconnected: closed). xx entered the room.
Mikael Svensson
  • 692
  • 1
  • 7
  • 20
11
votes
2 answers

Smack Client - User is still 'online' although connection aborted

I experience a quite strange behavior using smack to build a small XMPP Client/Bot. I set up the connection as well as a ConnectionListener and a ChatManagerListener. This works quite fine and I can then chat with my application which is running on…
signpainter
  • 720
  • 1
  • 7
  • 22
11
votes
4 answers

Realtime server push with Socket IO (or Strophe.js), XMPP and Django

I have a couple of Android and iOS native mobile application that I wrote which connect directly to an XMPP server that I host. They push and pull realtime data through XMPP. I also use some of the XMPP XEP extensions. For other operations, I have a…
rburhum
  • 1,611
  • 2
  • 17
  • 33
10
votes
1 answer

Authorization request (add to roster) using strophe.js

I use strophe.js library to send and receive XMPP messages in browser. It works fine, but only for users I already have in my contact list - roster. I need to add someone (whose address I know) to my roster. How can I achieve this using strophe.js?…
Pavel S.
  • 11,892
  • 18
  • 75
  • 113
10
votes
2 answers

Send an xmpp message using a python library

How can I send an XMPP message using one of the following Python libraries: wokkel, xmpppy, or jabber.py ? I think I am aware of the pseudo-code, but so far have not been able to get one running correctly. This is what I have tried so far: Call…
cathat
  • 389
  • 2
  • 6
  • 15
10
votes
1 answer

Scaling Tigase XMPP server on Amazon EC2

Does anyone have an experience running clustered Tigase XMPP servers on Amazon's EC2, primarily I wish to know about anything that might trip me up that is non-obvious. (For example apparently running Ejabberd on EC2 can cause issues due to…
Jon Cox
  • 10,622
  • 22
  • 78
  • 123
10
votes
1 answer

how to get same xmpp connection from one activity to another?

i am new programmer.i would like to implement sample application for getting chat by using xmpp server.In this implementation i have created connection by using ConnectionConfiguration object as follows : ConnectionConfiguration connConfig =new…
prasad.gai
  • 2,977
  • 10
  • 58
  • 93
10
votes
1 answer

XMPP/Jabber on Django (chat server)

I'm looking to write a real time chat server in Django using XMPP/Jabber protocol (with mobile clients). Django will handle the user profile and inbox (non-real time part) through HTTP while the real time component should go through XMPP. I was…
Jd007
  • 141
  • 3
  • 5
10
votes
5 answers

XMPP with Java Asmack library supporting X-FACEBOOK-PLATFORM

I'm trying to make a Facebook Chat on Android with the Smack library. I've read the Chat API from Facebook, but I cannot understand how I have to authenticate with Facebook using this library. Can anyone point me how to accomplish this? Update:…
Adrian
  • 721
  • 2
  • 11
  • 34
10
votes
1 answer

How to manage PubSub notifications send while offline in XMPP?

How to get offline message in PubSub? Using the Smack library. after searching I found an answer which looks like this: // Create a pubsub manager using an existing XMPPConnection PubSubManager mgr = PubSubManager.getInstanceFor(con); // Get the…
Tushar Kotecha
  • 764
  • 2
  • 7
  • 27