Open ubuntudroid opened 11 years ago
I'm trying to send a file via TurnSocket to a Spark 2.6.3 client (latest version from CI, my Android XMPP client returns the very same error responses), but always receive a "406 modify not-acceptable" error. Here is the message log:
2013-02-24 17:03:02:042 MyApp[2628:1e07] SEND: <iq type="get" to="my.server.org" id="D3218E99-3660-4344-9D42-FE89B27A5266"><query xmlns="http://jabber.org/protocol/disco#items"/></iq> 2013-02-24 17:03:02:074 MyApp[2628:7603] RECV: <iq xmlns="jabber:client" type="result" id="D3218E99-3660-4344-9D42-FE89B27A5266" from="my.server.org" to="osxapp@my.server.org/osx"><query xmlns="http://jabber.org/protocol/disco#items"><item jid="pubsub.my.server.org" name="Publish-Subscribe service"/><item jid="conference.my.server.org" name="Public Chatrooms"/><item jid="search.my.server.org" name="User Search"/><item jid="proxy.my.server.org" name="Socks 5 Bytestreams Proxy"/></query></iq> 2013-02-24 17:03:02:075 MyApp[2628:1e07] TURNSocket: CandidateJIDs: ( "proxy.my.server.org", "pubsub.my.server.org", "conference.my.server.org", "search.my.server.org" ) 2013-02-24 17:03:02:075 MyApp[2628:7603] SEND: <iq type="get" to="proxy.my.server.org" id="33FC7100-5137-4EA9-9765-87CFE33D4B79"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2013-02-24 17:03:02:101 MyApp[2628:7603] RECV: <iq xmlns="jabber:client" type="result" id="33FC7100-5137-4EA9-9765-87CFE33D4B79" from="proxy.my.server.org" to="osxapp@my.server.org/osx"><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> 2013-02-24 17:03:02:102 MyApp[2628:7603] SEND: <iq type="get" to="proxy.my.server.org" id="46C0C5CE-9A6E-4D71-87CA-C94F2D1BC1FD"><query xmlns="http://jabber.org/protocol/bytestreams"/></iq> 2013-02-24 17:03:02:130 MyApp[2628:1e07] RECV: <iq xmlns="jabber:client" type="result" id="46C0C5CE-9A6E-4D71-87CA-C94F2D1BC1FD" from="proxy.my.server.org" to="osxapp@my.server.org/osx"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost jid="proxy.my.server.org" host="<obfuscated>" port="7777"/></query></iq> 2013-02-24 17:03:02:130 MyApp[2628:7603] TURNSocket: Streamhosts: ( "<streamhost jid=\"proxy.my.server.org\" host=\"<obfuscated>\" port=\"7777\"></streamhost>" ) 2013-02-24 17:03:02:131 MyApp[2628:1e07] SEND: <iq type="set" to="sven@my.server.org/Spark 2.6.3" id="A20C3813-D8D1-4B5B-AD90-7702C068F342"><query xmlns="http://jabber.org/protocol/bytestreams" sid="A20C3813-D8D1-4B5B-AD90-7702C068F342" mode="tcp"><streamhost jid="proxy.my.server.org" host="141.76.41.178" port="7777"/></query></iq> 2013-02-24 17:03:02:191 MyApp[2628:1e07] RECV: <iq xmlns="jabber:client" id="A20C3813-D8D1-4B5B-AD90-7702C068F342" to="osxapp@my.server.org/osx" from="sven@my.server.org/Spark 2.6.3" type="error"><query xmlns="http://jabber.org/protocol/bytestreams" sid="A20C3813-D8D1-4B5B-AD90-7702C068F342" mode="tcp"><streamhost jid="proxy.my.server.org" host="<obfuscated>" port="7777"/></query><error code="406" type="MODIFY"><not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> 2013-02-24 17:03:02.191 MyApp[2628:303] Couldn't set up bytestream for file transfer!
I'm fiddling around with this for a few days now and can't find a solution.
how to fix it, can you tell me, thank you.
I got same error
I'm trying to send a file via TurnSocket to a Spark 2.6.3 client (latest version from CI, my Android XMPP client returns the very same error responses), but always receive a "406 modify not-acceptable" error. Here is the message log:
I'm fiddling around with this for a few days now and can't find a solution.