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

Error deploying when CONNECT_API_KEY is set #532

Open
mmarchetti opened this issue Jan 9, 2024 · 1 comment
Open

Error deploying when CONNECT_API_KEY is set #532

mmarchetti opened this issue Jan 9, 2024 · 1 comment

Comments

@mmarchetti
Copy link
Collaborator

In rsconnect-python 1.20, deploying from the command line with

rsconnect deploy fastapi -s $SERVER_URL -k $MY_API_KEY ...

fails if CONNECT_API_KEY is set in the environment. The same deployment works with a saved server (same API key):

rsconnect add -s $SERVER_URL -k $MY_API_KEY -n my-server
rsconnect deploy fastapi -n my-server ...
@mmarchetti
Copy link
Collaborator Author

Tested again on 1.24.0 and I can't reproduce the problem. It may have been resolved with the changes in #518.

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

No branches or pull requests

1 participant