我有一个 XMPP 服务器,prosody。它非常适合聊天和音频/视频通话。但我在文件传输方面遇到了问题。我已经使用 coturn 配置了 proxy65 和 turn_external。coturn 使用的所有端口都已打开。proxy65_ports = {7777},并且该端口也已打开。这里的问题是什么?
在 prosody.log 中:
May 30 07:06:05 s2soutd18310 info Outgoing s2s stream chat.my-domain.com->turn.my-domain.com closed: connection-timeout
May 30 07:06:05 s2soutd18310 info Sending error replies for 2 queued stanzas because of failed outgoing connection to turn.my-domain.com
在我的客户端(aTalk for Adroid)中:
An error occurred while transfering file from [email protected]
Could not establish socket with any provided SOCKS5 stream host.
SOCKS5 Stream Host: [email protected]/DOVie-F6[IP-addres:39515] Exception: 'java.io.IOException: ExecutionException while SOCKS5 client attempting to connect to SOCKS5 Stream Host: [email protected]/DOVie-F6[IP-addres:39515]',
SOCKS5 Stream Host: proxy.my-domain.com[proxy.my-domain.com:7777] Exception: 'java.util.concurrent.TimeoutException', SOCKS5 Stream Host: [email protected]/DOVie-F6[IP-addres:3915] Exception: 'java.util.concurrent.TimeoutException'