robbiehanson / XMPPFramework

An XMPP Framework in Objective-C for Mac and iOS
Other
5.91k stars 2.09k forks source link

transfer file success on a same wifi, fail on 4G or different networks #653

Closed lionsom closed 7 years ago

lionsom commented 8 years ago

the sender in the wifi , the receive in 4G send file failed. it's the outcoming’s log and the receive's log below.

2015-12-22 19:22:32.468 pirate[789:225573] XMPPOutgoingFileTransfer:startFileTransfer 2015-12-22 19:22:32:471 pirate[789:e6b] 4-SEND: Baal's Soulstone, obviously.http://jabber.org/protocol/bytestreamshttp://jabber.org/protocol/ibb 2015-12-22 19:22:32:765 pirate[789:e6b] 3-RECV: http://jabber.org/protocol/bytestreams 2015-12-22 19:22:32:772 pirate[789:4f3f] 4-SEND: 2015-12-22 19:22:32:777 pirate[789:4f3f] 3-RECV: 2015-12-22 19:22:32:782 pirate[789:5a43] 4-SEND: 2015-12-22 19:23:32.784 pirate[789:225573] XMPPOutgoingFileTransfer:failWithReason 2015-12-22 19:23:32:786 pirate[789:b07] Outgoing file transfer failed with error: Error Domain=GCDAsyncSocketErrorDomain Code=2 "Invalid host parameter (nil or ""). Should be a domain name or IP address string." UserInfo={NSLocalizedDescription=Invalid host parameter (nil or ""). Should be a domain name or IP address string.}

the incoming’s log:

2015-12-22 19:26:22:377 pirate[789:5a67] 3-RECV: 2015-12-22 19:26:22:381 pirate[789:4937] 4-SEND: 2015-12-22 19:26:22:606 pirate[789:4937] 3-RECV: Baal's Soulstone, obviously.http://jabber.org/protocol/bytestreamshttp://jabber.org/protocol/ibb 2015-12-22 19:26:22:613 pirate[789:e73] 4-SEND: http://jabber.org/protocol/bytestreams 2015-12-22 19:26:23:629 pirate[789:5a67] 3-RECV:

my server: mod_proxy65: host: “proxy.auto.hooca.com.cn" name: ”file transfer proxy” ip: “192.168.0.25” hostname: “140.206.XX.XX” port: 7777 shaper: proxy_shaper

lionsom commented 8 years ago

if someone want to know more, please show me your e-mail,i will send demo to you. thanks

gaurav-qtm commented 8 years ago

Please share demo for sending file on different network.

parmargaurav069@gmail.com

yasiriqbal commented 8 years ago

please share me! yasirniazi11@gmail.com

pengwj commented 8 years ago

please share me your demo. darkwing90s@163.com

kivenZheng commented 7 years ago

please share me! thanks zhenghkun@163.com

TheEngineerz commented 7 years ago

osama.sadiq@yahoo.com please

HB-Dimple commented 5 years ago

Is this resolved? Same issue is being faced by me.