[R-pkg-devel] WinBuilder Debian: GnuTLS recv error

Артём Клевцов @@@@k|evt@ov @end|ng |rom gm@||@com
Mon Oct 28 09:56:33 CET 2019


Hi,

I tried to use curl in examples and get the following error:
GnuTLS recv error (-110): The TLS connection was non-properly terminated.

Can I solve this without dontrun?

Below code of example and traceback:

> # detect encoding of the web pages content
> if (require("curl")) {
+   fetch_url <- function(u) curl_fetch_memory(u)$content
+   detect_raw_enc(fetch_url("https://www.corriere.it"))
+   detect_raw_enc(fetch_url("https://www.vk.com"))
+   detect_raw_enc(fetch_url("https://www.qq.com"))
+   detect_raw_enc(fetch_url("https://kakaku.com"))
+   detect_raw_enc(fetch_url("https://www.incruit.com/"))
+ }
Loading required package: curl
Error in curl_fetch_memory(u) : 
  GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Calls: detect_raw_enc -> fetch_url -> curl_fetch_memory
Execution halted

-- 
Artem Klevtsov



More information about the R-package-devel mailing list