Closed ShixiangWang closed 5 years ago
Error in open.connection(x, "rb"): Timeout was reached: Resolving timed out after 10000 milliseconds
Traceback:
1. getGEO("GSE10")
2. getAndParseGSEMatrices(GEO, destdir, AnnotGPL = AnnotGPL, getGPL = getGPL,
. parseCharacteristics = parseCharacteristics)
3. getDirListing(sprintf(gdsurl, stub, GEO))
4. xml2::read_html(url)
5. read_html.default(url)
6. suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE,
. options = options))
7. withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
8. read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
9. read_xml.character(x, encoding = encoding, ..., as_html = TRUE,
. options = options)
10. read_xml.connection(con, encoding = encoding, ..., as_html = as_html,
. base_url = x, options = options)
11. open(x, "rb")
12. open.connection(x, "rb")
Finally this QA https://serverfault.com/questions/858649/slow-responses-with-curl-and-wget-on-centos-7?newreg=d2afef92c60a4553a77679a292d8d1ab fix my problem.
Thanks for reporting that this fix worked for you.
Hi @seandavi, it seems I'm having a similar issue, but only when I'm running getGET
via GitHub Actions (link here):
Oddly, this error occurs on Ubuntu, but works fine on MacOS.
Since I'm running the scripts on GitHub's servers, I don't think I have the necessary permissions to use the solution described by @ShixiangWang . Do you know of any alternative solutions?
Many thanks, Brian
I google everywhere I can, but not fix this problem.
Session info