When I open RStudio fresh, open a file in a new window, or open the git diff/commit window (seemingly any new window) the window sits blank white for an indeterminate amount of time on the order of 30 seconds.
I'm on Windows 11 that's fairly heavily managed by my enterprise.
I have tried clearing RStudio's saved state, switching to software rendering, fully removing and reinstalling R and RStudio, and have experimented with other running applications that I can control. It is not related to computer load or loading .RData. Nothing seems to solve the problem.
What's odd is sometimes windows open normally -- it feels like it is occurring at random.
In a "normal" example of behavior, I open a git diff window and wait ~20 seconds for it to render. If I close it then reopen it, it renders immediately the second time.
My question is whether anyone can point me to where I might find a log or other diagnostic to help debug this.
Is there any way to open an rstudio window with the "inspect element" console open to see if a specific web request to localhost is hanging or something?
If I look at network traffic in the console while a window is hung, the first thing that loads when the hanging condition stops is:
http://127.0.0.1:10069/rstudio/424F7B26A100BDF22C40BA04C49B3D1D.cache.js
If I then reload the window I see a few things load before the cache.js...
Any ideas? Seems like something could be blocking a local-host web request for
http://127.0.0.1:10069/rstudio/rstudio.nocache.js
???
This has been happening for a while, atleast since I upgraded to the latest RStudio build "2024.09.1 Build 394" and possibly before, I don't remember a precise start date. It's kind of driving me insane and I REALLY want to get to the bottom of it since I basically operate in RStudio and really don't want to leave the IDE behind.
UPDATE: As is typical of opening issues, this caused me to dig to the next level of my debugging and I've discovered that the content download of cache.js is taking 26 seconds when the hang occurs.
The file in question is 7MB which leads me to winder if something is could be sniffing or throttling on my machine?