Questions tagged [node-xmpp]

78 questions
3
votes
0 answers

Why i cannot send messages with pidgin to node xmpp server?

I have implemented a nodejs xmpp server. As a client i have pidgin. I can't send messages from pidgin to server. Why? I can connect and authentication works. This is my server code: 'use strict' var xmpp = require('../index') , server = null ,…
Worker1
  • 195
  • 10
3
votes
1 answer

Google Cloud Messaging XMPP Server with Node.js

Title is fairly self explanatory. I need to create an XMPP server in Node.js to communicate with Google Cloud Messaging. The XMPP connection should allow me to send messages from the server to the client (Android app) and also from the app back to…
user3554151
3
votes
2 answers

node-xmpp send data from One client to another

I'm using node-XMPP for a chat application where two clients can chat with each other. but the problem is I'm getting data from one client to the server, but I don't know how to send data from the server to another client. my server code is: 'use…
Vishnu Mishra
  • 3,683
  • 2
  • 25
  • 36
3
votes
2 answers

Using node-xmpp-bosh to forward messages to an xmpp server on another machine

I'm trying to learn and understand how XMPP works. As I understand it, node-xmpp-bosh is a connection manager. A connection manager is not a full blown xmpp server, but sort of acts like a proxy, and forwards the xmpp requests on to a dedicated…
purpletonic
  • 1,858
  • 2
  • 18
  • 29
2
votes
0 answers

Node-xmpp: Cannot read propery 'write' of undefined

I'm having an issue with node-xmpp, server-side settings out of my control maybe have changed but this error is relatively new. Looking for some pointers/insight, I've not been able to solve this issue within the module or my code. I unfortunately…
Kyle
  • 355
  • 1
  • 4
  • 13
2
votes
1 answer

Connecting to Conference over node-xmpp on Node.js

How to connect to a Jabber conference? Send and receive messages. Get a list of online users.
igor
  • 85
  • 2
  • 7
2
votes
0 answers

No stream features to proceed using node-xmpp-client

I've installed prosody on an ubuntu AWS server. I have tried using Adium client and swift, but I get the same error indicated in the title. I've tried using node-xmpp-client to create a client but same error. Node-XMPP client code: const Client =…
Don Cheeto
  • 111
  • 1
  • 9
2
votes
2 answers

starttls on node.js > 0.4.0

I came across this thread Node.js HTTPS Secure Error which mentions that the tls module is the way to do TLS on node now. It seems that setSecure() has been dropped. I'm trying to do a STARTTLS for XMPP. This means that the socket will be upgraded…
dhruvbird
  • 6,061
  • 6
  • 34
  • 39
2
votes
2 answers

Reading XMPP console using node-xmpp

I have an issue at work and I can't find a solution. I know StackOverflow questions aren't for documentation, but apparently the documentation for node-xmpp is rather... "light". My problem is the following: I have an xmpp client connected to a…
SmashingQuasar
  • 411
  • 2
  • 13
2
votes
0 answers

node-xmpp-client not sending simple message

i'm new to node.js. I'm following the code from here. I tried to implement node-xmpp-client here. My simple project code is: 'use strict' var Client = require('node-xmpp-client'); var argv = process.argv var client = new Client({jid:…
m2j
  • 1,152
  • 5
  • 18
  • 43
2
votes
0 answers

node-xmpp-client cannot connect to node-xmpp-server from browser

I'm trying to connect to node-xmpp-server from node-xmpp-client browser.But I have the following errors: Thanks for any help!
Worker1
  • 195
  • 10
2
votes
0 answers

How to add friends to my roster in node xmpp?

I want to add friends to my Spark roster.With this client i'm connected to node-xmpp server.How i should do this?I've saw events like client.on('connect) or `client.on('stanza') .Is there a way to do this in this mode ?I think an event is executed…
Worker1
  • 195
  • 10
2
votes
0 answers

How to leave from group chat using node-xmpp

This doesn't work. Here cl is xmpp-client object of who wants to leave from group. cl.on('online', function (userData) { var userJid = userData.jid.user + '@' + userData.jid.domain + "/" + userData.jid.resource, roomJid = params.typeId +…
thilo
  • 439
  • 1
  • 5
  • 6
2
votes
3 answers

Nodejs XMPP Component Usage

I'm trying to create a nodejs component using node-xmpp-component. But I keep getting error code 400, type modify, bad request, but I don't see anything wrong with my iq message. My ejabberd configuration: {5282, ejabberd_service, [ { hosts,…
Canastro
  • 2,979
  • 30
  • 39
2
votes
2 answers

node-xmpp C2SServer connection issue on registration

I am using node-xmpp library to communicate with ejabberd server installed on ubuntu. I have the following script to register and perform actions in the server.. var xmpp = require("node-xmpp"); var c2s = new xmpp.C2SServer({ port:…
niksmac
  • 2,667
  • 3
  • 34
  • 50