posit-dev / posit-dev/rsconnect-python

Message `Error: Unable to infer Connect server type and setup server` not very informative

Open
#377 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.