Hi,
I don't have even the first clue how to make sense of this. And a Google search was so singularly unproductive I tried Bing with no better luck.
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:
XMPP Message Error
Message delivery to forever34 failed: (Code 404)
I look at the log and see:
=INFO REPORT==== 2010-05-14 21:37:58 ===
I(<0.1148.0>:ejabberd_s2s:362) : New s2s connection started <0.1305.0>
=INFO REPORT==== 2010-05-14 21:37:59 ===
I(<0.1305.0>:ejabberd_s2s_out:1007) : Trying to open s2s connection: [my domain] -> forever34
=INFO REPORT==== 2010-05-14 21:38:00 ===
I(<0.1305.0>:ejabberd_s2s_out:221) : s2s connection: [my domain] -> forever34 (remote server not found)
=INFO REPORT==== 2010-05-14 21:38:17 ===
I(<0.1290.0>:ejabberd_s2s_out:384) : wait_for_validation: [my domain] -> proxy.eu.jabber.org (connect timeout)
=INFO REPORT==== 2010-05-14 21:43:42 ===
I(<0.1289.0>:ejabberd_c2s:1293) : ({socket_state,tls,{tlssock,#Port<0.1007>,#Port<0.1009>},<0.1288.0>}) Close session for forever34@[my domain]/27057727451273897932232849
forever34 is not a server. It is the JID of the other user. I tried to instant message "forever34@[my domain]". And in the final line, it seems to recognize this because it correctly cites JID@domain.
What does proxy.eu.jabber.org have to do with this and why is ejabberd trying to go there?
n4rky wrote: What does
What does proxy.eu.jabber.org have to do with this and why is ejabberd trying to go there?
=INFO REPORT==== 2010-05-14 21:38:17 ===
I(<0.1290.0>:ejabberd_s2s_out:384) : wait_for_validation: [my domain] -> proxy.eu.jabber.org (connect timeout)
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"
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:
=INFO REPORT==== 2010-05-14 21:37:58 ===
I(<0.1148.0>:ejabberd_s2s:362) : New s2s connection started <0.1305.0>
=INFO REPORT==== 2010-05-14 21:37:59 ===
I(<0.1305.0>:ejabberd_s2s_out:1007) : Trying to open s2s connection: [my domain] -> forever34
=INFO REPORT==== 2010-05-14 21:38:00 ===
I(<0.1305.0>:ejabberd_s2s_out:221) : s2s connection: [my domain] -> forever34 (remote server not found)
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]".
forever34 is not a server.
Correct, that's the username.
It is the JID of the other user.
Wrong, the JID is of the form "username@servername", and optionally it can have a resource, like "username@servernname/resource".
I tried to instant message "forever34@[my domain]".
That's the good way to do it. That message will be sent correctly.
And in the final line, it seems to recognize this because it correctly cites JID@domain.
=INFO REPORT==== 2010-05-14 21:43:42 ===
I(<0.1289.0>:ejabberd_c2s:1293) : ({socket_state,tls,{tlssock,#Port<0.1007>,#Port<0.1009>},<0.1288.0>}) Close session for forever34@[my domain]/27057727451273897932232849
That line indicates that the client was disconnected. Here you can see the full JID, including the username, servername and resource.