Skip to content

remove tail parameter when retrieving shinyapps.io logs#1295

Closed
karawoo wants to merge 2 commits intomainfrom
fix-shinyapps-logs
Closed

remove tail parameter when retrieving shinyapps.io logs#1295
karawoo wants to merge 2 commits intomainfrom
fix-shinyapps-logs

Conversation

@karawoo
Copy link
Contributor

@karawoo karawoo commented Feb 19, 2026

Fixes #1294

Tested locally and confirmed that I cannot retrieve logs from shinyapps.io without this fix; with it I am able to.

@aronatkins we might want to consider a CRAN release soon to get this fix out.

@mbaynton
Copy link
Contributor

Ah, we should fix this on the shinyapps.io side so that tail=0 still works.

@mbaynton
Copy link
Contributor

If we follow our usual procedure this fix would go out Monday; it may be sooner depending on how severe of a regression we think this is.

@karawoo
Copy link
Contributor Author

karawoo commented Feb 19, 2026

@mbaynton thanks for taking a look. I'll leave this branch up as a workaround until the fix goes in to shinyapps.io.

@alvarosantamariagomez, @dcaud since you both ran into this issue: is using a development version of rsconnect temporarily workable for you? remotes::install_github("rstudio/rsconnect@fix-shinyapps-logs")

@dcaud
Copy link

dcaud commented Feb 20, 2026

That dev version works for me at the moment. BTW, the reason why I download these logs rather consistently is that so many of them disappear after being overwritten over time. That is, I won't see an infrequent error if it happens just once a week and then those logs are overwritten as time marches on. Regardless, thanks for the dev version and the idea for a more permanent fix.

@dcaud
Copy link

dcaud commented Feb 20, 2026

Hmm. I'm now getting an error on deploy, although I'm not sure if this is an rsconnect issue:

ℹ Capturing R dependencies
✔ Found 123 dependencies
✔ Created bundle of size: 77,360b
ℹ Uploading bundle...
Warning message:
"~/.Rprofile" is missing a trailing newline 
Error in `POST()`:
! <[https://api.shinyapps.io/v1/bundles/11605116](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html#)> failed with HTTP
  status 400
bad checksum

from

rsconnect::deployApp(
  appFiles = app_files,
  appName = app_name,
  account = account_name,
  launch.browser = TRUE,
  forceUpdate = TRUE,
  logLevel = "normal"
)

@dcaud
Copy link

dcaud commented Feb 20, 2026

I can't deploy with the old version or the dev version.

@mbaynton
Copy link
Contributor

The shinyapps.io-side fix for this is out and a few of us have confirmed it's working.

@karawoo
Copy link
Contributor Author

karawoo commented Feb 20, 2026

I'm going to close this PR. @dcaud if you can't figure out the deploy error on your own please feel free to open another issue with as much detail as possible.

@karawoo karawoo closed this Feb 20, 2026
@dcaud
Copy link

dcaud commented Feb 20, 2026

Thanks, the logging and deploying now works for me with the main version of rsconnect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

showLogs Error in GET() failed with HTTP status 501

3 participants