All of the issues I see in search results about s2s connections with gmail.com are years old.
My ejabberd server works fine for local connections, but attempts to connect to gmail.com users aren't as successful.
What have I done wrong?
Using Fedora Core 13, ejabberd-2.1.6-4.fc13.x86_64 installed from the repository.
I've got the settings in ejabberd.cfg set per online instructions:
hosts, listening to port 5269, s2s_use_starttls (though online instructions say to use the value "true", and comments in the file don't list that as a valid value; I've tried true and required, same effect), s2s_certfile, and s2s_default_policy.
I've got the SRV records set up pointing to my A record for the server, and the firewall has the ports open. I can telnet to TCP/5269 from outside and get a response.
I can log in with a local user, and when I try to send a message to my gmail account, this turns up in the logs:
=INFO REPORT==== 2011-09-20 20:27:21 ===
I(<0.642.0>:ejabberd_s2s:369) : New s2s connection started <0.645.0>
=INFO REPORT==== 2011-09-20 20:27:21 ===
I(<0.645.0>:ejabberd_s2s_out:1204) : Trying to open s2s connection: ***.info -> gmail.com with TLS=true
=INFO REPORT==== 2011-09-20 20:27:41 ===
I(<0.645.0>:ejabberd_s2s_out:440) : wait for validation: ***.info -> gmail.com (closed)
...and this network traffic:
T 192.168.1.4:54538 -> 74.125.47.125:5269 [AP]
<?xml version='1.0'?>
##
T 74.125.47.125:5269 -> 192.168.1.4:54538 [AP]
##
T 192.168.1.4:54538 -> 74.125.47.125:5269 [AP]
3953509836
Increasing the debugging level in the logs informs me of:
{xmlelement,"error",
[{"code","404"},{"type","cancel"}],
[{xmlelement,"remote-server-not-found",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-stanzas"}],
[]}]}]}}
The only time i can get s2s
The only time i can get s2s to work correctly with gtalk, is when i have s2s TLS as optional/off, if i put it to required, then gtalk no longer works correctly.
Has anyone got s2s working correctly to gtalk with TLS required?
Cheers,
owndriver
bump
bump