You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating an existing deployment without an rsconnect subdir present fails when selecting the content to update using appName. (Updating using appId seems to work.)
The logs (attached) make it seem like maybe rsconnect is calling Connect's API expecting to get a single result, but is getting multiple results, and is thus passing a vector of URLs to curl instead of a single URL.
The presence of multiple seemingly-identical results might be a Connect bug, or it might be incorrect API usage. (Perhaps the endpoint is returning all matching bundles, rather than all matching content items.)
> rsconnect::deployDoc("index.Rmd", appName = "test-rmds")
ℹ Discovering document dependencies...
✔ Document dependencies discovered
── Preparing for deployment ────────────────────────────────────────────────────────────────────────────────────────
Found multiple accounts.
Which one do you want to use?
1: server: localhost / username: toph
2: server: rsc.radixu.com / username: toph
Selection: 1
Discovered a previously deployed app named "test-rmds", "test-rmds", "test-rmds", "test-rmds", "test-rmds", and
"test-rmds"
(View it at <http://localhost:3939/content/6441c48e-771b-4db6-ab58-fda27a036386/>,
<http://localhost:3939/content/6441c48e-771b-4db6-ab58-fda27a036386/>,
<http://localhost:3939/content/6441c48e-771b-4db6-ab58-fda27a036386/>,
<http://localhost:3939/content/6441c48e-771b-4db6-ab58-fda27a036386/>,
<http://localhost:3939/content/6441c48e-771b-4db6-ab58-fda27a036386/>, and
<http://localhost:3939/content/6441c48e-771b-4db6-ab58-fda27a036386/>)
What do you want to do?
1: Update the existing app.
2: Create a new app with automatically generated name ("test-rmds-1").
3: Abort this deployment and supply a custom `appName`.
Selection: 1
✔ Re-deploying "test-rmds", "test-rmds", "test-rmds", "test-rmds", "test-rmds", and "test-rmds" to "server: localhost / username: toph"
ℹ Looking up application with id 522, 522, 522, 522, 522, and 522...
Error in curl::curl_fetch_memory(url, handle = handle) :
Argument 'url' must be string.
The text was updated successfully, but these errors were encountered:
This is happening because the result from rsconnect::applications() contains repeated entries. We do not appear to be paginating through the result set.
Updating an existing deployment without an
rsconnect
subdir present fails when selecting the content to update usingappName
. (Updating usingappId
seems to work.)The logs (attached) make it seem like maybe
rsconnect
is calling Connect's API expecting to get a single result, but is getting multiple results, and is thus passing a vector of URLs tocurl
instead of a single URL.The presence of multiple seemingly-identical results might be a Connect bug, or it might be incorrect API usage. (Perhaps the endpoint is returning all matching bundles, rather than all matching content items.)
The text was updated successfully, but these errors were encountered: