0

AN ERROR OCCURS when I knit an Rmd into HTML and republish it to RPubs. There is no problem with the initial upload or republishing long ago Rmd.

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

I have tried the simplest HTML document. So, the error is not due to the file size.

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

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

## R Markdown

> 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 version 4.3.1
RStudio version 2023.06.1+524
macOS Ventura 13.5
MacBook Air M2

1 Answers1

0

I have fixed the republishing issue.

remove.packages("rsconnect") #Remove Installed Packages
remotes::install_version("rsconnect", version = "0.8.29") #Installing a Specific Version of a Package

Any higher versions of rsconnect (e.g., 1.0.0, 1.0.1, and latest 1.0.2) will cause the error regarding "HTTP/2 stream 1 was reset".