ejabberd - Comments for "Installation cant receive from external" https://www.ejabberd.im/forum/25570/installation-cant-receive-external en got an old version on ubuntu https://www.ejabberd.im/forum/25570/installation-cant-receive-external#comment-67035 <p>got an old version on ubuntu installed it know manually but cant send or receive messages from another server the log say the following:</p> <div class="codeblock"><code>2016-09-09 00:01:22.092 [debug] &lt;0.485.0&gt;@ejabberd_receiver:process_data:284 Received XML on stream = &lt;&lt;&quot;&lt;message from=\&quot;alex@myserver.com/phone\&quot; id=\&quot;6820c5f3-44ac-4bd8-b693-54567c242ae9\&quot; type=\&quot;chat\&quot; to=\&quot;l91@jabber.at\&quot;&gt;&lt;body&gt;...&lt;/body&gt;&lt;markable xmlns=\&quot;urn:xmpp:chat-markers:0\&quot;/&gt;&lt;/message&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:22.092 [debug] &lt;0.486.0&gt;@ejabberd_router:do_route:351 route<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from {jid,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to {jid,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; packet {xmlel,&lt;&lt;&quot;message&quot;&gt;&gt;,[{&lt;&lt;&quot;xml:lang&quot;&gt;&gt;,&lt;&lt;&quot;en&quot;&gt;&gt;},{&lt;&lt;&quot;from&quot;&gt;&gt;,&lt;&lt;&quot;alex@myserver.com/phone&quot;&gt;&gt;},{&lt;&lt;&quot;id&quot;&gt;&gt;,&lt;&lt;&quot;6820c5f3-44ac-4bd8-b693-54567c242ae9&quot;&gt;&gt;},{&lt;&lt;&quot;type&quot;&gt;&gt;,&lt;&lt;&quot;chat&quot;&gt;&gt;},{&lt;&lt;&quot;to&quot;&gt;&gt;,&lt;&lt;&quot;l91@jabber.at&quot;&gt;&gt;}],[{xmlel,&lt;&lt;&quot;body&quot;&gt;&gt;,[],[{xmlcdata,&lt;&lt;&quot;...&quot;&gt;&gt;}]},{xmlel,&lt;&lt;&quot;markable&quot;&gt;&gt;,[{&lt;&lt;&quot;xmlns&quot;&gt;&gt;,&lt;&lt;&quot;urn:xmpp:chat-markers:0&quot;&gt;&gt;}],[]}]}<br />2016-09-09 00:01:22.093 [debug] &lt;0.486.0&gt;@ejabberd_s2s:do_route:293 s2s manager<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from {jid,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to {jid,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; packet {xmlel,&lt;&lt;&quot;message&quot;&gt;&gt;,[{&lt;&lt;&quot;xml:lang&quot;&gt;&gt;,&lt;&lt;&quot;en&quot;&gt;&gt;},{&lt;&lt;&quot;from&quot;&gt;&gt;,&lt;&lt;...&gt;&gt;},{&lt;&lt;...&gt;&gt;,...},{...}|...],[{xmlel,&lt;&lt;...&gt;&gt;,...},{xmlel,...}]}<br />2016-09-09 00:01:22.093 [debug] &lt;0.486.0&gt;@ejabberd_s2s:find_connection:334 Finding connection for {&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;}<br />2016-09-09 00:01:22.093 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:init:139 started: {&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,new}<br />2016-09-09 00:01:22.093 [info] &lt;0.486.0&gt;@ejabberd_s2s:new_connection:408 New s2s connection started &lt;0.496.0&gt;<br />2016-09-09 00:01:22.093 [debug] &lt;0.486.0&gt;@ejabberd_s2s:choose_pid:382 Using ejabberd_s2s_out &lt;0.496.0&gt;<br />2016-09-09 00:01:22.094 [debug] &lt;0.486.0&gt;@ejabberd_s2s:do_route:298 sending to process &lt;0.496.0&gt;<br />2016-09-09 00:01:22.094 [info] &lt;0.496.0&gt;@ejabberd_s2s_out:log_s2s_out:1253 Trying to open s2s connection: myserver.com -&gt; jabber.at with TLS=false<br />2016-09-09 00:01:22.094 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:open_socket:214 open_socket: {&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,true,false}<br />2016-09-09 00:01:22.094 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:get_addr_port:1099 srv lookup of &#039;jabber.at&#039;: [{300,0,5269,&quot;xmpp.jabber.at&quot;}]<br />2016-09-09 00:01:22.094 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:get_addr_port:1119 srv lookup of &#039;jabber.at&#039;: [{&lt;&lt;&quot;xmpp.jabber.at&quot;&gt;&gt;,5269}]<br />2016-09-09 00:01:22.102 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:get_addrs:1184 inet of xmpp.jabber.at resolved to: [{128,130,95,40}]<br />2016-09-09 00:01:22.102 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:open_socket2:293 s2s_out: connecting to {128,130,95,40}:5269<br />2016-09-09 00:01:22.166 [debug] &lt;0.497.0&gt;@ejabberd_receiver:process_data:284 Received XML on stream = &lt;&lt;&quot;&lt;stream:error&gt;&lt;invalid-namespace xmlns=&#039;urn:ietf:params:xml:ns:xmpp-streams&#039;&gt;&lt;/invalid-namespace&gt;&lt;/stream:error&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:22.166 [debug] &lt;0.496.0&gt;@ejabberd_socket:send:184 Error in gen_tcp:send: {error,closed}<br />2016-09-09 00:01:22.166 [debug] &lt;0.496.0&gt;@ejabberd_s2s_out:terminate:961 terminated: {normal,wait_for_stream}<br />2016-09-09 00:01:22.167 [debug] &lt;0.496.0&gt;@ejabberd_router:do_route:351 route<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from {jid,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to {jid,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; packet {xmlel,&lt;&lt;&quot;message&quot;&gt;&gt;,[{&lt;&lt;&quot;type&quot;&gt;&gt;,&lt;&lt;&quot;error&quot;&gt;&gt;},{&lt;&lt;&quot;to&quot;&gt;&gt;,&lt;&lt;&quot;alex@myserver.com/phone&quot;&gt;&gt;},{&lt;&lt;&quot;from&quot;&gt;&gt;,&lt;&lt;&quot;l91@jabber.at&quot;&gt;&gt;},{&lt;&lt;&quot;xml:lang&quot;&gt;&gt;,&lt;&lt;&quot;en&quot;&gt;&gt;},{&lt;&lt;&quot;id&quot;&gt;&gt;,&lt;&lt;&quot;6820c5f3-44ac-4bd8-b693-54567c242ae9&quot;&gt;&gt;}],[{xmlel,&lt;&lt;&quot;body&quot;&gt;&gt;,[],[{xmlcdata,&lt;&lt;&quot;...&quot;&gt;&gt;}]},{xmlel,&lt;&lt;&quot;markable&quot;&gt;&gt;,[{&lt;&lt;&quot;xmlns&quot;&gt;&gt;,&lt;&lt;&quot;urn:xmpp:chat-markers:0&quot;&gt;&gt;}],[]},{xmlel,&lt;&lt;&quot;error&quot;&gt;&gt;,[{&lt;&lt;&quot;code&quot;&gt;&gt;,&lt;&lt;&quot;404&quot;&gt;&gt;},{&lt;&lt;&quot;type&quot;&gt;&gt;,&lt;&lt;&quot;cancel&quot;&gt;&gt;}],[{xmlel,&lt;&lt;&quot;remote-server-not-found&quot;&gt;&gt;,[{&lt;&lt;&quot;xmlns&quot;&gt;&gt;,&lt;&lt;&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;&gt;&gt;}],[]}]}]}<br />2016-09-09 00:01:22.167 [debug] &lt;0.496.0&gt;@ejabberd_local:do_route:265 local route<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from {jid,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to {jid,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; packet {xmlel,&lt;&lt;&quot;message&quot;&gt;&gt;,[{&lt;&lt;&quot;type&quot;&gt;&gt;,&lt;&lt;&quot;erro&quot;...&gt;&gt;},{&lt;&lt;&quot;to&quot;&gt;&gt;,&lt;&lt;...&gt;&gt;},{&lt;&lt;...&gt;&gt;,...},{...}|...],[{xmlel,&lt;&lt;...&gt;&gt;,...},{xmlel,...},{...}]}<br />2016-09-09 00:01:22.167 [debug] &lt;0.496.0&gt;@ejabberd_sm:do_route:459 session manager<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from {jid,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;,&lt;&lt;&quot;l91&quot;&gt;&gt;,&lt;&lt;&quot;jabber.at&quot;&gt;&gt;,&lt;&lt;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to {jid,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;,&lt;&lt;&quot;alex&quot;&gt;&gt;,&lt;&lt;&quot;myserver.com&quot;&gt;&gt;,&lt;&lt;&quot;phone&quot;&gt;&gt;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; packet {xmlel,&lt;&lt;&quot;message&quot;&gt;&gt;,[{&lt;&lt;&quot;type&quot;&gt;&gt;,&lt;&lt;&quot;erro&quot;...&gt;&gt;},{&lt;&lt;&quot;to&quot;&gt;&gt;,&lt;&lt;...&gt;&gt;},{&lt;&lt;...&gt;&gt;,...},{...}|...],[{xmlel,&lt;&lt;...&gt;&gt;,...},{xmlel,...},{...}]}<br />2016-09-09 00:01:22.168 [debug] &lt;0.496.0&gt;@ejabberd_sm:do_route:584 sending to process &lt;0.486.0&gt;<br />2016-09-09 00:01:22.168 [debug] &lt;0.486.0&gt;@ejabberd_c2s:send_text:1843 Send XML on stream = &lt;&lt;&quot;&lt;message from=&#039;l91@jabber.at&#039; to=&#039;alex@myserver.com/phone&#039; type=&#039;error&#039; xml:lang=&#039;en&#039; id=&#039;6820c5f3-44ac-4bd8-b693-54567c242ae9&#039;&gt;&lt;body&gt;...&lt;/body&gt;&lt;markable xmlns=&#039;urn:xmpp:chat-markers:0&#039;/&gt;&lt;error code=&#039;404&#039; type=&#039;cancel&#039;&gt;&lt;remote-server-not-found xmlns=&#039;urn:ietf:params:xml:ns:xmpp-stanzas&#039;/&gt;&lt;/error&gt;&lt;/message&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:22.168 [debug] &lt;0.486.0&gt;@ejabberd_c2s:send_text:1843 Send XML on stream = &lt;&lt;&quot;&lt;r xmlns=&#039;urn:xmpp:sm:3&#039;/&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:23.552 [debug] &lt;0.485.0&gt;@ejabberd_receiver:process_data:284 Received XML on stream = &lt;&lt;&quot;&lt;r xmlns=\&quot;urn:xmpp:sm:3\&quot;/&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:23.552 [debug] &lt;0.486.0&gt;@ejabberd_c2s:send_text:1843 Send XML on stream = &lt;&lt;&quot;&lt;a xmlns=&#039;urn:xmpp:sm:3&#039; h=&#039;15&#039;/&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:23.751 [debug] &lt;0.485.0&gt;@ejabberd_receiver:process_data:284 Received XML on stream = &lt;&lt;&quot;&lt;a h=\&quot;17\&quot; xmlns=\&quot;urn:xmpp:sm:3\&quot;/&gt;&quot;&gt;&gt;<br />2016-09-09 00:01:23.751 [debug] &lt;0.486.0&gt;@ejabberd_c2s:check_h_attribute:2806 alex@myserver.com/phone acknowledged 17 of 17 stanzas</code></div> Thu, 08 Sep 2016 22:02:35 +0000 Lexo91 comment 67035 at https://www.ejabberd.im