Quantcast
Channel: ejabberd - General Discussion
Viewing all 554 articles
Browse latest View live

Best approach for a one to one chat list

$
0
0

Say i have rosters, is it possible to query at least the timestamp of the last sent message of that roster?

Hw can i know at least when there's a new message per JID?

using mod_offline is not ideal since messages only get retrieve once and im using mobile.

and we cant rely on notifications, since there are failure scenarios.

mod_mam, I have to query everytime, every user/roster (imagine if you have 100 contacts)? that's expensive. I don't know whats the best approach for having a chat list


Error description: Not Found

$
0
0

I'm running debian 8 and I have installed ejabberd using 'apt-get install ejabberd'. I have also enable the module mod_http_upload to enable me to send and receive files. So far I'm able to send text messages perfectly fine, but whenever I try to send pictures/files I get "error description: file not found". Isn't that why we add the put_url option under mod_http_upload? so that it would put the file there. I'm pretty sure it is a simple solution that I'm just not seeing. Here is my mod_http_upload config:

mod_http_upload:
     access: all
     max_size: infinity

read more

Compare Ejabber with Openfire

$
0
0

Hi Friends :

Could you please introduce a valid article about difference between "Openfire" and "Ejabberd"?

Thanks.

Difference between :0 and :1

$
0
0

I see some protocols using both like mam. What's the difference between these versions? Is one inherently better over the other?

Shrinking cache 'roster_item_cache'

$
0
0

Tell me please what should I do to get with this issue?

2017-08-09 11:18:06.141 [error] <0.426.0> Shrinking cache 'roster_item_cache' (current size = 1003, max size = 1000, life time = 3600000, memory = 287280 bytes); you should increase maximum cache size if this message repeats too often
2017-08-09 11:18:19.501 [error] <0.426.0> Shrinking cache 'roster_item_cache' (current size = 1011, max size = 1000, life time = 3600000, memory = 289152 bytes); you should increase maximum cache size if this message repeats too often

read more

Save chat history

$
0
0

Hi,

I need to save chat history each user, but I've not found how to configure it. I've ejabberd 17.03

Could you please help me?

Can't perform operation because localhost does not provide a MUC (XEP-45) service

$
0
0

I'm using ejabberd with smack for a chat application, and I've set up my ejabberd.yml to have mod_muc defined, but I keep getting the following error when trying to get the available hosted rooms:

Can't perform operation because localhost does not provide a MUC (XEP-45) service

I'm pretty sure that I've set it up correctly, but I have no idea why I get this message back. Any ideas?

Here's the mod_muc section of the ejabberd.yml for reference:


mod_muc:
## host: "conference.@HOST@"
access: muc
access_create: muc
access_admin: muc_admin

read more

Not getting unawailable presence from admin user

$
0
0

In my web app,I have an admin user who sends messages to multiple users registered in ejabbered. I need this admin user to be online always.But after two days or three days the admin user loses connection.I am not getting the unavailable presence type in my web app.Any solution for this.I am using argsxmpp .net web app as client .


Ejabberd with haproxy ssl termination

$
0
0

any got successful with ssl termination and haproxy 1.7?

frontend ejabberd
bind *:4000 ssl crt /etc/haproxy/certs/my-domain.com.pem

mode tcp
timeout client  3h

        option tcplog
         option clitcpka

default_backend ejabberd

backend ejabberd
mode tcp

timeout server  60m 

option redispatch
option srvtcpka
option independent-streams

balance leastconn

default-server inter 5s rise 3 fall 3 on-marked-down shutdown-sessions

server ejabberd localhost:5222 check slowstart 120s

read more

ejabber setup question

$
0
0

hello i have setup ejabberd but i have some questions

does this fully support ipv6?
can i disable file transfer completely on the server? i just want text to keep this simple and safe
can i block strangers by default? so users must have added a contact before they can receive a message from him.
also how can i prevent users from registering a certain set of usernames like admin, administrator etc.

please help

Support for Apple APNs

