Skip to content

[R-pkg-devel] HTTP status was '403 Forbidden' on function examples

2 messages · Emanuele Cordano, Uwe Ligges

#
Dear R-package-devel list,

I just submitted an update of 'geotopbricks' on CRAN checks returns the
following error (only Debian-dev).

The example dataset files are available on line through an external URL
that Debian-server cannot access and returns HTTP status 403 Forbidden
(attached below the error message)
I do not know the cause of this error and I kindly ask if this may depend
on the server where the check is launched.
The same check with other distributions (local Ubuntu 16.04 LTS
distribution included) works successfully, downloading correctly example
files from
https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3/geotop.inpts
.
I thank you for any help or suggestion.
Best
Emanuele



* checking examples ... ERROR
Running examples in ?geotopbricks-Ex.R? failed
The error most likely occurred in:
Warning in file(con, "r") :
  cannot open URL
'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3/geotop.inpts':
HTTP status was '403 Forbidden'
Error in file(con, "r") :
  cannot open the connection to
'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3/geotop.inpts'
Calls: declared.geotop.inpts.keywords -> <Anonymous> -> file
Execution halted
#
It could be the server is blocked, either due to nationality or due to 
too many requests to the service.

Anyyway, pls try to implement examples in a way they fail gracefully in 
case the websevice is not reliable.

Best,
Uwe Ligges
On 20.03.2019 10:11, Emanuele Cordano wrote: