unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: m8r-y0v7u9@mailinator.com
To: 20962@debbugs.gnu.org
Subject: bug#20962: guix download error "Bad Date header"
Date: Thu,  2 Jul 2015 10:48:33 +0200 (CEST)	[thread overview]
Message-ID: <20150702084833.4DFA7D54DF@emkei.cz> (raw)

Hi,

guix download doesn't seem to like date headers that don't use GMT / UTC.  #guix irc logs from 2013-10-16 mention something similar.  Any suggestions or work-arounds?

Below is some relevant output -- first with guix download, then with wget -S (note the Expires header):

$ guix download \
https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
starting download of `/tmp/guix-file.o8FJB9' from `https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip'...
ERROR: Bad Date header: Fri, 03 Jul 2015 01:39:41 PDT

failed to download "/tmp/guix-file.o8FJB9" from "https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip"
guix download: error: https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip: download failed

$ wget -S https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
--2015-07-02 16:49:11--  https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
Resolving dl-ssl.google.com (dl-ssl.google.com)... 173.194.72.91, 173.194.72.136, 173.194.72.190, ...
Connecting to dl-ssl.google.com (dl-ssl.google.com)|173.194.72.91|:443... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Content-Length: 1751911
  Content-Type: application/zip
  Etag: "50c5a"
  Expires: Fri, 03 Jul 2015 00:49:11 PDT
  Last-Modified: Tue, 10 Mar 2015 17:00:00 GMT
  Server: downloads
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  X-Xss-Protection: 1; mode=block
  Date: Thu, 02 Jul 2015 07:49:11 GMT
  Alternate-Protocol: 443:quic,p=1
Length: 1751911 (1.7M) [application/zip]
Saving to: ‘platform-tools_r22-linux.zip’

platform-tools_r22- 100%[=====================>]   1.67M  2.35MB/s   in 0.7s   

2015-07-02 16:49:12 (2.35 MB/s) - ‘platform-tools_r22-linux.zip’ saved [1751911/1751911]

             reply	other threads:[~2015-07-02 15:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02  8:48 m8r-y0v7u9 [this message]
2015-07-02 23:13 ` bug#20962: guix download error "Bad Date header" m8r-y0v7u9
2019-11-12 20:30 ` bug#20962: Bug Hunting: status? zimoun
2019-11-13 13:40   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150702084833.4DFA7D54DF@emkei.cz \
    --to=m8r-y0v7u9@mailinator.com \
    --cc=20962@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).