Re: [R-SIG-Mac] R-latest.pkg link returning a 403 Forbidden error

2020-02-21 Thread Bob Rudis
Hey Simon (et al),

I setup a 2x daily link checker job for mac.r-project.org. It outputs tabular 
results to https://rud.is/mac-r-project-links/ (timestamp at top is when the 
job ran). One table is for HTTP HEAD results and the other is for HTTPS HEAD 
results since the server doesn't auto-upgrade HTTP to HTTPS which could mean 
different status codes depending the underlying config.

It's also configured to send me a pushover notification for anything but 200 
return status code an I'll post here or privately when you give me the go-ahead 
to do that (since it cld take a bit to fix the below :-).

Right now, the following links have non-200 status codes:

- 404 
http://mac.r-project.org/mavericks/R-3.4-branch/R-3.4-branch-mavericks-signed.pkg
- 404 http://mac.r-project.org/RSwitch-1.1.dmg
- 404 http://mac.r-project.org/RSwitch-1.2.tar.gz
- 404 http://mac.r-project.org/RSwitch-1.1.tar.gz
- 403 
http://mac.r-project.org/el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz

Lemme know if I can do any more monitoring/alerting for the site.

-boB

> On Feb 21, 2020, at 09:12, Patrick Schratz  wrote:
> 
> Simon, sorry I was wrong with the version.
> In fact, I am getting a 403 with the R-3.6 branch. Other branches work fine.
> 
> curl -Osv 
> http://mac.r-project.org/el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz
>   I
> * Trying 184.172.231.50...
> * TCP_NODELAY set
> * Connected to mac.r-project.org (184.172.231.50) port 80 (#0)
>> GET /el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz 
>> HTTP/1.1
>> Host: mac.r-project.org
>> User-Agent: curl/7.64.1
>> Accept: */*
>> 
> < HTTP/1.1 403 Forbidden
> < Date: Fri, 21 Feb 2020 14:08:51 GMT
> < Server: Apache
> < Content-Length: 266
> < Content-Type: text/html; charset=iso-8859-1
> <
> { [266 bytes data]
> * Connection #0 to host mac.r-project.org left intact
> * Closing connection 0
> 
> Can anyone reproduce this or is this really on my side? If you, any hints on 
> resolving this?
> On 20. Feb 2020, 20:36 +0100, Simon Urbanek , 
> wrote:
>> Patrick,
>> 
>> it works just fine for me:
>> 
>> $ curl -s -v -o /dev/null https://mac.r-project.org/bin/macosx/R-latest.pkg
>> * Trying 184.172.231.50...
>> * TCP_NODELAY set
>> * Connected to mac.r-project.org (184.172.231.50) port 443 (#0)
>> * ALPN, offering h2
>> * ALPN, offering http/1.1
>> * Cipher selection: 
>> ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
>> * successfully set certificate verify locations:
>> [...]
>> * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
>> * ALPN, server accepted to use http/1.1
>> * Server certificate:
>> * subject: CN=mac.r-project.org
>> * start date: Jan 26 18:55:18 2020 GMT
>> * expire date: Apr 25 18:55:18 2020 GMT
>> * subjectAltName: host "mac.r-project.org" matched cert's "mac.r-project.org"
>> * issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
>> * SSL certificate verify ok.
>>> GET /bin/macosx/R-latest.pkg HTTP/1.1
>>> Host: mac.r-project.org
>>> User-Agent: curl/7.54.0
>>> Accept: */*
>>> 
>> < HTTP/1.1 200 OK
>> < Date: Thu, 20 Feb 2020 19:31:51 GMT
>> < Server: Apache
>> < Last-Modified: Sun, 15 Dec 2019 14:09:32 GMT
>> < ETag: "4d4a72f-599bea4d7df00"
>> < Accept-Ranges: bytes
>> < Content-Length: 81045295
>> <
>> 
>> Please make sure you clear your caches and try directly without proxies.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>>> On 20/02/2020, at 9:41 PM, Patrick Schratz  
>>> wrote:
>>> 
>>> @Simon
>>> 
>>> As of today the link still returns a 403 - other R versions work.
>>> Could you have a look? Especially because the Travis CI runner by Jim 
>>> relies on it, this is somewhat pressing.
>>> 
>>> Thanks.
>>> On 18. Feb 2020, 07:43 +0100, Matthias Krawutschke 
>>> , wrote:
 Dear Simon,
 
 thank you so much.
 If I want to download the latest R-package with this link - i´ve got the 
 cryptic signs in the window, but not the file ☹
 
 Best regars….
 
 
 
 Matthias Krawutschke, Dipl. Inf.
 
 Universität Potsdam
 ZIM - Zentrum für Informationstechnologie und Medienmanagement
 Team High-Performance-Computing on Cluster - Environment
 
 Campus Am Neuen Palais: Am Neuen Palais 10 | 14469 Potsdam
 Tel: +49 331 977-, Fax: +49 331 977-1750
 
 Internet: https://www.uni-potsdam.de/de/zim/angebote-loesungen/hpc.html
 
 
 -Ursprüngliche Nachricht-
 Von: R-SIG-Mac  Im Auftrag von Simon 
 Urbanek
 Gesendet: Freitag, 14. Februar 2020 19:15
 An: Jim Hester 
 Cc: r-sig-mac@r-project.org
 Betreff: Re: [R-SIG-Mac] R-latest.pkg link returning a 403 Forbidden error
 
 Thanks, should be fixed now (adding index removed symlink following 
 permission).
 Simon
 
 
> On Feb 15, 2020, at 4:50 AM, Jim Hester  wrote:
> 
> The link https://mac.r-project.org/bin/macosx/R-latest.pkg which
> previously served the latest version of R is now returning a 403. 

Re: [R-SIG-Mac] R-latest.pkg link returning a 403 Forbidden error

2020-02-21 Thread peter dalgaard
Same here. Signed version is fine, though.

http://mac.r-project.org/el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-signed.pkg

-pd

> On 21 Feb 2020, at 15:12 , Patrick Schratz  wrote:
> 
> Simon, sorry I was wrong with the version.
> In fact, I am getting a 403 with the R-3.6 branch. Other branches work fine.
> 
> curl -Osv 
> http://mac.r-project.org/el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz
>   I
> * Trying 184.172.231.50...
> * TCP_NODELAY set
> * Connected to mac.r-project.org (184.172.231.50) port 80 (#0)
>> GET /el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz 
>> HTTP/1.1
>> Host: mac.r-project.org
>> User-Agent: curl/7.64.1
>> Accept: */*
>> 
> < HTTP/1.1 403 Forbidden
> < Date: Fri, 21 Feb 2020 14:08:51 GMT
> < Server: Apache
> < Content-Length: 266
> < Content-Type: text/html; charset=iso-8859-1
> <
> { [266 bytes data]
> * Connection #0 to host mac.r-project.org left intact
> * Closing connection 0
> 
> Can anyone reproduce this or is this really on my side? If you, any hints on 
> resolving this?
> On 20. Feb 2020, 20:36 +0100, Simon Urbanek , 
> wrote:
>> Patrick,
>> 
>> it works just fine for me:
>> 
>> $ curl -s -v -o /dev/null https://mac.r-project.org/bin/macosx/R-latest.pkg
>> * Trying 184.172.231.50...
>> * TCP_NODELAY set
>> * Connected to mac.r-project.org (184.172.231.50) port 443 (#0)
>> * ALPN, offering h2
>> * ALPN, offering http/1.1
>> * Cipher selection: 
>> ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
>> * successfully set certificate verify locations:
>> [...]
>> * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
>> * ALPN, server accepted to use http/1.1
>> * Server certificate:
>> * subject: CN=mac.r-project.org
>> * start date: Jan 26 18:55:18 2020 GMT
>> * expire date: Apr 25 18:55:18 2020 GMT
>> * subjectAltName: host "mac.r-project.org" matched cert's "mac.r-project.org"
>> * issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
>> * SSL certificate verify ok.
>>> GET /bin/macosx/R-latest.pkg HTTP/1.1
>>> Host: mac.r-project.org
>>> User-Agent: curl/7.54.0
>>> Accept: */*
>>> 
>> < HTTP/1.1 200 OK
>> < Date: Thu, 20 Feb 2020 19:31:51 GMT
>> < Server: Apache
>> < Last-Modified: Sun, 15 Dec 2019 14:09:32 GMT
>> < ETag: "4d4a72f-599bea4d7df00"
>> < Accept-Ranges: bytes
>> < Content-Length: 81045295
>> <
>> 
>> Please make sure you clear your caches and try directly without proxies.
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>>> On 20/02/2020, at 9:41 PM, Patrick Schratz  
>>> wrote:
>>> 
>>> @Simon
>>> 
>>> As of today the link still returns a 403 - other R versions work.
>>> Could you have a look? Especially because the Travis CI runner by Jim 
>>> relies on it, this is somewhat pressing.
>>> 
>>> Thanks.
>>> On 18. Feb 2020, 07:43 +0100, Matthias Krawutschke 
>>> , wrote:
 Dear Simon,
 
 thank you so much.
 If I want to download the latest R-package with this link - i´ve got the 
 cryptic signs in the window, but not the file ☹
 
 Best regars….
 
 
 
 Matthias Krawutschke, Dipl. Inf.
 
 Universität Potsdam
 ZIM - Zentrum für Informationstechnologie und Medienmanagement
 Team High-Performance-Computing on Cluster - Environment
 
 Campus Am Neuen Palais: Am Neuen Palais 10 | 14469 Potsdam
 Tel: +49 331 977-, Fax: +49 331 977-1750
 
 Internet: https://www.uni-potsdam.de/de/zim/angebote-loesungen/hpc.html
 
 
 -Ursprüngliche Nachricht-
 Von: R-SIG-Mac  Im Auftrag von Simon 
 Urbanek
 Gesendet: Freitag, 14. Februar 2020 19:15
 An: Jim Hester 
 Cc: r-sig-mac@r-project.org
 Betreff: Re: [R-SIG-Mac] R-latest.pkg link returning a 403 Forbidden error
 
 Thanks, should be fixed now (adding index removed symlink following 
 permission).
 Simon
 
 
> On Feb 15, 2020, at 4:50 AM, Jim Hester  wrote:
> 
> The link https://mac.r-project.org/bin/macosx/R-latest.pkg which
> previously served the latest version of R is now returning a 403. Is
> this an intentional change, or is it an unintentional? This link is
> used by the Travis-CI build scripts for macOS, so if the link is no
> longer valid we will need to update the script.
> 
> Thanks,
> 
> Jim
> 
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>>> [[alternative HTML version deleted]]
>>> 
>>> ___
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac@r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> 

Re: [R-SIG-Mac] R-latest.pkg link returning a 403 Forbidden error

2020-02-21 Thread Patrick Schratz
Simon, sorry I was wrong with the version.
In fact, I am getting a 403 with the R-3.6 branch. Other branches work fine.

curl -Osv 
http://mac.r-project.org/el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz
  I
* Trying 184.172.231.50...
* TCP_NODELAY set
* Connected to mac.r-project.org (184.172.231.50) port 80 (#0)
> GET /el-capitan/R-3.6-branch/R-3.6-branch-el-capitan-sa-x86_64.tar.gz HTTP/1.1
> Host: mac.r-project.org
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Date: Fri, 21 Feb 2020 14:08:51 GMT
< Server: Apache
< Content-Length: 266
< Content-Type: text/html; charset=iso-8859-1
<
{ [266 bytes data]
* Connection #0 to host mac.r-project.org left intact
* Closing connection 0

Can anyone reproduce this or is this really on my side? If you, any hints on 
resolving this?
On 20. Feb 2020, 20:36 +0100, Simon Urbanek , 
wrote:
> Patrick,
>
> it works just fine for me:
>
> $ curl -s -v -o /dev/null https://mac.r-project.org/bin/macosx/R-latest.pkg
> * Trying 184.172.231.50...
> * TCP_NODELAY set
> * Connected to mac.r-project.org (184.172.231.50) port 443 (#0)
> * ALPN, offering h2
> * ALPN, offering http/1.1
> * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
> * successfully set certificate verify locations:
> [...]
> * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
> * ALPN, server accepted to use http/1.1
> * Server certificate:
> * subject: CN=mac.r-project.org
> * start date: Jan 26 18:55:18 2020 GMT
> * expire date: Apr 25 18:55:18 2020 GMT
> * subjectAltName: host "mac.r-project.org" matched cert's "mac.r-project.org"
> * issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
> * SSL certificate verify ok.
> > GET /bin/macosx/R-latest.pkg HTTP/1.1
> > Host: mac.r-project.org
> > User-Agent: curl/7.54.0
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < Date: Thu, 20 Feb 2020 19:31:51 GMT
> < Server: Apache
> < Last-Modified: Sun, 15 Dec 2019 14:09:32 GMT
> < ETag: "4d4a72f-599bea4d7df00"
> < Accept-Ranges: bytes
> < Content-Length: 81045295
> <
>
> Please make sure you clear your caches and try directly without proxies.
>
> Cheers,
> Simon
>
>
>
> > On 20/02/2020, at 9:41 PM, Patrick Schratz  
> > wrote:
> >
> > @Simon
> >
> > As of today the link still returns a 403 - other R versions work.
> > Could you have a look? Especially because the Travis CI runner by Jim 
> > relies on it, this is somewhat pressing.
> >
> > Thanks.
> > On 18. Feb 2020, 07:43 +0100, Matthias Krawutschke 
> > , wrote:
> > > Dear Simon,
> > >
> > > thank you so much.
> > > If I want to download the latest R-package with this link - i´ve got the 
> > > cryptic signs in the window, but not the file ☹
> > >
> > > Best regars….
> > >
> > >
> > >
> > > Matthias Krawutschke, Dipl. Inf.
> > >
> > > Universität Potsdam
> > > ZIM - Zentrum für Informationstechnologie und Medienmanagement
> > > Team High-Performance-Computing on Cluster - Environment
> > >
> > > Campus Am Neuen Palais: Am Neuen Palais 10 | 14469 Potsdam
> > > Tel: +49 331 977-, Fax: +49 331 977-1750
> > >
> > > Internet: https://www.uni-potsdam.de/de/zim/angebote-loesungen/hpc.html
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: R-SIG-Mac  Im Auftrag von Simon 
> > > Urbanek
> > > Gesendet: Freitag, 14. Februar 2020 19:15
> > > An: Jim Hester 
> > > Cc: r-sig-mac@r-project.org
> > > Betreff: Re: [R-SIG-Mac] R-latest.pkg link returning a 403 Forbidden error
> > >
> > > Thanks, should be fixed now (adding index removed symlink following 
> > > permission).
> > > Simon
> > >
> > >
> > > > On Feb 15, 2020, at 4:50 AM, Jim Hester  
> > > > wrote:
> > > >
> > > > The link https://mac.r-project.org/bin/macosx/R-latest.pkg which
> > > > previously served the latest version of R is now returning a 403. Is
> > > > this an intentional change, or is it an unintentional? This link is
> > > > used by the Travis-CI build scripts for macOS, so if the link is no
> > > > longer valid we will need to update the script.
> > > >
> > > > Thanks,
> > > >
> > > > Jim
> > > >
> > >
> > > ___
> > > R-SIG-Mac mailing list
> > > R-SIG-Mac@r-project.org
> > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> > >
> > > ___
> > > R-SIG-Mac mailing list
> > > R-SIG-Mac@r-project.org
> > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
> > [[alternative HTML version deleted]]
> >
> > ___
> > R-SIG-Mac mailing list
> > R-SIG-Mac@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac