[英]connection to Rserve from RSclient over TLS fails 95% of the time
我遇到了一个问题,在建立 TLS 连接时,我从 RSclient 连接到 Rserv 并且该连接在 95% 的时间内不起作用。 大多数时候它实际上都失败了,并且>有时<它只是有效。 但是,当我在没有 TLS 的情况下建立连接时,它每次都有效。 这是一个不成功的连接:
con <- RS.connect(host = "127.0.0.1", port = 4445, tls = TRUE)
RS.login(con, user = "myRserveUserName", password="myRservePW", authkey=RS.authkey(con))
rsc_abort: read error
Error in RS.authkey(con) : read error - could not obtain response header
同时,在 RServe 控制台中,我收到此错误:
Error: ignoring SIGPIPE signal
Fatal error: unable to initialize the JIT
我将补充一点,我正在运行最新的 R 和库版本以及 openssl。 我将不胜感激任何想法。 谢谢
编辑:添加 sessionInfo() 输出
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server release 6.8 (Santiago)
Matrix products: default
BLAS: /usr/lib64/R/lib/libRblas.so
LAPACK: /usr/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RSclient_0.7-3
loaded via a namespace (and not attached):
[1] compiler_3.4.3
我在 github 上提出了这个错误报告: https : //github.com/su/Rserve/issues/92
开发人员已经确认这是 RSclient 的一个问题,他已经修复了它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.