[prev in list] [next in list] [prev in thread] [next in thread]
List: spamassassin-users
Subject: Re: Error running sa-update - cannot refresh mirrors file
From: Rodney Baker <rodney () jeremiah31-10 ! net>
Date: 2018-10-31 12:41:55
Message-ID: 5753264.exKjdgQUZB () mako ! vk5ztv ! ampr ! org
[Download RAW message or body]
On Wednesday, 31 October 2018 7:29:51 ACDT RW wrote:
> On Mon, 29 Oct 2018 09:07:09 -0400
>
> Kevin A. McGrail wrote:
> > On 10/29/2018 8:03 AM, Rodney Baker wrote:
> > > re: renaming curl and using wget
> > >
> > > Thanks. Did that - it worked with wget instead of curl, successfully
> > > downloading the mirrors file and all updates. The last failure with
> > > curl was last night.
>
> Can you try
>
> curl --verbose -L -O --remote-time -g --max-redirs 2 --connect-timeout 30
> --max-time 300 http://spamassassin.apache.org/updates/MIRRORED.BY
> > Then you are likely caught up in the buggy curl we've seen on other
> > distros. Thanks for helping confirm it.
>
> I don't think anything has been confirmed. The problem with curl
> failing on an http uri redirecting to https is no longer relevant, and
> presumably curl has successfully fetched the mirror file since the
> current version of SpamAssassin was installed or there wouldn't be a
> cached copy.
Here's the output from that command:
root@mailpi ~ # curl --verbose -L -O --remote-time -g --max-redirs 2 --
connect-timeout 30 --max-time 300 http://spamassassin.apache.org/updates/
MIRRORED.BY
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0*
Trying 40.79.78.1...
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0*
Connected to spamassassin.apache.org (40.79.78.1) port 80 (#0)
> GET /updates/MIRRORED.BY HTTP/1.1
> User-Agent: curl/7.38.0
> Host: spamassassin.apache.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 31 Oct 2018 12:26:54 GMT
* Server Apache/2.4.18 (Ubuntu) is not blacklisted
< Server: Apache/2.4.18 (Ubuntu)
< Last-Modified: Sat, 27 Oct 2018 16:35:00 GMT
< ETag: "576-579386aca20a2"
< Accept-Ranges: bytes
< Content-Length: 1398
<
{ [data not shown]
100 1398 100 1398 0 0 707 0 0:00:01 0:00:01 --:--:-- 707
* Connection #0 to host spamassassin.apache.org left intact
--
==============================================================
Rodney Baker VK5ZTV
rodney.baker@iinet.net.au
CCNA #CSCO12880208
==============================================================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic