Skip to content

Windows 11: intermittent blank workbench and localhost connection resets after sign-in or relaunch #19791

Open

Description

@goldtael

System details

RStudio Edition : <!-- Desktop  -->
RStudio Version : 2026.11.0+203
OS Version      :  Windows 11 Pro
R Version       :  4.6.2

Steps to reproduce the problem

Sign -in Windows and start RStudio Desktop

Describe the problem in detail

RStudio Desktop on Windows 11 Pro can load immediately after Windows sign-in, but launching after several minutes or closing and reopening RStudio produce a blank workbench with missing menu content. The problem began after the October upgrade and persisted across multiple releases, including 2026.11.0+203. Earlier testing captured intermittent incomplete localhost workbench JavaScript downloads, including failures reproduced with curl. A session that loads can also show Data Viewer failures with ERR_CONNECTION_RESET and c.setOption is not a function, including with View(mtcars). Rendering changes, state resets, process cleanup, and a fresh Windows user profile did not resolve it.

Describe the behavior you expected

  • [x ] I have read the guide for submitting good bug reports.
  • [x ] 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 theissue type on Nov 22, 2026
  2. self-assigned this
    on Nov 23, 2026
  3. gtritchie commented on Nov 23, 2026

    @gtritchie
    Member

    Thanks for the detailed report. The curl result is the most useful part: it means responses from RStudio's local R session are being cut off below the browser, so the cause is probably not RStudio's UI or your Windows profile. The setOption is not a function error in the Data Viewer looks like a side effect of the same problem: the viewer page failed to load because its connection was reset.

    A few things would help us narrow it down. Please collect 1–3 while the problem is happening, after the delay following sign-in:

    1. The exact curl failure. Find the port RStudio's R session is using:

      Get-CimInstance Win32_Process -Filter "Name like 'rsession%'" | Select-Object -ExpandProperty CommandLine

      The number after --www-port is the port. Then run this a few times (use curl.exe, not curl, in PowerShell) and paste the last few lines of output:

      curl.exe -v -o NUL http://127.0.0.1:<port>/rstudio.nocache.js

      We're most interested in whether it ends with "transfer closed with N bytes remaining" (exit code 18) or "Connection was reset" (exit code 56).

    2. Connection and port state. From an administrator command prompt:

      netstat -ano | find /c "TIME_WAIT"
      netsh int ipv4 show dynamicport tcp
      netsh int ipv4 show excludedportrange protocol=tcp
      
    3. Network filtering software. Do you have antivirus, endpoint protection, VPN, proxy, or web-filtering software installed (for example Zscaler, Netskope, GlobalProtect, Cisco AnyConnect, CrowdStrike, Sophos, or a third-party antivirus)? The output of fltmc from an administrator prompt lists installed filter drivers. You said it works right after sign-in but fails a few minutes later. That timing often means a background service that starts after login is intercepting local network traffic.

    4. Clean boot. Does the problem still happen after a clean boot, with non-Microsoft services disabled?

    5. An older release. You mentioned this began after an October upgrade. Was that an RStudio upgrade (to 2026.10) or a Windows update? If you can, please install RStudio 2026.09.0 and tell us whether it shows the same problem. That tells us whether a change in RStudio 2026.10 is involved.

  4. removed their assignment
    on Nov 23, 2026
  5. added
    info needed
    on Nov 23, 2026
  6. goldtael commented on Nov 29, 2026

    @goldtael
    Author

    Update: likely cause identified (AdGuard for Windows)

    The blank/incompletely loaded workbench appears to be caused by
    AdGuard for Windows on my computer.

    Evidence:

    • The same RStudio setup starts normally on a different computer
      without AdGuard.
    • On the affected computer, temporarily disabling AdGuard let RStudio
      load normally.

    This matches the earlier symptoms: intermittent localhost resource
    resets (ERR_CONNECTION_RESET, ERR_EMPTY_RESPONSE, socket error 10054),
    a blank workbench, and Data Viewer failures.

    Details:

    • AdGuard for Windows version: [8.0.4]
    • RStudio version: 2026.11.0+203
    • Windows version: Windows 11 Pro [26H2 26300.9974]

    What I have verified:

    • AdGuard disabled: RStudio loads normally.

    What I have NOT yet verified:

    • Which specific AdGuard feature or setting is responsible.
    • Whether a narrower exception fixes it. I am testing:
      1. Turning off "Filter localhost"
      2. Excluding rstudio.exe and rsession from filtering
        [Update this section with your results.]

    I will update this issue with the exact setting that resolves it.

    Suggestion for RStudio: it may help to detect or document this case
    (for example, a startup message or troubleshooting note when local
    connections to the RStudio session are reset by filtering software).

  7. added and removed
    info needed
    on Nov 30, 2026
  8. gtritchie commented on Nov 30, 2026

    @gtritchie
    Member

    Thanks for the followup. We'll look into handling this type of error in a more helpful fashion.

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