I'm having DNS problems in my server (where Rstudio is installed). For instance, if I ping bioconductor.org I get a fail response, but if I ping its IP, 13.227.106.21, I have a return.
Is there a way to install a Bioconductor package by adding the direct IP of bioconductor.org (or some mirror) to try to avoid the DNA failures I'm experiencing (and hope to solve soon), in order to temporarily circumvent this issue?
I tried setRepositories(addURLs = c(IPbioconductor ="13.227.106.21")) as well as BiocManager::install("GEOquery", site_repository ="13.227.106.21") but none worked.
Note that we use Amazon Cloudfront, and the IP address you identify is likely geo-local and perhaps not even permanent. A better choice would be https://master.bioconductor.org 52.71.54.154, but an even better choice (e.g., because package installations will always occur from North America) would be to engage your system administrator to investigate why bioconductor.org does not resolve; a problem might be that your institute has blacklisted the address, perhaps because other domains directed to the same CloudFront edge node have mis-behaved. The solution is then to convince your administrator to white-list bioconductor.org.
It would also be helpful if you could add a comment indicating where you are trying to connect from, and if you do speak with your system administrator what the problem / solution was.
Thank you Martin. I tried using the options parameter you passed, but once I try to BiocManager::repositories() I get
Error: Bioconductor version cannot be validated; no internet connection?
In addition: Warning messages:
1: In file(con, "r"):
URL 'https://bioconductor.org/config.yaml': status was 'Couldn't resolve host name'
2: In file(con, "r") :
URL 'http://bioconductor.org/config.yaml': status was 'Couldn't resolve host name'
I completely agree. But there is overall DNS failure in our institution (not bioconductor-specific) due to a firewall mess. I just wanted to get things done without having to wait for sysadmins to resolve the issue. I've followed the Offline use section of the vignette to no avail:
>Error: Bioconductor version cannot be validated; no internet connection?
In addition: Warning message:
Bioconductor online version validation disabled; see
?BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS
>
``> BiocManager::repositories()
Error: Bioconductor version cannot be validated; no internet connection?
In addition: Warning message:
Bioconductor online version validation disabled; see
?BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS
> traceback()
4: stop(.msg(...), call. = call.)
3: .stop(txt)
2: .version_validate(version)
1: BiocManager::repositories()``
Thank you Martin. I tried using the options parameter you passed, but once I try to
BiocManager::repositories()
I getError: Bioconductor version cannot be validated; no internet connection? In addition: Warning messages: 1: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'Couldn't resolve host name' 2: In file(con, "r") : URL 'http://bioconductor.org/config.yaml': status was 'Couldn't resolve host name'
Also create this option
There are additional notes in the vignette https://cran.r-project.org/web/packages/BiocManager/vignettes/BiocManager.html in the 'Offline use' section.
But the underlying problem should be investigated...
I completely agree. But there is overall DNS failure in our institution (not bioconductor-specific) due to a firewall mess. I just wanted to get things done without having to wait for sysadmins to resolve the issue. I've followed the Offline use section of the vignette to no avail:
still gives me
What does
traceback()
say after the error?