Questions tagged [node-xmpp]

78 questions
47
votes
21 answers

Fail to install npm package: "npm ERR! errno -4048"

I'm trying to install an npm package (node-xmpp-server) but it fails to install. Previously when I'm trying to install a package that is install globally instead of locally, but now it's not installing at all. I'm running bash as administrator. I…
Vishnu Mishra
  • 3,683
  • 2
  • 25
  • 36
8
votes
1 answer

Does AWS Elastic Cache support Pub/Sub on Redis Cluster?

Looking the documentation of AWS Elastic Cache I can see they support Redis Cluster and talk about key/value data and Redis operations in general. However is not clear for me if this will support replication of Redis' pub/sub along the different…
Javierfdr
  • 1,122
  • 1
  • 14
  • 22
6
votes
1 answer

How to install node-xmpp on ubuntu

How to install node-xmpp on Ubuntu.
Alfred
  • 60,935
  • 33
  • 147
  • 186
6
votes
0 answers

xmpp message not send to selected friend

I am working in mean stack application and now I required to make chatting module using the XMPP protocol. I am new with XMPP, I have used "node-xmpp-server" and "node-xmpp-client" in node js and "Strophe.js" in angular js. My code is as…
laxman
  • 1,338
  • 2
  • 10
  • 27
6
votes
1 answer

Node-XMPP stringprep error

I'm using node-xmpp using browserify for web application. When I try to make a for browser file using browserify, the resulting file outputs this in js console - Cannot load StringPrep-0.1.0 bindings. You may need to npm install node-stringprep…
rougebot
  • 104
  • 4
5
votes
1 answer

Is Node-XMPP useless ? Choosing XMPP server

I am choosing a XMPP server, and currently trying NodeXMPP. I installed complete NodeXMPP (core,server,client,component,dependencies...). What is striking me is that I have to do all the back-end stuff : making clients speak to each other etc. Other…
Phebus40
  • 173
  • 13
4
votes
2 answers

register new xmpp account with node-xmpp ( node.js )

I'm looking at 'XEP-0077 in-band registration' about how to register a new XMPP account. Here is my code. I use node-xmpp to connect my node.js application to an ejabberd server. var net = require('net'); var xmpp = require('node-xmpp'); var…
yuda
  • 1,907
  • 3
  • 16
  • 23
4
votes
0 answers

Connect node app to Openfire

I have my nodejs server and my Openfire server, I wanted to connect both and found out that there is a plugin for nodejs in Openfire. I have install it and placed my node project in /opt/openfire/nodejs. I have not found any documentation of what…
carlATR
  • 86
  • 1
  • 11
4
votes
0 answers

GCM XMPP Socket consistently getting EPIPE and disconnected when sending notifications

We have an xmpp connection server that connects sockets to GCM XMPP endpoints and starts sending notifications. One thing We've noticed is upon sending a semi-large notification (say to as little as a 1000 devices), the sockets keep getting suddenly…
4
votes
1 answer

Handle XMPP presence with Node

I'm using the node-xmpp module to connect to a XMPP server and join a group chat. Connecting to the server, setting the presence, joining the room and reading out messages works so far. But I want to receive the userlist of the room too. The XMPP…
user1372346
3
votes
1 answer

how to receive message from ejabberd client to node-xmpp

how to use node-xmpp to receive message from client...? i already known how to sent message here the sample code how to send message... var net = require("net"); var xmpp = require('node-xmpp'); var server = net.createServer( …
yuda
  • 1,907
  • 3
  • 16
  • 23
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

Firebase Cloud Messaging - App server to scale (simultaneous connections)

I'm creating an iOS app that relies heavily on user interaction with notifications. When the user interacts with a notification, themselves and their followers will be notified immediately. For this, I've decided to use Firebase Cloud Messaging,…
cohenadair
  • 2,072
  • 1
  • 22
  • 38
3
votes
1 answer

How to send emojis/emoticons with nodejs xmpp client on google chat/hangouts

I've implemented a Google chat bot using node-red xmpp client nodes. Everything works ok, but I don't know how to make my bot to send me a smiley/emoji/emoticon/etc. For example, I want to say to my bot "hey, thanks", and I'd like the bot response…
jotadepicas
  • 2,389
  • 2
  • 26
  • 48
3
votes
2 answers

Node xmpp messages are not sent to correct destination

I'm using node-xmpp server as a chat server for 2 clients:Psi and Spark.I register an account for every client.I want to send from Psi account a message to Spark account.Every time when i send a message from an account the same account receive the…
Worker1
  • 195
  • 10
1
2 3 4 5 6