ejabberd - ejabberd Administration https://www.ejabberd.im/taxonomy/term/6/0 en Configuration for two domains on one host https://www.ejabberd.im/forum/29893/configuration-two-domains-one-host <p>Hello. Recently i purchased one more domain, i want to save XMPP-service for main domain and add it to a new one. I didn't find any examples of ejabberd.yml for two domains on one host. I tried to make one by myself according to instructions - it works, but works wrong.<br /> I tried to make working MUC and http_upload on both domains - but i did not succeed.<br /> Please, help me to fix my configuration or show me correct config for two domains.<br /> Thanks in advance!</p> <p>There is my current ejabberd.yml:<br /> <code>loglevel: 4<br /> log_rotate_size: 0<br /> log_rotate_date: ""<br /> log_rate_limit: 100</code></p> <p>hosts:</p> <p><a href="https://www.ejabberd.im/forum/29893/configuration-two-domains-one-host" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29893/configuration-two-domains-one-host#comments ejabberd Administration https://www.ejabberd.im/crss/node/29893 Wed, 28 Mar 2018 06:28:44 +0000 federk 29893 at https://www.ejabberd.im Error 405 while trying to login using user name and password https://www.ejabberd.im/forum/29892/error-405-while-trying-login-using-user-name-and-password <p>I am not able to login with user name and password while trying to create MUC and getting below error:</p> <div class="codeblock"><code>&lt;iq type=&#039;error&#039; id=&#039;MN3K7-3&#039;&gt;<br /> &lt;bind xmlns=&#039;urn:ietf:params:xml:ns:xmpp-bind&#039;&gt;<br />&nbsp;&nbsp; &lt;resource&gt;Android&lt;/resource&gt;<br />&nbsp; &lt;/bind&gt;<br />&nbsp; &lt;error code=&#039;405&#039; type=&#039;cancel&#039;&gt;<br />&nbsp;&nbsp; &lt;not-allowed xmlns=&#039;urn:ietf:params:xml:ns:xmpp-stanzas&#039;/&gt;<br />&nbsp;&nbsp; &lt;text xml:lang=&#039;en&#039; xmlns=&#039;urn:ietf:params:xml:ns:xmpp-stanzas&#039;&gt;<br />&nbsp; Access denied by service policy&lt;/text&gt;<br /> &lt;/error&gt;<br />&lt;/iq&gt;</code></div> <p>below is my yml file:</p> <pre> ### ###' ejabberd configuration file ### ###</pre><p><a href="https://www.ejabberd.im/forum/29892/error-405-while-trying-login-using-user-name-and-password" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29892/error-405-while-trying-login-using-user-name-and-password#comments ejabberd Administration https://www.ejabberd.im/crss/node/29892 Wed, 28 Mar 2018 02:29:36 +0000 aks_1610 29892 at https://www.ejabberd.im BACKLOG https://www.ejabberd.im/forum/29890/backlog <p>HI,Is removed backlog option in ejabberd 18.01?<br /> before(17.01) configure in ejabberd_c2s, but in ejabberd 18.01 I can't configure it:</p> <div class="codeblock"><code>listen:<br />&nbsp; -<br />&nbsp;&nbsp;&nbsp; port: 5222<br />&nbsp;&nbsp;&nbsp; module: ejabberd_c2s<br />&nbsp;&nbsp;&nbsp; certfile: &quot;/opt/ejabberd-17.01/conf/server.pem&quot;<br />&nbsp;&nbsp;&nbsp; starttls: true<br />&nbsp;&nbsp;&nbsp; zlib: true<br />&nbsp;&nbsp;&nbsp; backlog: 1000</code></div> <p>ejabberd 18.01 error:<br /> <code></code></p> <p><a href="https://www.ejabberd.im/forum/29890/backlog" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29890/backlog#comments ejabberd Administration https://www.ejabberd.im/crss/node/29890 Tue, 27 Mar 2018 12:31:01 +0000 nets 29890 at https://www.ejabberd.im How to configure HTTPS in ejabberd 17.09 https://www.ejabberd.im/forum/29889/how-configure-https-ejabberd-1709 <p>How to configure HTTPS in ejabberd 17.09 ?</p> <p>Please provide the documentation.</p> https://www.ejabberd.im/forum/29889/how-configure-https-ejabberd-1709#comments ejabberd Administration https://www.ejabberd.im/crss/node/29889 Tue, 27 Mar 2018 04:30:52 +0000 sunstar20 29889 at https://www.ejabberd.im native ACME documentation https://www.ejabberd.im/forum/29882/native-acme-documentation <p>I could not find documentation for the new build in ACME support.<br /> * Could somebody point me to documentation?<br /> * How does it work exactly?</p> https://www.ejabberd.im/forum/29882/native-acme-documentation#comments ejabberd Administration https://www.ejabberd.im/crss/node/29882 Wed, 21 Mar 2018 11:12:29 +0000 gnauck 29882 at https://www.ejabberd.im ejabberd 14.07 error mor_register https://www.ejabberd.im/forum/29818/ejabberd-1407-error-morregister <h1>Installed on Debian 8 Ejabberd 14.07 from the default repository. <p>The command, sudo apt-get install ejabberd</p></h1> <h2>When registering a new account through Pidjin or another program.<br /> Writes error 403.</h2> <p>Here are the server logs:<br /> <code><br /> Send XML on stream = &lt;&lt;"Choose a username and password to register with this server"&gt;&gt;</code></p> <p><a href="https://www.ejabberd.im/forum/29818/ejabberd-1407-error-morregister" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29818/ejabberd-1407-error-morregister#comments ejabberd Administration https://www.ejabberd.im/crss/node/29818 Wed, 14 Mar 2018 18:47:45 +0000 Bender 29818 at https://www.ejabberd.im Renaming users https://www.ejabberd.im/forum/29816/renaming-users <p>I have a small internal Ejabberd installation runnning on Debian 9 (so it's version 16.09-4 from the repositry) with roughly 20 users. I'm using the internal database. The users all have names like a.smith@myxmpp.</p> <p>Now some people are going to marry and change their last names. So a.smith@myxmpp has to become a.miller@myxmpp.</p> <p>What I'd like to do is changing the respective user names and all the buddy lists they are included in. There seems to be no way to edit this directly.</p> <p>But when I look at the documentation and some other topics I think that this could work:</p> <p><a href="https://www.ejabberd.im/forum/29816/renaming-users" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29816/renaming-users#comments ejabberd Administration https://www.ejabberd.im/crss/node/29816 Tue, 13 Mar 2018 11:58:20 +0000 SteffenK 29816 at https://www.ejabberd.im How to migrate one jid's roaster list to another https://www.ejabberd.im/forum/29810/how-migrate-one-jids-roaster-list-another <p>Hi All, </p> <p>How to migrate one jids roster list and groups(with same affiliations) to another jid? Is there easy way or command to do this? </p> <p>Thanks for you help in advance.</p> https://www.ejabberd.im/forum/29810/how-migrate-one-jids-roaster-list-another#comments ejabberd Administration https://www.ejabberd.im/crss/node/29810 Fri, 02 Mar 2018 12:40:06 +0000 RameshJangama 29810 at https://www.ejabberd.im Max stanza size on ejabberd_http https://www.ejabberd.im/forum/29808/max-stanza-size-ejabberdhttp <p>Hi,<br /> We've recently had issues when some clients started sending stanzas larger than the maximum allowed in our mod_offline db schema. Is there any way to enforce something like max_stanza_size on a ejabberd_http (_ws) connection?</p> https://www.ejabberd.im/forum/29808/max-stanza-size-ejabberdhttp#comments ejabberd Administration https://www.ejabberd.im/crss/node/29808 Mon, 26 Feb 2018 21:44:52 +0000 hhravn 29808 at https://www.ejabberd.im Problem with ldap_dn_filter https://www.ejabberd.im/forum/29807/problem-ldapdnfilter <p>I need to limit the access to my ejabberd to a series of users defined in a ldap group, let's call it EDY. This LDAP doesn't have memberOf entries for the users. Groups have an uniqueMember entry for each user, holding the DN of each user. This is my config:</p> <p>auth_method: [ldap, internal]</p> <p>ldap_servers:<br /> - "annuaire.preprod.inetpsa.com"<br /> ldap_port: 389<br /> ldap_rootdn: "cn=XXXXXXXX,ou=XXXXXXXX,o=XXXXXXXX"<br /> ldap_password: "XXXXXXXX"<br /> ldap_base: "o=XXXXXXXX"<br /> ldap_dn_filter:<br /> - "(&amp;(cn=EDY)(uniqueMember=%D)"</p> <p><a href="https://www.ejabberd.im/forum/29807/problem-ldapdnfilter" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29807/problem-ldapdnfilter#comments ejabberd Administration https://www.ejabberd.im/crss/node/29807 Fri, 23 Feb 2018 17:21:53 +0000 madmalkav 29807 at https://www.ejabberd.im Problem creating Persistent MUC with ReST API https://www.ejabberd.im/forum/29804/problem-creating-persistent-muc-rest-api <p>Version: 17.08</p> <p>OS: Windows 7 Professional</p> <p>I am trying to create a persistent room using ReST API create_room_with_opts with the following -</p> <div class="codeblock"><code>{<br />&nbsp; &quot;name&quot;: &quot;testapi&quot;,<br />&nbsp; &quot;service&quot;: &quot;conference.eteam&quot;,<br />&nbsp; &quot;host&quot; : &quot;localhost&quot;,<br />&nbsp; &quot;options&quot;: [<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;name&quot;: &quot;persistent&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;value&quot;: &quot;true&quot;<br />&nbsp;&nbsp;&nbsp; },<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;name&quot;: &quot;mam&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;value&quot;: &quot;true&quot;<br />&nbsp;&nbsp;&nbsp; },<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;name&quot;: &quot;title&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;value&quot;: &quot;test&quot;<br />&nbsp;&nbsp;&nbsp; },<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;name&quot;: &quot;description&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;value&quot;: &quot;Testing for Creating Persistent MUC from ReST API&quot;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp; ]<br />}</code></div> <p></p><p><a href="https://www.ejabberd.im/forum/29804/problem-creating-persistent-muc-rest-api" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29804/problem-creating-persistent-muc-rest-api#comments ejabberd Administration https://www.ejabberd.im/crss/node/29804 Wed, 21 Feb 2018 07:40:57 +0000 nandini 29804 at https://www.ejabberd.im ejabberd - Too many open files https://www.ejabberd.im/forum/29803/ejabberd-too-many-open-files <p>We have installed ejabberd version 17.04 on a Debian 4.9.65 machine<br /> The number of open file descriptors in ejabberd process is steadily increasing till it reaches the limit (64k as of now). lsof, outputs numerous entries which has type as sock. On further investigation we found that, each of these fd had an established TCP6 connection, which then becomes sock at a later point of time. Note that, not all TCP connection exhibits this behavior</p> <p> beam.smp 8633 ejabberd 1168u IPv6 64599259 0t0 TCP xxx.xx.x.x:xmpp-client-&gt;xxx.xxx.220.xxx:39514 (ESTABLISHED)</p> <p>became</p> <p><a href="https://www.ejabberd.im/forum/29803/ejabberd-too-many-open-files" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29803/ejabberd-too-many-open-files#comments ejabberd Administration https://www.ejabberd.im/crss/node/29803 Tue, 20 Feb 2018 08:31:40 +0000 sreejithac 29803 at https://www.ejabberd.im ejabberd 18.01 mod_http_upload already_started https://www.ejabberd.im/forum/29798/ejabberd-1801-modhttpupload-alreadystarted <p>Hi there,</p> <p>running Debian, I recently went from 16.09 to 18.01 via backports (I've realized since then that I probably shouldn't have done this since, to quote the update page: "Only upgrade from version N to N+1 is documented and supported"). Well, the update went well except for mod_http_upload failing to start up now with this error message:</p> <p><code><br /> 2018-02-13 00:51:55.903 [critical] &lt;0.1517.0&gt;@gen_mod:start_module:212 Problem starting the module mod_http_upload for host x3mpp.net<br /> options: [{docroot,&lt;&lt;"/var/run/ejabberd/http-upload"&gt;&gt;},</code></p> <p><a href="https://www.ejabberd.im/forum/29798/ejabberd-1801-modhttpupload-alreadystarted" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29798/ejabberd-1801-modhttpupload-alreadystarted#comments ejabberd Administration https://www.ejabberd.im/crss/node/29798 Wed, 14 Feb 2018 01:50:35 +0000 zb 29798 at https://www.ejabberd.im Duplicate Messages in Chatrooms? https://www.ejabberd.im/forum/29794/duplicate-messages-chatrooms <p>Hey there,</p> <p>Several of our users are complaining of Ejabberd duplicate messages when in a chatroom. I've been sent a screenshot:</p> <p><noindex><a href="https://imgur.com/a/warOw" title="https://imgur.com/a/warOw" rel="nofollow" >https://imgur.com/a/warOw</a></noindex></p> <p>I'm not quite convinced it's an ejabberd issue -- it may be a client problem, but people report seeing the duplicates using either Psi or messages.app.</p> <p>I'm also finding this bug logged with Apple: <noindex><a href="https://github.com/lionheart/openradar-mirror/issues/17037" title="https://github.com/lionheart/openradar-mirror/issues/17037" rel="nofollow" >https://github.com/lionheart/openradar-mirror/issues/17037</a></noindex></p> <p>My questions:</p> <p>1) Is anyone else experiencing this?</p> <p><a href="https://www.ejabberd.im/forum/29794/duplicate-messages-chatrooms" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29794/duplicate-messages-chatrooms#comments ejabberd Administration https://www.ejabberd.im/crss/node/29794 Wed, 07 Feb 2018 05:19:11 +0000 gushi 29794 at https://www.ejabberd.im Mobile Number as JID https://www.ejabberd.im/forum/29786/mobile-number-jid <p>Hi,<br /> I am exploring option to have mobile number as jid in my chat app similar to whatsapp. But I am bit baffling how to handle below things</p> <p>1) what could be password to login? if mobile client uses randomly generated password on first registration then it will be difficult to extract same password if he switch mobile.</p> <p>2) If user switch number then how to retain old roaster and messages with new jid?</p> <p>Can you someone through light on this so that I will explore more. thanks a lot for you help in advance.</p> https://www.ejabberd.im/forum/29786/mobile-number-jid#comments ejabberd Administration https://www.ejabberd.im/crss/node/29786 Mon, 05 Feb 2018 15:05:43 +0000 RameshJangama 29786 at https://www.ejabberd.im