input contained no data


New Smack user here o/

Unfortunately I cannot get a connection to Google talk using the latest release. I’ve just created a new Java project in eclipse, copied the jars from smack_src_3_1_0 and created a simple Application with the following two lines:

XMPPConnection xmppConnection = new XMPPConnection(new ConnectionConfiguration(“”, 443));


ConnectionConfiguration talk = new ConnectionConfiguration(“”, 443);

XMPPConnection xmppConnection = new XMPPConnection(talk);


And I’m receiving the following exception: input contained no data

at org.xmlpull.mxp1.MXParser.fillBuf(

at org.xmlpull.mxp1.MXParser.more(

at org.xmlpull.mxp1.MXParser.parseProlog(

at org.xmlpull.mxp1.MXParser.nextImpl(


at org.jivesoftware.smack.PacketReader.parsePackets(

at org.jivesoftware.smack.PacketReader.access$000(

at org.jivesoftware.smack.PacketReader$

Exception in thread “main” Connection failed. No response from server.:

at org.jivesoftware.smack.PacketReader.startup(

at org.jivesoftware.smack.XMPPConnection.initConnection(

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:904)

at org.jivesoftware.smack.XMPPConnection.connect(

at SmackTest.main(

By enabling the debug console I can tell that smack is indeed trying to contact the other host.

Under raw packets send:

<stream:stream to=“” xmlns=“jabber:client” xmlns:stream=“” version=“1.0”>


However, there are no packets received.

Did I miss something?

I just tried to send the xml quoted in the first post manually and got the following response:

<stream:stream from=“” id=“E66D5F91946B0706” version=“1.0” xmlns:stream=“” xmlns=“jabber:client”>






<str:text xmlns:str=“urn:ietf:params:xml:ns:xmpp-streams”>Set the ‘to’ attribute of stream element to the domain part of the user’s JID. Example: to=‘’.</str:text>