-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Republishing to RPubs, Error: HTTP/2 stream 1 was reset #976
Comments
I think there's a bad call to deploymentRecord <- function(name,
title,
username,
account,
server,
envVars = NULL,
hostUrl = NULL,
appId = NULL,
bundleId = NULL,
url = NULL,
version = deploymentRecordVersion,
metadata = list()) { Here's the call site in rpubs.R: rpubsRec <- deploymentRecord(recordName, "", "", "rpubs", "rpubs.com", "rpubs.com", id, id,
url, as.numeric(Sys.time())) So here's how the parameters match up to the arguments:
|
I believe the change to envVars happened here: ee06339 |
Additional changes to |
It's probably my fault 😭 |
Argument removal (when and last-sync) in 8f19a2a |
* Fix #976: Republishing to RPubs is broken from RStudio * Satisfy linter * lint and news * the timestamp is not id but an obsolete when --------- Co-authored-by: Aron Atkins <aron@gweep.net>
I don't know what I am doing wrong. Here is my updated dcf:
|
AN ERROR OCCURS when I knit an Rmd into HTML and republish (update existing) 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.
R version 4.3.1
RStudio version 2023.09.0+463
macOS Ventura 13.5.2
MacBook Air, M2
I fixed the republishing issue by downgrading the "rsconnect" R package.
Any higher versions of rsconnect (e.g., 1.0.0, 1.0.1, 1.0.2, 1.1.0 and latest 1.1.1) will cause the error regarding "HTTP/2 stream 1 was reset". After downgrading "rsconnect", RMD files with failed republishing will still not be republished. You need to upload a fresh one.
The text was updated successfully, but these errors were encountered: