Rambin Posted August 22, 2013 Report Share Posted August 22, 2013 I get a "can't unzip" error when I add a torrent from the URL such as http://bt.ktxp.com/torrents/2013/08/22/f02c8d1ce7e290fa863f614111c5eb1c62494672.torrent with goagent, but it works when I turned off proxy.I captured the TCP stream and find that the HTTP headers is a little different.=======without goagent========GET /torrents/2013/08/22/f02c8d1ce7e290fa863f614111c5eb1c62494672.torrent HTTP/1.1Host: bt.ktxp.comUser-Agent: BTWebClient/3300(29038)Accept-Encoding: gzipConnection: CloseHTTP/1.1 200 OKServer: nginx/1.4.1Date: Thu, 22 Aug 2013 01:58:25 GMTContent-Type: application/octet-streamContent-Length: 18967Last-Modified: Thu, 22 Aug 2013 00:54:51 GMTETag: "5215615b-4a17"Accept-Ranges: bytesAge: 2916X-Cache: HIT from cloud.rds.7X-Cache: MISS from cloud.5Via: 1.1 cloud.rds.7:87 (squid), 1.1 cloud.5:85 (squid)Connection: close========with goagent=======GET http://bt.ktxp.com/torrents/2013/08/22/f02c8d1ce7e290fa863f614111c5eb1c62494672.torrent HTTP/1.1Host: bt.ktxp.comUser-Agent: BTWebClient/3300(29038)Accept-Encoding: gzipConnection: CloseHTTP/1.1 200Server: nginx/1.4.1Date: Thu, 22 Aug 2013 02:23:46 GMTContent-Type: application/octet-streamContent-Length: 18967Last-Modified: Thu, 22 Aug 2013 00:54:51 GMTEtag: "5215615b-4a17"Accept-Ranges: bytesConnection: keep-aliveAge: 375Via: HTTP/1.1 GWA (remote cache hit)=========and another site with goagent=========GET http://www.nyaa.se/?page=download&tid=465576 HTTP/1.1Host: www.nyaa.seUser-Agent: BTWebClient/3300(29038)Accept-Encoding: gzipReferer: http://www.nyaa.se/?page=download&tid=465576Connection: CloseHTTP/1.1 200 OKContent-Length: 20113Via: HTTP/1.1 GWA (remote cache hit)Content-Disposition: inline; filename="Science ZERO - 2013-08-18 (NHK-E 1280x720 h264 AAC).mkv.torrent"Content-Encoding: gzipAge: 22Vary: Accept-EncodingServer: :3Last-Modified: Thu, 22 Aug 2013 08:24:36 GMTConnection: keep-aliveDate: Thu, 22 Aug 2013 08:27:24 GMTContent-Type: application/x-bittorrentIt seems that the main different between with and without goagent is that the "Connection" property is "keey-alive" when using goagent, and "nyaa.eu" said that it's encoded in gzip but "ktxp.com" said nothing and using flat text.Is UT treat no sign stream in keep-alive connection as a gzip stream?Apologize for my poor English. Link to comment Share on other sites More sharing options...
ciaobaby Posted August 22, 2013 Report Share Posted August 22, 2013 but it works when I turned off proxy.Therefore the problem is the proxy NOT uTorrent. Link to comment Share on other sites More sharing options...
Rambin Posted August 22, 2013 Author Report Share Posted August 22, 2013 but it works when I turned off proxy.Therefore the problem is the proxy NOT uTorrent.I said it works well with another site, and I forgot to say that any browser with the proxy works too.So I get this error only when I use UT and the proxy.I have submitted this issue on the project page of the proxy. Link to comment Share on other sites More sharing options...
ciaobaby Posted August 22, 2013 Report Share Posted August 22, 2013 Browsers use HTTP not BitTorrent. Link to comment Share on other sites More sharing options...
Rambin Posted August 26, 2013 Author Report Share Posted August 26, 2013 Browsers use HTTP not BitTorrent.But the protocol UT used to get a torrent from RSS is HTTP.I didn't check "Use proxy for P2P connections", so that only tracker communication and RSS uses proxy. Link to comment Share on other sites More sharing options...
DreadWingKnight Posted August 26, 2013 Report Share Posted August 26, 2013 Works without proxy but not with means the bug is in the proxy. Link to comment Share on other sites More sharing options...
ciaobaby Posted August 26, 2013 Report Share Posted August 26, 2013 But the protocol UT used to get a torrent from RSS is HTTP.Yes just like YOU use HTTP to get magnets or download .torrent files, but ONCE the job is loaded into the client, ... HTTP is finished with and the torrent payload data is downloaded using the BitTorrent protocol. Link to comment Share on other sites More sharing options...
Rambin Posted August 27, 2013 Author Report Share Posted August 27, 2013 But the protocol UT used to get a torrent from RSS is HTTP.Yes just like YOU use HTTP to get magnets or download .torrent files' date=' but [b']ONCE the job is loaded into the client, ... HTTP is finished with and the torrent payload data is downloaded using the BitTorrent protocol.But what I faced is that the job can't be loaded into UT.I get "can't unzip" before the job appears. Link to comment Share on other sites More sharing options...
DreadWingKnight Posted August 27, 2013 Report Share Posted August 27, 2013 Most likely because the proxy is doing something it shouldn't be.AKA, NOFF Link to comment Share on other sites More sharing options...
Rambin Posted August 29, 2013 Author Report Share Posted August 29, 2013 Most likely because the proxy is doing something it shouldn't be.AKA, NOFFI think that the proxy is with some bug too.But if a browser works well with the proxy in same action, UT is no reason to fail, in my opinion. Link to comment Share on other sites More sharing options...
DreadWingKnight Posted August 29, 2013 Report Share Posted August 29, 2013 It's a bug in the proxy, not in uTorrent. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.