http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5247





------- Additional Comments From [EMAIL PROTECTED]  2006-12-19 08:54 -------
(In reply to comment #2)
> Well, the capture shows the SHA-1 hash coming down. The following capture
> contains just that bit, filtered out of the stream (as we know the rest is
> working OK, and the full capture is >100K).

Hrm.  I'm really not sure what to say here.  The request obviously seems to work
according to the packet trace, but unless I'm reading the code wrong the problem
remains that in sa-update the sha1 request returns nothing.  Specifically--

    # Actual archive file
    $content = http_get("$mirror/$newV.tar.gz");
    next unless $content;

so the content is requested and gets a response,

    # SHA1 of the archive file
    $SHA1 = http_get("$mirror/$newV.tar.gz.sha1");
    last unless $SHA1;

request the sha1 file, but if we don't get anything drop out of the loop (it's
going to fail the channel), and since there's no statement saying that the
request failed it must have succeeded (200 response, etc),

    # if GPG is enabled, the GPG detached signature of the archive file
    if ($GPG_ENABLED) {
      $GPG = http_get("$mirror/$newV.tar.gz.asc");
      last unless $GPG;
    }

per the debug output gpg is enabled, and we never see this request, so we have
to assume the sha1's last is run,

  unless ($content && $SHA1 && (!$GPG_ENABLED || $GPG)) {
    channel_failed("channel: could not find working mirror");
    next;
  }

which is the error you get, which happens when there's no sha1 content.


So something's obviously funky, but I have no idea what it is.  At the moment I
can only come up with 2 questions:

1) What version of LWP do you have installed?
2) Is there a way I can get access to this machine to do some debugging?

It has to be something with your setup, but now I'm really curious what it is.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to