In RSelenium: Undefined error in httr call. httr output: Timeout was reached

Hi all (first time posting here).

I'm using RSelenium, Docker, and Selenium ChromeDriver. Following various online tutorials, this is my script:

library(RSelenium)

eCaps <- list(chromeOptions = list(prefs = list("profile.default_content_settings.popups" = 0L,
"download.prompt_for_download" = FALSE,
"download.default_directory" = "home/seluser/Downloads")))

remDr <- remoteDriver(browserName= "chrome", port=4445L, extraCapabilities = eCaps, remoteServerAddr = "192.168.99.100",)

remDr$open()

^the last line is supposed to connect to the remote server, but I get the following error:

Undefined error in httr call. httr output: Timeout was reached: [192.168.99.100:4445] Connection timed out after 10002 milliseconds

Someone had suggested:
httr::GET("http://cran.r-project.org/Rlogo.jpg", config = httr::config(connecttimeout = 60))

but that does not work for me. Hopefully I posted this question correctly, thanks in advance!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.