Users unable to login

May 26, 2019 @barr.michaelj Mike

@barr.michaelj wrote:

Hi - I have a sudden and intermittent issue where users are unable to authenticate into RStudio server on a domain joined RHEL7 VM. The login page is displayed to enter credentials, but after a long period of "Waiting for my_VM_hostname..." the attempt times out and the error below is shown. The issue occurs with both AD and local user accounts. Really appreciate help with figuring this out. Info below

Error shown in chrome window

This page isn’t working

my_hostname didn’t send any data.

ERR_EMPTY_RESPONSE

RStudio server version

1.2.1335

sessionInfo()

R version 3.5.3 (2019-03-11)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server 7.6 (Maipo)

Matrix products: default
BLAS: /opt/microsoft/ropen/3.5.3/lib64/R/lib/libRblas.so
LAPACK: /opt/microsoft/ropen/3.5.3/lib64/R/lib/libRlapack.so

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] RevoUtils_11.0.3 RevoUtilsMath_11.0.0

loaded via a namespace (and not attached):
[1] compiler_3.5.3

/etc/pam.d/rstudio

#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth substack system-auth
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth

pam_selinux.so close should be the first session rule

session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so

pam_selinux.so open should only be followed by sessions to be executed in the user context

session required pam_selinux.so open
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include system-auth
session include postlogin
-session optional pam_ck_connector.so

/var/log/messages

May 26 08:23:39 my_hostname rserver[39770]: ERROR system error 74 (Bad message) [description=error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error]; OCCURRED AT: rstudio::core::Error rstudio::core::system::crypto::rsaPrivateDecrypt(const string&, std::string*) /var/lib/jenkins/workspace/IDE_open-source-pipeline_v1.2/src/cpp/core/system/Crypto.cpp:621; LOGGED FROM: void rstudio::server::pam_auth::{anonymous}::doSignIn(const rstudio::core::http::Request&, rstudio::core::http::Response*) /var/lib/jenkins/workspace/IDE_open-source-pipeline_v1.2/src/cpp/server/ServerPAMAuth.cpp:332
May 26 08:24:01 my_hostname kernel: [39630(systemd-logind)]: gsch_notify_post_mount(tmpfs,/run/user/0,tmpfs,6,0000558472321630): done
May 26 08:24:01 my_hostname kernel: gsch_redirfs_add_mnt(/run/user/0 @ Unknown[1021994(tmpfs)]) done: 0
May 26 08:24:01 my_hostname systemd: Created slice User Slice of root.
May 26 08:24:01 my_hostname systemd: Started Session 23 of user root.
May 26 08:24:01 my_hostname systemd: Removed slice User Slice of root.
May 26 08:24:01 my_hostname kernel: gsch_redirfs_rem_mnt(/run/user/0 @ Unknown[1021994(tmpfs)]) done: 0
May 26 08:24:01 my_hostname kernel: [39630(systemd-logind)]: gsch_notify_post_umount(/run/user/0,2): done

rstudio-server verify-installation

Posts: 12

Participants: 3

Read full topic

Previous Article
RStudio Server in Ubuntu - Memory consumption
RStudio Server in Ubuntu - Memory consumption

@ant wrote: Dear all, We've deployed RStudio Server in Ubuntu and we are facing ...

Next Article
system error 13 on verify-installation
system error 13 on verify-installation

@barr.michaelj wrote: (topic withdrawn by author, will be automatically deleted ...