【问题标题】:Error in open.connection(x, "rb") : fatal SSL/TLS alertopen.connection(x, "rb") 中的错误:致命的 SSL/TLS 警报
【发布时间】:2019-03-25 01:44:36
【问题描述】:

我正在尝试使用rvest 包抓取以下文件:

page <- read_html("https://www.gutenberg.org/files/55560/55560-0.txt")

但是,我收到以下错误:

Error in open.connection(x, "rb") : 
schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log.

【问题讨论】:

  • 为我工作。我在 W10,rvest_0.3.2.
  • 谢谢,奇怪。同样在 rvest_0.3.2 上,但在 Windows 7 上。不要认为我们不同的操作系统应该有所作为。
  • 您是否尝试过关闭 R 再打开? /我隐藏
  • 哈哈,一会儿试试。
  • 我在使用 GitHub 桌面将 Git 存储库克隆到我的 PC 时收到相同的消息...

标签: r rvest


【解决方案1】:

我在远程连接到我的工作电脑时遇到了这个问题。一些网站运行正常,而另一些网站则收到错误消息。

当我尝试使用 chrome 访问网站时,我无法访问收到错误的网站,所以我想这可能与被禁止的网站/防火墙问题有关。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-05-27
    • 1970-01-01
    • 1970-01-01
    • 2020-10-18
    • 2016-01-22
    • 2020-09-22
    • 1970-01-01
    • 2021-10-31
    相关资源
    最近更新 更多