cabb Fetch hangs on 64 bit when using proxy - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Networking

Networking Network related discussions (including general TCP/IP stuff, routing, etc).

Reply
 
Thread Tools Display Modes
  #1  
Old August 31st, 2012, 13:01
Calmarius Calmarius is offline
Junior Member
 
Join Date: Aug 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Fetch hangs on 64 bit when using proxy

I just installed FreeBSD 8.3 64bit on VirtualBox.

I just set up the internet access to pass through the corporate proxy.

The connection works. But the the fetch command hangs for minutes before finishing:

Code:
# fetch http://google.com
google.com           99% of 11 kB 6388  Bps^C
fetch: transfer interrupted

#
It reaches 99% in no time.

I didn't found any workaround for this bug. But I saw that it happened earlier too.
Reply With Quote
  #2  
Old August 31st, 2012, 15:14
Calmarius Calmarius is offline
Junior Member
 
Join Date: Aug 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Same on 32 bit
Reply With Quote
  #3  
Old September 1st, 2012, 12:54
xibo xibo is offline
Member
 
Join Date: Dec 2010
Location: Germany
Posts: 301
Thanks: 16
Thanked 61 Times in 50 Posts
Default

Works here with 9.1-PRERELEASE, with IPv4 and IPv6. What's the value of your HTTP_PROXY environment variable? Also, are there any delay queues, traffic-based ACLs or keep-alives on the proxy?
Reply With Quote
  #4  
Old September 2nd, 2012, 08:07
Calmarius Calmarius is offline
Junior Member
 
Join Date: Aug 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

HTTP_PROXY is http://10.69.0.254:8080

I think the connection is keep alive (I saw that in the response headers). I don't know about delays and ACLs.

Everything works fine when I use wget. A fetch also works when the size of file to fetch is unknown.

These hanging lasts about 30-60 seconds. I think it probably waits for a connection timeout.
Reply With Quote
  #5  
Old September 3rd, 2012, 08:09
fluca1978 fluca1978 is offline
Member
 
Join Date: May 2010
Posts: 679
Thanks: 28
Thanked 66 Times in 61 Posts
Default

I experienced a problem when doing a portsnap, and it was related to the fetch part, even if the fetch seemed to be done and the verification was not. It could be the same bug that made the verification failing.
Reply With Quote
  #6  
Old September 14th, 2012, 12:56
Calmarius Calmarius is offline
Junior Member
 
Join Date: Aug 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Some more details: fetch works when the remote size of the file is not known.

For example when fetching https://google.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] unable to fetch ftp, gnome2 va Installation and Maintenance of FreeBSD Ports or Packages 8 December 5th, 2011 02:42
[Solved] flash-can't fetch zjf Installation and Maintenance of FreeBSD Ports or Packages 3 October 12th, 2011 03:39
attemping to fetch from <name of ftp server and name of the file>is unable to fetch helpmeplease Installation and Maintenance of FreeBSD Ports or Packages 2 November 7th, 2010 18:08
[Solved] fetch problem sappi Web & Network Services 8 September 30th, 2010 09:23
Fetch through proxy...strange eXa Installation and Maintenance of FreeBSD Ports or Packages 5 March 30th, 2010 17:43


All times are GMT +1. The time now is 03:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0