无法进行文件传输(xep 0234、0065)

发布于 2024-12-17 22:24:46 字数 699 浏览 0 评论 0原文

我正在为 iPhone 开发一个应用程序。我将在我们的应用程序中使用 GoogleTalk XMPP 实现聊天。我想使用 SOCKS5 Bytestream (http://xmpp.org /extensions/xep-0234.html #哈希)。 我无法初始化会话。我发送请求“会话启动”。

<jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='[email protected]/orchard'
          sid='851ba2'>
      <content creator='initiator' name='a-file-offer'>

服务器返回错误“code=503 服务不可用”。

您能告诉我问题是什么吗?我可以访问此服务吗?还有什么其他方法可以使用 GoogleTalk XMPP 实现文件传输?

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='[email protected]/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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悍妇囚夫 2024-12-24 22:24:46

您是否将其包含在 IQ 节中?如果没有,那就是问题所在,但我很惊讶你并没有直接断开连接。如果您这样做了,请检查to地址是否正确;错误 503 可能是路由错误,也可能是从未实现相关协议的接收客户端返回的。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文