Skip to content
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

Verify Connect url on board creation #763

Open
hadley opened this issue Aug 8, 2023 · 2 comments
Open

Verify Connect url on board creation #763

hadley opened this issue Aug 8, 2023 · 2 comments
Labels
feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Aug 8, 2023

To avoid redirects after the fact. Will (presumably need) rstudio/rsconnect#944.

@hadley
Copy link
Member Author

hadley commented Aug 8, 2023

OTOH I can't reproduce it with this code:

library(pins)

key <- Sys.getenv("COLORADO_CONNECT")

board1 <- board_connect(server = "https://colorado.posit.co/rsc", key = key)
board1 |> pin_write(1:10, name = "hadley/test-1")
board1 |> pin_write(1:11, name = "hadley/test-1")

board2 <- board_connect(server = "https://colorado.rstudio.com/rsc", key = key)
board2 |> pin_write(1:10, name = "hadley/test-2")
board2 |> pin_write(1:11, name = "hadley/test-2")

I get a 403 when writing to board2, possibly some url mismatching in the auth layer. I have rsconnect 1.0.1.

...

Oh but maybe that's because key based auth follows a different path.

@aronatkins
Copy link
Contributor

This may be related to rstudio/rsconnect#939, which is reporting a "necessary data rewind wasn't possible" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants