Thanks for the reply and I have forwarded this post to [email protected] Yes I am chatting with a Spark client via a Openfire server, any idea to fix this?
Thanks again. Alan On Nov 24, 2011, at 1:25 AM, Peter Saint-Andre wrote: > In general it is better to post such messages to the [email protected] list > because I can be very slow about replying... > > http://mail.jabber.org/mailman/listinfo/jdev > > It looks like the error your receiving might be caused by the client you're > chatting with -- is that Smack-based? > > On Wed, Nov 23, 2011 at 3:31 AM, Alan Peng <[email protected]> wrote: > hi Peter, > > > I am trying to build a jabberd client for iOS using the XMPPframework and the > instant messaging all works fine except when I go for the file transfer with > XEP-0065 protocol, I got the 406 error from server response: > > > 2011-11-23 18:19:25:511 iPhoneXMPP[2262:6703] SEND: <iq type="get" > to="106.187.45.225" id="DEA480E8-1E14-420C-AFEA-643814670C2B"><query > xmlns="http://jabber.org/protocol/disco#items"/></iq> > 2011-11-23 18:19:25:555 iPhoneXMPP[2262:6703] RECV: <iq type="result" > id="DEA480E8-1E14-420C-AFEA-643814670C2B" from="106.187.45.225" > to="[email protected]/72263d17"><query > xmlns="http://jabber.org/protocol/disco#items"><item > jid="proxy.106.187.45.225" name="Socks 5 Bytestreams Proxy"/><item > jid="conference.106.187.45.225" name="Public Chatrooms"/><item > jid="search.106.187.45.225" name="User Search"/><item > jid="pubsub.106.187.45.225" name="Publish-Subscribe service"/></query></iq> > 2011-11-23 18:19:25:555 iPhoneXMPP[2262:6e03] SEND: <iq type="get" > to="proxy.106.187.45.225" id="AE98ABBE-36A7-460E-A7F2-ABB05D9B2647"><query > xmlns="http://jabber.org/protocol/disco#info"/></iq> > 2011-11-23 18:19:25:621 iPhoneXMPP[2262:6e03] RECV: <iq type="result" > id="AE98ABBE-36A7-460E-A7F2-ABB05D9B2647" from="proxy.106.187.45.225" > to="[email protected]/72263d17"><query > xmlns="http://jabber.org/protocol/disco#info"><identity category="proxy" > name="SOCKS5 Bytestreams Service" type="bytestreams"/><feature > var="http://jabber.org/protocol/bytestreams"/><feature > var="http://jabber.org/protocol/disco#info"/></query></iq> > 2011-11-23 18:19:25:621 iPhoneXMPP[2262:6e03] SEND: <iq type="get" > to="proxy.106.187.45.225" id="17088F28-BE2B-4003-B26A-FEA96B871573"><query > xmlns="http://jabber.org/protocol/bytestreams"/></iq> > 2011-11-23 18:19:25:622 iPhoneXMPP[2262:1803] XMPPCapabilities: > handleDiscoResponse:fromJID: - Non-Hash response > 2011-11-23 18:19:25:623 iPhoneXMPP[2262:1803] > XMPPCapabilitiesCoreDataStorage: Triggering save (pendingRequests=0) > 2011-11-23 18:19:25:666 iPhoneXMPP[2262:1803] RECV: <iq type="result" > id="17088F28-BE2B-4003-B26A-FEA96B871573" from="proxy.106.187.45.225" > to="[email protected]/72263d17"><query > xmlns="http://jabber.org/protocol/bytestreams"><streamhost > jid="proxy.106.187.45.225" host="106.187.45.225" port="7777"/></query></iq> > 2011-11-23 18:19:25:667 iPhoneXMPP[2262:1803] SEND: <iq type="set" > to="[email protected]/Spark 2.6.3" > id="17AC69E9-CE8F-4E56-A9A9-17065F94AD69"><query > xmlns="http://jabber.org/protocol/bytestreams" > sid="17AC69E9-CE8F-4E56-A9A9-17065F94AD69" mode="tcp"><streamhost > jid="proxy.106.187.45.225" host="106.187.45.225" port="7777"/></query></iq> > 2011-11-23 18:19:25:749 iPhoneXMPP[2262:8703] RECV: <iq > id="17AC69E9-CE8F-4E56-A9A9-17065F94AD69" to="[email protected]/72263d17" > from="[email protected]/Spark 2.6.3" type="error"><query > xmlns="http://jabber.org/protocol/bytestreams" > sid="17AC69E9-CE8F-4E56-A9A9-17065F94AD69" mode="tcp"><streamhost > jid="proxy.106.187.45.225" host="106.187.45.225" port="7777"/></query><error > code="406" type="MODIFY"><not-acceptable > xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> > 2011-11-23 18:19:25:749 iPhoneXMPP[2262:207] iPhoneXMPPAppDelegate: > xmppStream:didReceiveIQ: - 17AC69E9-CE8F-4E56-A9A9-17065F94AD69 > 2011-11-23 18:19:25:749 iPhoneXMPP[2262:207] SMChatViewController: > turnSocketDidFail: > 2011-11-23 18:19:25.749 iPhoneXMPP[2262:207] TURN Connection failed! > > > Can you give me some hints on how to fix this? > > > Thanks and appreciated. > Alan >
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
