irods-contrib / irods-cloud-browser

DFC Web Based cloud browser
BSD 2-Clause "Simplified" License
19 stars 13 forks source link

PAM login with v1.0.1 not authenticating, no error message #186

Open trel opened 7 years ago

trel commented 7 years ago

From https://groups.google.com/forum/#!topic/irod-chat/1otfopEEtlQ

I am trying to use the cloud browser. We authenticate using PAM. Works fine with 1.0. PAM itself works with the command line client and also when I test directly with PamAuthCheck.

With version 1.0.1 it just repaints the login screen without any error message when I try to log in. Same with Safari and Chrome. I don't see any corresponding error message in catalina.out for Tomcat.

The iCAT server logs: ul 5 15:58:36 pid:1716 NOTICE: Agent process 22070 started for puser=fconagy and cuser=fconagy from 130.236.100.89 Authenticated Jul 5 15:58:38 pid:22070 ERROR: [-] iRODS/server/core/src/rsApiHandler.cpp:470:readAndProcClientMsg : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [] [-] iRODS/lib/core/src/sockComm.cpp:199:readMsgHeader : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [failed to call 'read header'] [-] libtcp.cpp:240:tcp_read_msg_header : status [SYS_HEADER_READ_LEN_ERR] errno [] -- message [read 0 expected 4]

Jul 5 15:58:38 pid:22070 NOTICE: Agent exiting with status = -4000 Jul 5 15:58:38 pid:1716 NOTICE: Agent process 22074 started for puser=fconagy and cuser=fconagy from 130.236.100.89 Jul 5 15:58:38 pid:1716 NOTICE: Agent process 22070 exited with status 24576 for the attempt.

/cc @fconagy