wget -c creates Cannot write to '<filename>' (Network is unreachable).

Bug #1261339 reported by Marvin Wiesner
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wget (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If i start a Download with wget and it stops, i use the -c flag (--continue)

then wget creates the error "Cannot write to '<filename>' (Network is unreachable)."

Full output:

$ LANG=en_US wget http://binaries.openttd.org/releases/1.3.3/openttd-1.3.3-windows-win32.zip -c --debug
DEBUG output created by Wget 1.14 on linux-gnu.

URI encoding = 'ANSI_X3.4-1968'
--2013-12-16 11:23:14-- http://binaries.openttd.org/releases/1.3.3/openttd-1.3.3-windows-win32.zip
Resolving binaries.openttd.org (binaries.openttd.org)... 178.33.34.239, 2001:41d0:2:d1dc:1::2
Caching binaries.openttd.org => 178.33.34.239 2001:41d0:2:d1dc:1::2
Connecting to binaries.openttd.org (binaries.openttd.org)|178.33.34.239|:80... connected.
Created socket 3.
Releasing 0x00000000019d0e70 (new refcount 1).

---request begin---
GET /releases/1.3.3/openttd-1.3.3-windows-win32.zip HTTP/1.1
Range: bytes=8192-
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: binaries.openttd.org
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 307 Temporary Redirect
Connection: keep-alive
Content-Type: text/html
Date: Mon, 16 Dec 2013 10:23:14 GMT
Location: http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/1.3.3/openttd-1.3.3-windows-win32.zip
Server: nginx/1.2.1
Transfer-Encoding: chunked
Via: 1.1 bkt-moers.schulon.org:3128 (squid/2.7.STABLE9), 1.0 webwasher (Webwasher 6.9.6.15512)
X-Cache: MISS from bkt-moers.schulon.org
X-Cache-Lookup: MISS from bkt-moers.schulon.org:3128

---response end---
307 Temporary Redirect
Registered socket 3 for persistent reuse.
Location: http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/1.3.3/openttd-1.3.3-windows-win32.zip [following]
Skipping 333 bytes of body: [<html>
<body>
 <p>Your browser does not seem to support redirecting. You can start downloading at: <a href="http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/1.3.3/openttd-1.3.3-windows-win32.zip">http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/1.3.3/openttd-1.3.3-windows-win32.zip</a>.</p>
</body>
</html>] done.
URI content encoding = None
--2013-12-16 11:23:14-- http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/1.3.3/openttd-1.3.3-windows-win32.zip
conaddr is: 178.33.34.239
Resolving ftp.snt.utwente.nl (ftp.snt.utwente.nl)... 130.89.149.20, 2001:67c:2564:a120::20
Caching ftp.snt.utwente.nl => 130.89.149.20 2001:67c:2564:a120::20
Releasing 0x00000000019ce450 (new refcount 1).
Found ftp.snt.utwente.nl in host_name_addresses_map (0x19ce450)
Connecting to ftp.snt.utwente.nl (ftp.snt.utwente.nl)|130.89.149.20|:80... connected.
Created socket 4.
Releasing 0x00000000019ce450 (new refcount 1).

---request begin---
GET /pub/games/openttd/binaries/releases/1.3.3/openttd-1.3.3-windows-win32.zip HTTP/1.1
Range: bytes=8192-
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: ftp.snt.utwente.nl
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: keep-alive
Content-Type: application/zip
Date: Mon, 16 Dec 2013 10:23:14 GMT
ETag: "8d618ea-81ab66-4ec4fcb0c6000"
Last-Modified: Fri, 29 Nov 2013 12:16:00 GMT
Server: Apache/2.2.16 (Debian)
Transfer-Encoding: chunked
Via: 1.1 bkt-moers.schulon.org:3128 (squid/2.7.STABLE9), 1.0 webwasher (Webwasher 6.9.6.15512)
X-Cache: MISS from bkt-moers.schulon.org
X-Cache-Lookup: MISS from bkt-moers.schulon.org:3128

---response end---
200 OK
Disabling further reuse of socket 3.
Closed fd 3
Registered socket 4 for persistent reuse.
Length: unspecified [application/zip]
Saving to: 'openttd-1.3.3-windows-win32.zip'

    [ <=> ] 0 --.-K/s in 0s

Disabling further reuse of socket 4.
Closed fd 4

Cannot write to 'openttd-1.3.3-windows-win32.zip' (Network is unreachable).

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: wget 1.14-2ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Mon Dec 16 11:19:54 2013
InstallationDate: Installed on 2013-01-06 (343 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
SourcePackage: wget
UpgradeStatus: Upgraded to saucy on 2013-11-06 (39 days ago)

Revision history for this message
Marvin Wiesner (marvin-p-wiesner) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wget (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.