Could connect to the R session on RStudio Server

I ran a RStudio Server on a cent-os7 server and it used to work fine for a long time.
Recently I got the error when login remotely from the web browser,
Could connect to the R session on RStudio Server. Error occurred during transmission (6).
I have tried several solutions such as 1) Restart the rstudio-server, 2) Remove the folder ~/.local/share/rstudio,
3) Check the Hard disk space, 4) Download the lastest rstudio-server rpm packages and reinstall, but the error still shows.

rstudio-server verify-installation
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/var/log/rstudio/rstudio-server/rserver.log'.
rstudio-server status
● rstudio-server.service - RStudio Server
   Loaded: loaded (/usr/lib/systemd/system/rstudio-server.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2023-10-26 10:42:33 CST; 1min 47s ago
  Process: 14430 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
 Main PID: 14431 (rserver)
    Tasks: 4
   Memory: 2.6M
   CGroup: /system.slice/rstudio-server.service
           └─14431 /usr/lib/rstudio-server/bin/rserver

Oct 26 10:42:33 localhost systemd[1]: Starting RStudio Server...
Oct 26 10:42:33 localhost systemd[1]: Started RStudio Server.

And there are no error message in the log files.
Today the error information changed:
Cound not connect to the R session on RStudio Server. Unable to connect to service (1)
And result from journalctl:

localhost.localdomain rserver[25663]: ERROR system error 111 (Connection refused) [host: localhost:8787, uri: /rpc/client_init, path: /var/run/rstudio-server/rstudio-rsession/user-d, user-id: 1004, request-uri: /rpc/client_init]; OCCURRED AT void rstudio::core::http::LocalStreamAsyncClient::handleConnect(const rstudio_boost::system::error_code&) src/cpp/server/session/ServerSessionProxy.cpp:124; LOGGED FROM: void rstudio::server::session_proxy::{anonymous}::logIfNotConnectionTerminated(const rstudio::core::Error&, const rstudio::core::http::Request&) src/cpp/server/session/ServerSessionProxy.cpp:512

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.