I’'ve problem with my wildfire version 3.0.1, Error log:
2006.07.25 14:39:08 org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Out goingServerSession.java:259) Error trying to connect to remote server: gmail.com(DNS lookup: xmpp-server4.l.google.com:5269)
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
I’'ve no problem with my net connection
jefri@phoenix:~/wildfire$ telnet xmpp-server3.l.google.com 5269
Connected to xmpp-server3.l.google.com.
Escape character is ‘’^]’’.
Java version is 1.5 update 5, OS Debian Sarge 3.1
Thanks for your respons
What DNS are you using? Wildfire has issues with certain domain name servers that can’'t handle class=any requests.
Seems to me that there might be a firewall that blocks access to xmpp-server4.l.google.com:5269. Have you tried:
$ telnet xmpp-server4.l.google.com 5269
The one you tried was mistakenly:
$ telnet xmpp-server3.l.google.com 5269
they’'re using round-robbin for that:
$ dig -t srv xmpp-server.tcp.gmail.com
; <<>> DiG 9.2.2 <<>> -t srv xmpp-server.tcp.gmail.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30654
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_xmpp-server._tcp.gmail.com. IN SRV
;; ANSWER SECTION:
xmpp-server.tcp.gmail.com. 86400 IN SRV 20 0 5269 xmpp-server2.l.google.com.
xmpp-server.tcp.gmail.com. 86400 IN SRV 20 0 5269 xmpp-server3.l.google.com.
xmpp-server.tcp.gmail.com. 86400 IN SRV 20 0 5269 xmpp-server4.l.google.com.
xmpp-server.tcp.gmail.com. 86400 IN SRV 5 0 5269 xmpp-server.l.google.com.
xmpp-server.tcp.gmail.com. 86400 IN SRV 20 0 5269 xmpp-server1.l.google.com.
True, and maybe you’‘re right about the class=any issue. But the given log shows (DNS lookup: xmpp-server4.l.google.com:5269). IMO, Wildfire would have had the IP for that host, or is it not? I’‘m just wondering where could be the point of failure. BTW, I’'m not an expert on DNS.
i think i’'ve found two problems,
First, i try to sent message to my buddy ***@phoenix.ui.ac.id and i got error message like this
2006.07.26 14:19:18 org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Out goingServerSession.java:259) Error trying to connect to remote server: id(DNS lookup: id:5269)
After that, i try to sent another message from my account @gmail.com and i got error mesage like this
2006.07.26 14:15:02 org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:1 04) Connection closed before session established
Did you ever get this solved jefri? I am seeing the same thing on our server.
with google in particular and possibly other publicly accessible servers, it’‘s important that the remote server be able to contact your server with your server’'s xmpp domain setting.
so the question is not so much whether your server can contact google’'s but vice versa. you can modify your xmpp domain name in the jiveProperty table.
i have s2s working with google talk contacts with the following setup:
wildfire server ip address 192.168.1.100
wildfire xmpp.domain = jabber.mydomain.com
added following line to /etc/hosts
added DNS entries for jabber.mydomain.com to point at my firewall address (most ISPs have some kind of web interface to do this nowadays)
domain gmail.com whitelisted from wildfire console
jabber.mydomain.com resolves from the internet to my firewall address
ports 5222, 5223, 5269 open and forwarded to 192.168.1.100