On Friday, 2 November 2018 3:45:08 ACDT RW wrote:
> On Wed, 31 Oct 2018 22:59:55 +1030
> 
> Rodney Baker wrote:
> > On Wednesday, 31 October 2018 7:29:51 ACDT RW wrote:
> > > curl --verbose -L -O --remote-time -g --max-redirs 2
> > > --connect-timeout 30 --max-time 300
> > > http://spamassassin.apache.org/updates/MIRRORED.BY
> > 
> > Here's the output from that command:
> > 
> > 
> > < HTTP/1.1 200 OK
> 
> ...
> 
> > { [data not shown]
> 
> So curl is working.

So, I got the error reported again. I tried running the curl command suggested 
above, and it appeared to complete successfully. I then ran sa-update, and got 
the error message. 

--------------------
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 95.216.24.32...
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     
0* Connected to spamassassin.apache.org (95.216.24.32) 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: Tue, 06 Nov 2018 11:36:32 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    615      0  0:00:02  0:00:02 --:--:--   615
* Connection #0 to host spamassassin.apache.org left intact

root@mailpi ~ # sa-update
error: unable to refresh mirrors file for channel updates.spamassassin.org, 
using old file
root@mailpi ~ #
-----------------------------------

This does not appear to be a problem with curl, per se, but rather something 
related to sa-update.

-- 
==============================================================
Rodney Baker
rod...@jeremiah31-10.net
CCNA #CSCO12880208
==============================================================


Reply via email to