ejabberd - Comments for "pidgin says &amp;quot;XMPP Message Error Message delivery to forever34 failed: (Code 404)&amp;quot; trying to connect to user on same server" https://www.ejabberd.im/node/4056 en n4rky wrote: What does https://www.ejabberd.im/node/4056#comment-55766 <div class="quote-msg"> <div class="quote-author"><em>n4rky</em> wrote:</div> <p>What does proxy.eu.jabber.org have to do with this and why is ejabberd trying to go there?</p> <p>=INFO REPORT==== 2010-05-14 21:38:17 ===<br /> I(&lt;0.1290.0&gt;:ejabberd_s2s_out:384) : wait_for_validation: [my domain] -&gt; proxy.eu.jabber.org (connect timeout) </p></div> <p>It is your client who requests ejabberd to connect to that proxy. Go to Pidgin, edit your account, and somewhere you will find "File transfer proxy: proxy.eu.jabber.org"</p> <div class="quote-msg"> <div class="quote-author"><em>n4rky</em> wrote:</div> <p>I have set up two users on my ejabberd server. I fire up pidgin on two computers, one logged into my account, the other logged into her account. I try to send a message and get this:</p> <p>=INFO REPORT==== 2010-05-14 21:37:58 ===<br /> I(&lt;0.1148.0&gt;:ejabberd_s2s:362) : New s2s connection started &lt;0.1305.0&gt;</p> <p>=INFO REPORT==== 2010-05-14 21:37:59 ===<br /> I(&lt;0.1305.0&gt;:ejabberd_s2s_out:1007) : Trying to open s2s connection: [my domain] -&gt; forever34</p> <p>=INFO REPORT==== 2010-05-14 21:38:00 ===<br /> I(&lt;0.1305.0&gt;:ejabberd_s2s_out:221) : s2s connection: [my domain] -&gt; forever34 (remote server not found) </p></div> <p>When you say "I try to send a message", you probably send the message to JID "forever34". That is a bad idea. Send the message to "forever34@[my domain]".</p> <div class="quote-msg"> <div class="quote-author"><em>n4rky</em> wrote:</div> <p>forever34 is not a server. </p></div> <p>Correct, that's the username.</p> <div class="quote-msg"> <div class="quote-author"><em>n4rky</em> wrote:</div> <p>It is the JID of the other user. </p></div> <p>Wrong, the JID is of the form "username@servername", and optionally it can have a resource, like "username@servernname/resource".</p> <div class="quote-msg"> <div class="quote-author"><em>n4rky</em> wrote:</div> <p>I tried to instant message "forever34@[my domain]". </p></div> <p>That's the good way to do it. That message will be sent correctly.</p> <div class="quote-msg"> <div class="quote-author"><em>n4rky</em> wrote:</div> <p>And in the final line, it seems to recognize this because it correctly cites JID@domain.</p> <p>=INFO REPORT==== 2010-05-14 21:43:42 ===<br /> I(&lt;0.1289.0&gt;:ejabberd_c2s:1293) : ({socket_state,tls,{tlssock,#Port&lt;0.1007&gt;,#Port&lt;0.1009&gt;},&lt;0.1288.0&gt;}) Close session for forever34@[my domain]/27057727451273897932232849 </p></div> <p>That line indicates that the client was disconnected. Here you can see the full JID, including the username, servername and resource.</p> Mon, 17 May 2010 10:29:34 +0000 mfoss comment 55766 at https://www.ejabberd.im