Questions tagged [ejabberd]
ejabberd is a Jabber/XMPP instant messaging server, licensed under GPLv2 (Free and Open Source), written in Erlang/OTP. Among other features, ejabberd is cross-platform, fault-tolerant, clusterable and modular.
2,373
questions
0
votes
0
answers
11
views
Facing CORS error when call in ejabberd oauth endpoint (ejabberd_oauth)
I'm using following version: ejabberd_22.10-1
Please find yml setting below,
oauth_expire: 2592000
oauth_access: all
oauth_client_id_check: db
….
listen:
# ...
-
port: 5443
ip: ":...
0
votes
0
answers
5
views
After migrating ejabberd verison 20.04 to 23.04 facing function match cause issue in ejabberd route IQ
we are using the privacy and ping modules in Ejabberd, After migrate our Ejabberd verison from 20.07 to 23.04, we are getting the Module failed to handle the query in ejabberd_route IQ
Try this below ...
1
vote
1
answer
38
views
Ejabberd external auth with python is giving timeout error
I'm getting below error message in error.log of ejabberd when i try to authenticate through an external python script (Tried with java also).
External script is succesfully receiving inputs from ...
0
votes
1
answer
13
views
entering 1 jabber account on 2 devices. Both keep getting online and offline
I have a jabber ID which is logged in multiple devices
I want that the new session should retain and previous session should close permenantly
but both devices are connnecting to server. Both are ...
0
votes
0
answers
12
views
Ejabberd server worked fine yesterday, woke up to the admin page not working and not being able to connnect via Gajim or Pidgin
The ejabberd service starts completely fine with no errors when i use ejabberdctl live. All necessary ejabberd ports are open and i have an admin account registered. My webserver works fine via nginx ...
0
votes
0
answers
9
views
When I trigger the send_message api of the ejabberd from post man it always returs 0 that is a positive response, why?
When I trigger the send_message api either the client is offline or online, the response from the api is 0 that means success. So the message is sent is what the response tells us right!.
But if the ...
0
votes
1
answer
22
views
How to get list of MultiUserChat groups on an XMPP (ejabberd) server which a user is a member of?
I am running an ejabberd XMPP server with a requirement for all MultiUserChat rooms to be configured as private by default. Only an admin user will be able to create multi user chat groups, and users ...
0
votes
1
answer
12
views
Where I can get ejabberd full account JID in macOS setup?
I have completed these steps :
steps of ejabberd setup in macOs
Then i have opedn localhost server and it requies Username and password so which username and password i have to put becase as per ...
0
votes
1
answer
22
views
Strophe.js: Fetch group wise users from roster instead of fetching all together and local filter
I want to list a particular groups user only in UI because in my case each user can not list all user.
In my case, user will have list of only those connections whose parent entities are connected.
0
votes
1
answer
16
views
Failed joining ejabberd open room
I sent my join request to an open room MUC like below:
<presence from="myJid@chatserver.com" to="roomname@conference.chatserver.com" id="17cb115c-2a7a-4aa6-8498-...
1
vote
0
answers
19
views
Ejabberd contact list grouping and show contact list if its connected with parent entity
System has 2 type of Entities,
EntityType1
EntityType2
Now system has
for ex.
2 EntityType1
EntityType-1.1 - 5 Users - Mark wood
EntityType-1.2 - 5 Users - Mark wood
&
2 EntityType2
...
0
votes
1
answer
24
views
ejabberd server overloads at 1080 active users
We have an XMPP system used by our software that uses an ejabberd server to send realtime messages. Think of this as a 2010 era homegrown version of Firebase Cloud Messaging.
We recently updated from ...
0
votes
1
answer
19
views
how to create hostname, password & JID in xmpp jabbed server for iOS app
I am stuck with creating JID, hostname and password for my xmpp server.
I installed ejabberd server in my Mac but I don't know how to create hostname, password and JID!!!!
0
votes
1
answer
23
views
Why ejabberd MUC room shows only one node in table when cluster has 2 nodes
I have a cluster with 2 instances of ejabberd.
I created few rooms through ejabberdctl with persistence true settings and the mysql is showing below copied data.
mysql> select * from ...
1
vote
1
answer
58
views
How to initialize the ejabberd module inside other module
I Need to connect the AWS elastic search from ejabberd.So, I found the below module to connect after started to integrate as per instruction given in the module i get some errror
Call this function : ...
0
votes
1
answer
52
views
How to access ejabberd server's web admin interface?
I am new to the xmpp server and still learning. I have chosen ejabberd server for my chat application. I have started the server but can't able to access the web admin interface. as you can see the ...
0
votes
2
answers
29
views
location of .erlang.cookie in ejabberd docker is missing
I am running ejabberd using this docker image "https://github.com/processone/docker-ejabberd/tree/master/ecs".
Wondering which is the path for .erlang.cookie inside the container? I was ...
1
vote
0
answers
28
views
ejabberd clustering - load balancing between the nodes
im new to ejabberd setup. we are using ejabberd in our project and we are getting below performance issue, please assist how we address this.
we have 3 ejabberd servers joined in cluster with LB in ...
0
votes
3
answers
52
views
Ejabberd - get user from multi user chat message using Smack XMPP client or enforce nickname
I am running an ejabberd server with a series of locked down multi user chats (members only, registration required, no subject change or PMs permitted etc)
One requirement is to strictly identify ...
0
votes
1
answer
80
views
Message is being sent with "send_message" in ejabberd using postman but not received by client
I have configured and install ejabberd on the ubuntu 22.04 and I have successfully configured and create one user with administrator right and as well as create some users into it.
I am using Version
...
0
votes
1
answer
23
views
Ejabberd bookmarks vs subscribe in a typical group chat
I am working on a group chat application using ejabberd.
Usecase:
What I want to develop is a whatsapp like group chat. User once joined the group chat they must be able to receive the message until ...
0
votes
0
answers
29
views
uploading files to ejabberd server
I want to upload files to ejabberd server using postman. I am getting this error Not found.
I am using this request to upload files using postman
This is my ejabber.yml
hosts:
- localhost
...
0
votes
0
answers
23
views
How to configure ejabberd to use SQL Server with integrated authentication?
I currently am using ejabberd connected to a Microsoft SQL Server database. I am using a SQL Server login with username/password, per the documentation here: https://docs.ejabberd.im/admin/...
0
votes
1
answer
39
views
Delete all users from ejabberd server using a script
I am trying to create a script to delete all users from an ejabberd server (for a given Virtual Host).
I have attempted to use e.g. ejabberdctl registered_users example.com to extract the list of ...
0
votes
0
answers
36
views
Handling web-socket connections with Ejabberd
My usecase is to handle multiple websocket connections without any authorization and connect it to some pub-sub service for the communication. I have read in the ejabberd docs that it supports the ...
0
votes
0
answers
22
views
Ejabberd [warning] Unexpected info $gen_event
Warning message, that I'm trying to get rid off.
[warning] Unexpected info: {'$gen_event',
{xmlstreamstart,<<"stream:stream">>,
[{<<"xmlns:stream">>,
...
0
votes
1
answer
116
views
Is it possible to send voice messages over XMPP?
I'm going to set up any open-source XMPP server such as ejabberd or prosody to use it within a small group of people like a working chat with no federation. XMPP client monocles claims it supports ...
0
votes
1
answer
76
views
How do I set up a new ejabberd server?
I'm trying to figure out how to properly setup an ejabberd project that allows for easy compilation of custom beam files- so far, we've been using an existing project that is cumbersome to manage, and ...
0
votes
0
answers
42
views
Jingle support with smack ejabberd
I know the topic was closed in 2012, 10 years have passed. Still smack jingle has less support or documentation. Their official github link gives 404 not found. link. I am developing a chat ...
0
votes
1
answer
50
views
Upgrade from ejabberd 2.1.9 to latest (22.10)
tried to serach in documentation but I have a lot of doubts...
I'm running ejabberd version 2.1.9 on an old debian server (5.0.8) with more than 500 users...
Now I was asked to update to the latest ...
1
vote
2
answers
95
views
XMPP connection fails using perl client and ejabberd/ecs container
I am using the docker-ejabberd/ecs container as a XMPP server and the Net::XMPP perl client My ejabberd.yml looks like this:
hosts:
- jabber-gw.foobar.me
loglevel: debug
ca_file: /etc/ssl/certs/...
0
votes
0
answers
43
views
ejabberd ACME unexpected content type when it receives certificate
I am running a processone/ejabberd container that i am trying to get to request a certificate via ACME to a smallstep ca container. The request fails with this error:
#{<<"kid&...
1
vote
0
answers
15
views
Ejabberd Server-Consumer Communication Mode
I am a graduate student conducting a comprehensive survey of open-source messaging middleware. I have a couple of questions about the Communication Mode of Server-Consumer traffic in Ejabberd (eCS).
...
0
votes
0
answers
29
views
Ejabberd MQTT Support, Messages Load Balancing and Delivery Guarantees
According to the documentation of ejabberd, it supports both MQTT 3.1.1 and 5 without providing a client library or any more details about what is exactly supported in MQTT. I have a couple of ...
0
votes
1
answer
53
views
How to convert from String to IQ object in Smack
I'm making IQ requests for saving some data. In order to be synced with ejabberd server, I save IQ data to SQLite database in case of failure. So I convert IQ object to String by iqObject.toXML()....
0
votes
1
answer
27
views
ejabberd missing timestamps and duplicate records
I set up an ejabbered server, created 2 users (admin and user1) and using a browser based xmpp client to communicate between them.
I saw that when I request the mam data, I don't have any timestamps ...
0
votes
0
answers
40
views
Why ejabberd clustering worse than single node?
I got the result from single ejabberd node(ip is 217).Then I join another node to the first node(ip is 214, in different PC).
I can get the two node info from http://192.168.2.214:5280/admin/nodes/.
...
1
vote
1
answer
43
views
how to extract data from ejabberd?
I have a complex object. I need to parse some information. Since I am new to the ejabberd, I could not find the proper solution.
{message,<<"92176817070539609217681707064664">>...
0
votes
0
answers
26
views
ejabberd muc performance bad
I used Tsung tool to test Ejabberd in Centos(4CPU, 8GB) , and create 3000 users to join a Muc Room, then every users talk in room every thirty seconds, Centos CPU load more than 3.5, CPU% more than ...
1
vote
1
answer
59
views
Is there a way to pack msg when using ejabberd?
I am testing ejabberd for mucroom. The test client is Tsung.
The test condition:
one ejabberd server(4core 16G Ram)
3000 user join one mucroom
user send a message in 1 minute by random, every user ...
0
votes
0
answers
31
views
ejabberd cluster load test performance bad
I test single ejabberd(4cpu 8GB Cnetos7) by Tsung, 6000 simultaneous users to login then join MUC room to talk every ten seconds, it shows CPU Load over mean 2.5 CPU % over mean 40%; but when I have ...
0
votes
0
answers
144
views
How to properly set up SRV records for ejabberd?
I'm trying to set up SRV records for my ejabberd server.
The domain I want to use to connect is, let's say, example.com and the server is hosted at server.example.com.
I've followed this guide and the ...
0
votes
1
answer
54
views
how can I see which ejabberd messages are, and are not, delivered?
I need to write a server-side app which is able to see which messages have been delivered and which have not.
Messages are sent with a XEP-0184 delivery request element, and the recipients are ...
0
votes
1
answer
53
views
Error in ejabberd custom module to connect with mysql - more details attached
I am trying to connect mysql db from sample mod_hellow_world and for that i followed the below steps..
Added in ejabberd.yml
sql_type: mysql
sql_server: "localhost"
sql_database: "...
0
votes
1
answer
77
views
XMPP Error When Retrieving Roster ('No module is handling this query')
I am using an ejabberd server. ejabberd supports RFC-6121 (see https://www.process-one.net/en/ejabberd/protocols/). And RFC-6121 should allow me to request a roster from the server through sending an ...
0
votes
1
answer
64
views
in ejabberd, is it possible to specifiy a database schema name for a postgresql backend?
My scenario is hosting multiple domains (virtual hosts). The ejabberd doc says ...
"Important note about virtual hosting: if you define several domains in ejabberd.yml (see
section Host Names), ...
0
votes
1
answer
50
views
Ejabberd LDAP SCRAM password authentication
I have setauth_password_format: scram in ejabberd.yml and ldap auth method.
LDAP authentication works only for passwords in plaintext.
I can even set scram hash value as a password in my xmpp client ...
0
votes
0
answers
52
views
How to store the status of the message to the mysql database in ejabberd?
I'm trying to implement one to one chat in a web application. I'm using ejabberd for this.
I'm using MAM for storing messages in ejabberd. I'm using mysql database for MAM.
I could retrieve the MAM ...
0
votes
1
answer
30
views
How to get the messages between two users after a particular time stamp in ejabberd through iq stanzas?
Is there any iq stanza in ejabberd that returns messages between two users after a particular timestamp?
0
votes
1
answer
25
views
multiple jid with same account or rename jid
Hi I am working on requirement where I am using ejabbered and want to implement afunctionality in which
1: I want to rename the jid from 'test@xmpp.com' to 'phonenumebr@xmpp.com'
OR
2: Multiple jids ...