ejabberd - Comments for "Server drops random messages from muc with error 503." https://www.ejabberd.im/node/3113 en I am also getting this 503 https://www.ejabberd.im/node/3113#comment-66397 <p>I am also getting this 503 service unavailable response sometime while sending messages to chat room ,all these messages are dropped by the time .<br /> Currently i am using ejabberd 15.09 , Asmack library as my android client and Xmpp Framework as ios client .</p> <p>below is the config i am having currently:</p> <p>Virtual host : ejabberd.xyz.com<br /> Muc service host : conference.ejabberd.xyz.com</p> <p>mod_muc config is:<br /> [{db_type, odbc}, {access, muc},<br /> {access_create, muc_create},<br /> {access_persistent, muc_create},<br /> {access_admin, muc_admin},<br /> {max_users, 300},<br /> {max_users_admin_threshold, 10},<br /> {max_user_conferences, 20},<br /> {history_size, 1000},<br /> {default_room_options,<br /> [{persistent, true}, {mam, true}]}]</p> <p>Error log:</p> <p>2015-11-07 18:06:27.070 [debug] &lt;0.4634.4&gt;@ejabberd_c2s:send_text:1901 Send XML on stream = &lt;&lt;"2"&gt;&gt;</p> <p> packet {xmlel,&lt;&lt;"message"&gt;&gt;,[{&lt;&lt;"type"&gt;&gt;,&lt;&lt;"error"&gt;&gt;},{&lt;&lt;"from"&gt;&gt;,&lt;&lt;"testmuc@conference.xyz.com"&gt;&gt;},{&lt;&lt;"id"&gt;&gt;,&lt;&lt;"1af4f538-e6b9-42cc-bdea-0e7eba558461-4C1"&gt;&gt;},{&lt;&lt;"xml:lang"&gt;&gt;,&lt;&lt;"en"&gt;&gt;}],[{xmlel,&lt;&lt;"body"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"6"&gt;&gt;}]},{xmlel,&lt;&lt;"error"&gt;&gt;,[{&lt;&lt;"code"&gt;&gt;,&lt;&lt;"503"&gt;&gt;},{&lt;&lt;"type"&gt;&gt;,&lt;&lt;"cancel"&gt;&gt;}],[{xmlel,&lt;&lt;"service-unavailable"&gt;&gt;,[{&lt;&lt;"xmlns"&gt;&gt;,&lt;&lt;"urn:ietf:params:xml:ns:xmpp-stanzas"&gt;&gt;}],[]}]}]}<br /> 2015-11-07 18:06:28.410 [debug] &lt;0.4634.4&gt;@ejabberd_c2s:send_text:1901 Send XML on stream = &lt;&lt;"6"&gt;&gt;</p> <p>is it necessary to change muc service host and muc service host should be different from virtual host ?</p> Wed, 18 Nov 2015 08:58:50 +0000 Nikhil comment 66397 at https://www.ejabberd.im I was also getting the 503 https://www.ejabberd.im/node/3113#comment-54489 <p>I was also getting the 503 message dropping when I was trying ejabberd 2.0.3 (from ubuntu). </p> <p>I'd also set up my ejabberd.cfg file to specify my host and a sub-domain conference.host in the hosts list, e.g. {hosts, ["host", "conference.host"]}. </p> <p>The 503's went away when I removed the conference.host from the list of virtual hosts, and just left the servers main hostname. e.g. {hosts, ["host"]}. Additional the conference rooms started showing up in the service discovery browser.</p> Fri, 24 Jul 2009 06:17:09 +0000 diane comment 54489 at https://www.ejabberd.im 503 means https://www.ejabberd.im/node/3113#comment-53360 <p>503 means 'service-unavailable'... strange.</p> <p>You can try increasing the limits imposed by those options in the C2S listener: {shaper, c2s_shaper}, {max_stanza_size, 65536},</p> <p>There are another limits configurable in mod_muc, described in the ejabberd Guide. But since you don't have those options defined, the mod_muc limits are not applied.</p> <p>I joined a 'test' room in your MUC with two of my accounts (from jabber.org). Both participants could send messages. I tried sending many messages fast, and also with big messages. No error reported, and all messages where shown to both room participants.</p> Tue, 01 Jul 2008 17:13:42 +0000 mfoss comment 53360 at https://www.ejabberd.im