$
0
0

Does anyone know if there is a module or other application that would add support for Apple's APN server? I am working on a client/server application that needs to implement this and I am trying to figure out how to do it.

Thanks!

Versions of Ejabberd requiring GLIBC 2.14

$
0
0

Just a general complaint, there was no warning in the notes that newest releases are requiring GLIBC 2.14..

This excludes myself from all future updates, as Centos 6 is currently maxing GLIBC 2.12.

I don't understand the need to alienate anyone with an older system, must be a millenial thing. Please just go ahead and rewrite jabber in rust... Sorry, just frustrated. This should be in the notes somewhere, I may have missed it.

Ejabberd versions >= 17.08 require GLIBC 2.14 and SSL negotiation fails.

ejabberd 17.09 compile error

$
0
0

Hello,

I have just compiled, or tried to 17.09, failed.. see following

Compiled src/flex_offline.erl
Compiled src/pubsub_node_config.erl
/home/ejabberd/ejabberd-17.09/deps/xmpp/xmpp_codec: function get_mod/2+2689:
Internal consistency check failed - please report this bug.
Instruction: {test,bs_test_tail2,{f,862},[{x,5},0]}
Error: {no_bsm_context,{x,5}}:

Compiling /home/ejabberd/ejabberd-17.09/deps/xmpp/src/xmpp_codec.erl failed:
ERROR: compile failed while processing /home/ejabberd/ejabberd-17.09/deps/xmpp: rebar_abort

read more

LDAP Search by Users on Client Does Not Work

$
0
0

Hello guys.

I'm a beginner in this language. It's been a few weeks since I've been breaking my head in the configuration of my ejabberd server integrated with the active directory. Authentication via LDAP is working perfectly, but searching for users within the active directory is not working. I need some help finding out what the problem is.
This environment is for tests.

ejabberd.log:

read more

ejabberd register from specific ip's

$
0
0

I am trying to setup my ejabberd server to allow user registration from a specific ip adress. So far the only time I can register a user is when I change ip_access value to all. But thats not what I want.

Here is part of my config file:


...
acl:
...
loopback:
ip:
- "127.0.0.0/8"
- "xx.xx.xx.xx"

register_networks:
ip:
- "xx.xx.xx.xx"
...
access:
...
register:
all: allow

trusted_network:
loopback: allow

register_network:
register_networks: allow
...
registration_timeout: infinity
...
modules:

read more


Clustering

$
0
0

Hi

We have a 3 node cluster has no persistent data stored in mnesia. However we have the sessions data stored in Mnesia which are any way RAM copies. While stopping the node is it ok to remove the node from the cluster and re-join the node when it is back up again. Will there be any performance impacts because of this

Thanks,
Srikanth V

Issue with mapping subdomain on Ec2 instance

$
0
0

Hi,

I do have ejabberd setup on my server, with hostname and SRV records in DNS but still unable to get login and register users, other side i am able to get login into admin and manage other services and nodes and virtual hosts.

Please let me know in case of more details required from my side.

Thanks in Advance,
Danny

Register new user on Ejabberd 17.11 or Install Ejabberd Developer

$
0
0

Hi,
I am new to Ejabberd.
can someone help to register new user on Ejabberd 17.11 and how to install Ejabberd developer on ubuntu 16.04 LST.

retrieve chat history

$
0
0

Hello,
how to retrieve chat history from mysql db on ejabberd 17.04 ?

Add Like Reaction to Chat Bubble

$
0
0

In one of my chat app, I wanted to assign "like" reaction to chat bubble which needs to notify other user like below

1) User adds like reaction to chat bubble
2) Android client add new custom tag in XMPP message and send to XMPP server with all relevant details like message id etc
3) Server notified other user with new message with like reaction details
4) Other User Android client displayed like

Now my question:
1) Is it possible achieve this without any XMPP server side coding?
2) How to pass custom tag using smack libs and forward message as is?

read more

Viewing all 554 articles
Browse latest View live


Latest Images