VirtualBox

Ticket #3257 (closed defect: fixed)

Opened 10 months ago

Last modified 8 months ago

Truncated downloads with NAT --> fixed in SVN

Reported by: karl.forner Assigned to:
Priority: major Component: network/NAT
Version: VirtualBox 2.1.2 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description (Last modified by frank)

In short: downloads are truncated...

Example:

ftp_proxy=http://proxy.xxxxx.com:8080/ wget ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
15:04:14 (76.64 KB/s) - Connection closed at byte 113699. Retrying.

Same kind of command:

ftp_proxy=http://proxy.xxxx.com:80 lwp-mirror ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY toto
Transfer truncated: only 116617 out of 128142 bytes received
  • This runs just fine in virtualbox 2.0.2
  • same problem using http url: http_proxy=http://proxy.xxxx:8080/ wget ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
  • same problem on a friends's computer running virtualbox 2.1.2
  • no problem on another friend's computer running virtualbox 2.0.2
  • I tried changing the network config of virtualbox without any result

I tried to test the 2.1.0 version but could not install and make it run anymore....

The consequence of this is that "cpan" software to install perl packages is no more usable...

HOST=windows xp sp3 GUEST=ubuntu 8.04

Attachments

VBox.log (49.7 kB) - added by karl.forner on 2009-02-02 13:47:18.
wireshark_log.wshark (338.6 kB) - added by minxx on 2009-02-03 14:59:45.
wget.txt (1.7 kB) - added by minxx on 2009-02-03 14:59:57.
VBox-2.1.3.hostif-error.log.gz (5.2 kB) - added by sordes on 2009-02-06 09:11:06.
VBox 2.1.3 can't start VM with host interface

Change History

2009-02-02 13:47:18 changed by karl.forner

  • attachment VBox.log added.

2009-02-02 14:14:46 changed by frank

  • description changed.
  • summary changed from very strange network problem: truncated downloads to Truncated downloads with NAT.

Is this problem related to the proxy?

2009-02-02 14:15:40 changed by frank

  • owner changed.
  • component changed from network to network/NAT.

2009-02-02 17:09:53 changed by frank

And what is the destination of folder of this operation? Probably a shared folder?

2009-02-02 17:22:22 changed by karl.forner

no, the destination folder is a local folder. And as I said, this runs perfectly fine with the same image (vdi) and virtualbox 2.0.2.

(follow-up: ↓ 6 ) 2009-02-02 17:35:25 changed by sordes

HOST : Windows 2003 Server, ftp-server SlimFTPd, NTFS

GUEST: Linux (LFS 6.4), ftp-client mc-4.6.1 or wget, without shared folders, with or without guest additions, disk - SATA 0, ext3

VBOX : v2.1.0 or v2.1.6

Transfer from HOST to GUEST via NAT-ftp: received_file_size < real_file_size ( random difference ~ 1-2%)

Transfer from HOST to GUEST via Host_interface-ftp: received_file_size = real_file_size

(VBOX v2.0.6 and early - without this problem)

(in reply to: ↑ 5 ) 2009-02-02 17:36:58 changed by sordes

VBOX : v2.1.0 or v2.1.6

v2.1.0 or v2.1.2

2009-02-03 14:59:45 changed by minxx

  • attachment wireshark_log.wshark added.

2009-02-03 14:59:57 changed by minxx

  • attachment wget.txt added.

2009-02-03 15:01:51 changed by minxx

I have the same Problem. Host Windows XP, Guest Debian Lenny, Virtualbox 2.1.0 NAT Mode

APT or Eclipse updates (http) are almost impossible like this.

I've also done this testcase:

ftp_proxy=http://x.x.x.x:8080/ wget ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY"

and got the following results (see attached files):

  • wireshark_log.wshark: is logged on the guest, proxy ip: 172.20.48.9, host ip: 172.20.55.132
  • wget.txt: transcript of wget output logged on the guest.

(follow-ups: ↓ 10 ↓ 11 ) 2009-02-03 15:46:40 changed by minxx

Downgraded to VirtualBox 2.0.4 and everything works again.

