ejabberd - Comments for "s2s connection issue" https://www.ejabberd.im/node/2809 en No s2s connection found in https://www.ejabberd.im/node/2809#comment-67394 <p>No s2s connection found in ejabberd android for usersearchManager return 503 in android App.</p> <p>I'm recent to ejabberd android. I can send and receive the messages successfully but I m not able to search user details using UserSearchManager in android it returns 503 error always.my code is below:</p> <p>//mConnection in XMPP Connection Object<br /> UserSearchManager usm = new UserSearchManager(mConnection);<br /> List services = usm.getSearchServices();<br /> //usm.gersearchservice() size always 0<br /> //if (services == null || services.size() &lt; 1)<br /> for (String service: services) {<br /> Log.e("SERVICE", service);<br /> }<br /> Form searchForm = usm.getSearchForm("service."+mConnection.getServiceName());<br /> Form answerForm = searchForm.createAnswerForm();<br /> answerForm.setAnswer("Username", true);<br /> answerForm.setAnswer("search", "ashok25");<br /> ReportedData data = null;<br /> data = usm.getSearchResults(answerForm, mConnection.getServiceName());<br /> Iterator it = (Iterator) data.getRows();</p> <p>Result:<br /> D/SMACK: SENT (0):<br /> D/SMACK: RECV (0): No s2s connection found</p> Sat, 01 Apr 2017 07:42:33 +0000 ashok comment 67394 at https://www.ejabberd.im Follow-up https://www.ejabberd.im/node/2809#comment-51697 <p>Just to follow-up, I checked with the firewall admins and sure enough, outbound 5269 was being blocked afterall. It's opened now and handshaking is working. Thanks again for your help. Sometimes you just get so bogged down in the technical things, you overlook the obvious :)</p> <p>Cheers!</p> Mon, 28 Jan 2008 14:26:59 +0000 jkominar comment 51697 at https://www.ejabberd.im You're correct. The telnet https://www.ejabberd.im/node/2809#comment-51690 <p>You're correct. The telnet command refuses to connect, both using IP and domain name. I will have to investigate further upstream firewalling I guess. Thanks for the help!</p> Sat, 26 Jan 2008 21:13:49 +0000 jkominar comment 51690 at https://www.ejabberd.im Are outbound connection to https://www.ejabberd.im/node/2809#comment-51686 <p>Are outbound connection to port 5269 closed by a firewall? Try to </p> <pre>telnet xmpp-server.l.google.com 5269</pre><p>It seems to me that it will fail.</p> Sat, 26 Jan 2008 09:12:18 +0000 teo comment 51686 at https://www.ejabberd.im