Skip to content

IDE hangs when canceling publishing to Posit Connect after console shows Waiting for authentication...  #14386

Open

Description

@astayleraz

System details

RStudio Edition : Server
RStudio Version : 2023.12.2+407, 2023.09.2+508, and 2022.12.1+366
OS Version      : ubuntu20 and ubuntu22
R Version       : 4.2.2 and 4.3.0

Steps to reproduce the problem

  1. Create a default R Markdown file and save it.
  2. Click to publish it and select Posit connect.
  3. Publish the document with source code.
  4. Click next and select to Connect Account with Posit Connect.
  5. Set rsc.radixu.com as the servername and click next.
  6. Wait for the Connect to R window to show and wait for the text Waiting for authentication... to show in the Console.
  7. Click to Cancel and close that window and click to cancel on the other 2 modals.
  8. Attempt to do other things in the IDE.

pub_cancel_hanging

Describe the problem in detail

The IDE hangs and I have to kill the session from the home page or terminate R if prompted to get going again. Looking at the console it looks like the call get_user_from_token is stuck in pending forever.

Screenshot 2024-03-06 at 3 09 14 PM

Describe the behavior you expected

I would not expect the IDE to get stuck hanging and be unusable.

Note: This was reported from an internal support ticket: 101325

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on Mar 6, 2024
  2. added and removed
    new
    on Mar 8, 2024
  3. gtritchie commented on Mar 8, 2024

    @gtritchie
    Member

    Repro'd on macOS Desktop build 2024.04.0-daily+550, and 2023.12.1+402 "Ocean Storm" Release.

  4. added this to the Product Backlog milestone on Mar 8, 2024
  5. self-assigned this
    on Jul 9, 2024
  6. removed their assignment
    on Jan 14, 2025
  7. added theissue type on May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions