RStudio-2022.02.3-492 update - socket error

since update to RStudio-2022.02.3-492 from RStudio-2021.09.1-372 on windows server 2019 we can no longer open more than one copy of Rstudio without receiving a socket error.

2022-06-21T13:32:54.902043Z [rsession-kpm37] ERROR system error 10048 (Only one usage of each socket address (protocol/network address/port) is normally permitted); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::http::initTcpIpAcceptor(class rstudio::core::http::SocketAcceptorService &,const class std::basic_string<char,struct std::char_traits,class std::allocator > &,const class std::basic_string<char,struct std::char_traits,class std::allocator > &) C:\Users\jenkins\workspace-\open-source-pipeline\prairie-trillium\src\cpp\core\include\core/http/TcpIpSocketUtils.hpp:122; LOGGED FROM: int __cdecl main(int,char *const ) C:\Users\jenkins\workspace-\open-source-pipeline\prairie-trillium\src\cpp\session\SessionMain.cpp:2162
2022-06-21T13:32:54.902043Z [rsession-kpm37] ERROR system error 10048 (Only one usage of each socket address (protocol/network address/port) is normally permitted); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::http::initTcpIpAcceptor(class rstudio::core::http::SocketAcceptorService &,const class std::basic_string<char,struct std::char_traits,class std::allocator > &,const class std::basic_string<char,struct std::char_traits,class std::allocator > &) C:\Users\jenkins\workspace-\open-source-pipeline\prairie-trillium\src\cpp\core\include\core/http/TcpIpSocketUtils.hpp:122; LOGGED FROM: int __cdecl main(int,char *const ) C:\Users\jenkins\workspace-\open-source-pipeline\prairie-trillium\src\cpp\session\SessionMain.cpp:2162

the errors shown above start at the timing of the error then are not the timing. These appear in the error code dialogue upon opening and are the same each open. R 4.1.2 was installed previously and we have attempted installation of R 4.2 as well to try and find a solution.

I had found this article: Windows Server user was given access to the RStudio Desktop session of another user · Issue #10488 · rstudio/rstudio · GitHub with the same error, but it shows fixed in an earlier version.

Any ideas as to what we could do?
Already done: defaulted out all settings in rprofile for program files and appdata profile was removed and let re-run. Held ctrl during run and selected each version specifically or 64 bit native, same results on all. netstat shows only one port in use for rstudio when open for one user.

We had removed all settings that would save upon re-open of the program and made sure no git bash or git revisions were being launched or done in global settings. made sure no proxy was being used on the server or in a profile setting as well.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.