2009-02-06 09:11:06 changed by sordes

  • attachment VBox-2.1.3.hostif-error.log.gz added.

VBox 2.1.3 can't start VM with host interface

2009-02-06 09:17:20 changed by sordes

HOST : Windows 2003 Server, ftp-server SlimFTPd, NTFS
GUEST: Linux (LFS 6.4), without shared folders, with or without guest additions, disk - SATA 0, ext3
VBOX : VirtualBox-2.1.3-42438-Win_x86.msi

Transfer from HOST to GUEST via NAT-ftp: received_file_size == real_file_size, MD5 sums check passed,
but if file_size > 8760 bytes (hex: 2238), then

wget 1.10.2, wget 1.11.4 (Slax LiveCD 6.0.9) - stalled, till timeout
mc-4.6.3, mc-4.6.1 (Slax LiveCD 6.0.9) - stalled (Skip, Abort, Ctrl-C not work), only kill helps
ftp GNU inetutils 1.5 - stalled, Ctrl-C can stop

VirtualBox-2.1.3-42438-Win_x86 can't run any VM with host interface.
See log in attachment VBox-2.1.3.hostif-error.log.gz

(in reply to: ↑ 8 ) 2009-02-06 16:51:00 changed by misha

Replying to sordes: re inability to use host interface, this is a known issue. We already have a fix for it, and should be able to post the test build with the fix soon.

(in reply to: ↑ 8 ; follow-up: ↓ 12 ) 2009-02-09 11:30:36 changed by misha

Replying to sordes re inability to use host interface: I can share you a test build containing a fix. Please send me a mail at Mikhail dot Sennikovsky at sun dot com if you are willing to test it. I'll then send you a link to a new test version containing a fox.

(in reply to: ↑ 11 ) 2009-02-12 08:43:13 changed by sordes

Replying to misha:
Thanks ever so[[BR]]

VirtualBox-2009-02-06-13-33-45-w32rel-2.1.51-r42482.msi :

NAT : the same as VirtualBox-2.1.3-42438-Win_x86.msi
HOSTIF: OK

2009-02-15 09:29:11 changed by vvvy

I have the same problem with OpenSolaris? guest, so this may be not Linux-specifc

Virtualbox 2.1.0, NAT (could not test host interface due to unavailability of LAN) Host Windows XP, apache ftp server 1.0.0-M3 Guest OpenSolaris? 2008.11, clients tested: wget, ftp and Firefox file StudioExpress?-sol-x86-2008-11-ii.sh (186 176 469 bytes), gets truncated by 3-10K (randomly).

This effect does NOT occur with http download (server MS IIS, client firefox).

2009-02-16 16:51:40 changed by Hachiman

NAT/networking Http part is fixed. NAT/networking ftp part will be available latter.

2009-02-16 20:20:11 changed by frank

Http fix contained in 2.1.4.

2009-02-18 09:08:24 changed by sordes

HOST: Windows 2003 Server, ftp-server SlimFTPd, NTFS
REMOTE HOST: Slackware 12.2, sshd, ext3
GUEST: Linux (LFS 6.4), without shared folders, VBoxLinuxAdditions-x86 2.1.4, disk - SATA 0, ext3
VBOX: w32rel-2.1.51-r42914.msi

NAT,HOSTIF: ftp (mc,wget), ssh(scp-dropbear)- upload & download: file size - OK, MD5 - OK.

Hm, so apparently it works...

2009-02-18 09:36:14 changed by Hachiman

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in SVN

2009-02-18 09:58:48 changed by Hachiman

  • status changed from closed to reopened.
  • resolution deleted.

to be formal

2009-02-18 10:06:56 changed by Hachiman

  • summary changed from Truncated downloads with NAT to Truncated downloads with NAT --> fixed in SVN.

2009-02-23 07:43:28 changed by sordes

VirtualBox-w32-2.1-2.1.5-r43070.msi works the same as w32rel-2.1.51-r42914.msi - without errors in ftp and ssh (NAT,HOSTIF).

2009-04-08 14:21:38 changed by frank

  • status changed from reopened to closed.
  • resolution set to fixed.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy