Don't work file transfer (xep 0234, 0065)

▼魔方 西西 提交于 2019-12-25 00:38:02

问题


I am developing an application for the iPhone. I will implement a chat with GoogleTalk XMPP in our application. I want to transfer files using SOCKS5 Bytestream (http://xmpp.org/extensions/xep-0234.html # hash). I can not initialize the session. I send request "session-initiate". 

<jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
      <content creator='initiator' name='a-file-offer'>

The server returns an error "code= 503 service-unavailable".

Could you tell what the problem is? Can I access this service? What other way I can implement a file transfer using GoogleTalk XMPP?


回答1:


Did you wrap this in an IQ stanza? If not, that's the problem, but I'm surprised you didn't just get disconnected. If you did, then check that the to address is correct; error 503 can either be a routing error, or can be returned from a receiving client that doesn't implement the protocol in question.



来源:https://stackoverflow.com/questions/8271586/dont-work-file-transfer-xep-0234-0065

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!