<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks for the reply and I have forwarded this post to <a href="mailto:jdev@jabber.org">jdev@jabber.org</a></div><div><br></div><div>Yes I am chatting with a Spark client via a Openfire server, any idea to fix this?</div><div><br></div><div>Thanks again.</div><div>Alan</div><div><br></div><div><div>On Nov 24, 2011, at 1:25 AM, Peter Saint-Andre wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">In general it is better to post such messages to the <a href="mailto:jdev@jabber.org">jdev@jabber.org</a> list because I can be very slow about replying...<div><br></div><div><a href="http://mail.jabber.org/mailman/listinfo/jdev">http://mail.jabber.org/mailman/listinfo/jdev</a></div>
<div><br></div><div>It looks like the error your receiving might be caused by the client you're chatting with -- is that Smack-based?<br><br><div class="gmail_quote">On Wed, Nov 23, 2011 at 3:31 AM, Alan Peng <span dir="ltr"><<a href="mailto:hcpeng1975@gmail.com">hcpeng1975@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">hi Peter, <div><br></div><div><br></div><div>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:</div>
<div><br></div><div><br></div><div><div><div>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="<a href="http://jabber.org/protocol/disco#items" target="_blank">http://jabber.org/protocol/disco#items</a>"/></iq></div>
<div>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="<a href="http://test@106.187.45.225/72263d17" target="_blank">test@106.187.45.225/72263d17</a>"><query xmlns="<a href="http://jabber.org/protocol/disco#items" target="_blank">http://jabber.org/protocol/disco#items</a>"><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></div>
<div>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="<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>"/></iq></div>
<div>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="<a href="http://test@106.187.45.225/72263d17" target="_blank">test@106.187.45.225/72263d17</a>"><query xmlns="<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>"><identity category="proxy" name="SOCKS5 Bytestreams Service" type="bytestreams"/><feature var="<a href="http://jabber.org/protocol/bytestreams" target="_blank">http://jabber.org/protocol/bytestreams</a>"/><feature var="<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>"/></query></iq></div>
<div>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="<a href="http://jabber.org/protocol/bytestreams" target="_blank">http://jabber.org/protocol/bytestreams</a>"/></iq></div>
<div>2011-11-23 18:19:25:622 iPhoneXMPP[2262:1803] XMPPCapabilities: handleDiscoResponse:fromJID: - Non-Hash response</div><div>2011-11-23 18:19:25:623 iPhoneXMPP[2262:1803] XMPPCapabilitiesCoreDataStorage: Triggering save (pendingRequests=0)</div>
<div>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="<a href="http://test@106.187.45.225/72263d17" target="_blank">test@106.187.45.225/72263d17</a>"><query xmlns="<a href="http://jabber.org/protocol/bytestreams" target="_blank">http://jabber.org/protocol/bytestreams</a>"><streamhost jid="proxy.106.187.45.225" host="106.187.45.225" port="7777"/></query></iq></div>
<div>2011-11-23 18:19:25:667 iPhoneXMPP[2262:1803] SEND: <iq type="set" to="<a href="http://alan@106.187.45.225/Spark" target="_blank">alan@106.187.45.225/Spark</a> 2.6.3" id="17AC69E9-CE8F-4E56-A9A9-17065F94AD69"><query xmlns="<a href="http://jabber.org/protocol/bytestreams" target="_blank">http://jabber.org/protocol/bytestreams</a>" sid="17AC69E9-CE8F-4E56-A9A9-17065F94AD69" mode="tcp"><streamhost jid="proxy.106.187.45.225" host="106.187.45.225" port="7777"/></query></iq></div>
<div><font color="#ff1e18">2011-11-23 18:19:25:749 iPhoneXMPP[2262:8703] RECV: <iq id="17AC69E9-CE8F-4E56-A9A9-17065F94AD69" to="<a href="http://test@106.187.45.225/72263d17" target="_blank">test@106.187.45.225/72263d17</a>" from="<a href="http://alan@106.187.45.225/Spark" target="_blank">alan@106.187.45.225/Spark</a> 2.6.3" type="error"><query xmlns="<a href="http://jabber.org/protocol/bytestreams" target="_blank">http://jabber.org/protocol/bytestreams</a>" 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></font></div>
<div>2011-11-23 18:19:25:749 iPhoneXMPP[2262:207] iPhoneXMPPAppDelegate: xmppStream:didReceiveIQ: - 17AC69E9-CE8F-4E56-A9A9-17065F94AD69</div><div>2011-11-23 18:19:25:749 iPhoneXMPP[2262:207] SMChatViewController: turnSocketDidFail:</div>
<div>2011-11-23 18:19:25.749 iPhoneXMPP[2262:207] TURN Connection failed!</div></div></div><div><br></div><div><br></div><div>Can you give me some hints on how to fix this?</div><div><br></div><div><br></div><div>Thanks and appreciated.</div>
<div>Alan</div></div></blockquote></div><br></div>
</blockquote></div><br></body></html>