You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows 11: intermittent blank workbench and localhost connection resets after sign-in or relaunch #19791
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.
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:
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:
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).
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
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.
Clean boot. Does the problem still happen after a clean boot, with non-Microsoft services disabled?
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.
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:
Turning off "Filter localhost"
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).
Activity
gtritchie commentedon Nov 23, 2026
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 functionerror 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:
The exact curl failure. Find the port RStudio's R session is using:
The number after
--www-portis the port. Then run this a few times (usecurl.exe, notcurl, in PowerShell) and paste the last few lines of output: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).
Connection and port state. From an administrator command prompt:
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
fltmcfrom 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.Clean boot. Does the problem still happen after a clean boot, with non-Microsoft services disabled?
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.
goldtael commentedon Nov 29, 2026
Update: likely cause identified (AdGuard for Windows)
The blank/incompletely loaded workbench appears to be caused by
AdGuard for Windows on my computer.
Evidence:
without AdGuard.
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:
What I have verified:
What I have NOT yet verified:
[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).
gtritchie commentedon Nov 30, 2026
Thanks for the followup. We'll look into handling this type of error in a more helpful fashion.