R server issues connecting to internet


#1

Hello!
I'm trying use R server. I installed following this: https://www.rstudio.com/products/rstudio/download-server/
I get this warning:
WARNING: You are configured to use the CRAN mirror at https://cran.rstudio.com/. This mirror supports secure (HTTPS) downloads however your system is unable to communicate securely with the server (possibly due to out of date certificate files on your system). Falling back to using insecure URL for this mirror.

And I can't install packages. It seems that R cannot connect to the internet. Does anyone has any solutions to this? I'm connecting ssh in Linux server.
Thanks,
Natalia


#2

Hi Natalia and welcome to community.rstudio.com!

Below are two support threads on this topic. As Kevin mentions in both, "It's possible that your antivirus or firewall is blocking the port(s) that R is attempting to use for communication with the CRAN servers. Does temporarily disabling your antivirus help here?"

Could you follow the steps suggested and let us know what happens?

Similar result here too: WARNING: You are configured to use the CRAN mirror at https://cran.rstudio.com/. This mirror supports secure (HTTPS) downloads however your system is unable to communicate securely with the server.