posit-dev / posit-dev/rsconnect-python
Message `Error: Unable to infer Connect server type and setup server` not very informative
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37
- Forks
- 28
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
For example:
$ rsconnect deploy shiny -n rstudioservices .
Error: Unable to infer Connect server type and setup server.
It turned out that I had added the the server without an API key, but it took me a good while to figure that out. It would save a lot of time if the error message said what the problem was, and how to fix it. (I ended up removing the server and adding it again, with the API key.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rsconnect deploy shiny -n rstudioservices . command and trace where the “Unable to infer Connect server type and setup server” message is generated. The issue is done when a missing API key produces an informative message explaining the problem and how to fix it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100