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

Bob Rudis bob @end|ng |rom rud@|@
Fri Feb 21 03:59:15 CET 2020


Aye. It's working fine from more than a few vantage points I've tested
it from via personal internet endpoints and work systems.

I've setup a daily 0500 ET cron job to do a HEAD of said URL and
output a slice of the {httr} response object as JSON to:
https://rud.is/dl/r-latest.json in the event other folks have issues
and need a validation point from a third party.

I've also got a local (not internet-facing) script that monitors the
mirror status (separate from what CRAN does as it's just looking for
last-modified date of src/contrib/PACKAGES,
bin/windows/contrib/3.6/PACKAGES, and
bin/macosx/el-capitan/contrib/3.6/PACKAGES on all HTTPS CRAN mirrors).
It's not internet-facing since I use it to check my own internal CRAN
mirror but I can also make a public JSON endpoint for it as well if
that wld be helpful for folks.

-Bob

On Thu, Feb 20, 2020 at 2:36 PM Simon Urbanek
<simon.urbanek using r-project.org> 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 <patrick.schratz using gmail.com> 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 <krawutschke using uni-potsdam.de>, 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-4444, Fax: +49 331 977-1750
> >>
> >> Internet: https://www.uni-potsdam.de/de/zim/angebote-loesungen/hpc.html
> >>
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: R-SIG-Mac <r-sig-mac-bounces using r-project.org> Im Auftrag von Simon Urbanek
> >> Gesendet: Freitag, 14. Februar 2020 19:15
> >> An: Jim Hester <james.hester using rstudio.com>
> >> Cc: r-sig-mac using 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 <james.hester using rstudio.com> 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 using r-project.org
> >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >>
> >> _______________________________________________
> >> R-SIG-Mac mailing list
> >> R-SIG-Mac using r-project.org
> >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
> >       [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac using r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list