R session issue after RStudio upgrade to version 1.3.1073

I upgraded RStudio yesterday. After the upgrade, I started getting the following messages:

R Session Aborted
R encountered a fatal error.
The session was terminated

I have Window 10 laptop. R version 4.0.2 (2020-06-22). I followed previous instructions in the R Studio Community to fix the problem - Reinstalled R, RStudio. Deleted all .RData, .RHistory files. Next renamed RStudio-Desktop, RStudio in %localappdata%, %appdata%\RStudio. The following the text of the log file

14 Sep 2020 19:54:13 [rsession-puran] ERROR system error 10053 (An established connection was aborted by the software in your host machine) [request-uri: /events/get_events]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:113; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:118
14 Sep 2020 20:08:20 [rsession-puran] ERROR system error 10053 (An established connection was aborted by the software in your host machine) [request-uri: /events/get_events]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:113; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:118
15 Sep 2020 00:35:18 [rsession-puran] ERROR system error 10053 (An established connection was aborted by the software in your host machine) [request-uri: /events/get_events]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:113; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:118
But the issue is not resolved.

2 Likes

This is happening to me as well. Have you figured out a solution?

Hi,

I have not found a solution yet.

1 Like

This is very likely antivirus software interfering with the connection between R (rsession.exe) and RStudio (rstudio.exe). If you have antivirus software on your machine, try adding an exception for these processes.

Hi Jonathan,

Thank you for your suggestion. I have McAfee (Total Protection) antivirus software. I never made any changes to it and always have been using the defaults. Can you please provide me some pointers to make the suggested changes?

Thank you.