You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

将Rmd编织为HTML后重新发布至RPubs时出现curl错误

重新发布HTML到RPubs时出现HTTP/2流重置错误

问题情况

  • 将Rmd文件编织为HTML后,重新发布至RPubs时触发错误
  • 初次上传或重新发布早期Rmd文件无异常

报错内容

Error in curl::curl_fetch_memory(url, handle = handle) :  
HTTP/2 stream 1 was reset 
Calls: <Anonymous> -> http -> <Anonymous> 
Execution halted

已完成排查

  • 使用最简HTML文档测试,排除文件大小导致错误的可能

环境信息

测试用Rmd文件

---
title: "Republishing"
output: html_document
date: "2023-08-08"
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)

R Markdown

### curl版本详情
```r
> curl::curl_version()
$version
[1] "8.1.2"

$ssl_version
[1] "(SecureTransport) LibreSSL/3.3.6"

$libz_version
[1] "1.2.11"

$libssh_version
[1] NA

$libidn_version
[1] NA

$host
[1] "x86_64-apple-darwin22.0"

$protocols
 [1] "dict"    "file"    "ftp"     "ftps"    "gopher"  "gophers" "http"    "https"   "imap"    "imaps"   "ldap"    "ldaps"   "mqtt"    "pop3"   
[15] "pop3s"   "rtsp"    "smb"     "smbs"    "smtp"    "smtps"   "telnet"  "tftp"   

$ipv6
[1] TRUE

$http2
[1] TRUE

$idn
[1] FALSE

系统及软件版本

  • R:4.3.1
  • RStudio:2023.09.0+463
  • macOS:Ventura 13.5.2
  • 设备:MacBook Air M2

最新进展

rsconnect项目的开发者已启动该问题的修复工作


内容的提问来源于stack exchange,提问作者Dexter SherloConan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.13 18:35:02