osstech-jp / nginx-mod-am

OpenAM Policy Agent for NGINX
16 stars 11 forks source link

Does this policy agent support to Access management 5.1.0? #16

Open UmeshRajani opened 7 years ago

UmeshRajani commented 7 years ago

I'm using Access management 5.1.0 and I have hosted my resources on nginx/1.10.3(ubuntu)

I have tried this agent but getting this exception:

2017/09/08 13:58:14 [alert] 21130#0: worker process 21131 exited on signal 11 (core dumped)
2017-09-08 13:58:14.076    Error 21196:140181860308800 all: Unable to open agent debug file: '/tmp/nginx_agent/logs//amAgent', errno = 13
2017-09-08 13:58:14.076    Error 21196:140181860308800 all: Unable to open local audit file: '/tmp/nginx_agent/logs//audit.log', errno = 13
2017-09-08 13:58:14.076       -1 21196:140181860308800 all: =======================================
2017-09-08 13:58:14.077       -1 21196:140181860308800 all: Version: 3.5.0-SNAPSHOT
2017-09-08 13:58:14.077       -1 21196:140181860308800 all: Revision: 13501
2017-09-08 13:58:14.077       -1 21196:140181860308800 all: Build Date: Apr 18 2015 01:29:26
2017-09-08 13:58:14.077       -1 21196:140181860308800 all: Build Machine: constable.internal.forgerock.com
2017-09-08 13:58:14.077       -1 21196:140181860308800 all: =======================================
2017-09-08 13:58:14.077       -1 21196:140181860308800 all: naming_validator(): validation disabled
2017-09-08 13:58:14.171    Error 21196:140181860308800 all: Connection::Connection() SSL context is not available
2017-09-08 13:58:14.172    Error 21196:140181860308800 all: Connection::request() SSL connection is not available
2017-09-08 13:58:14.172    Error 21196:140181860308800 all: Connection::Connection() SSL context is not available
2017-09-08 13:58:14.172    Error 21196:140181860308800 all: Connection::request() SSL connection is not available
2017-09-08 13:58:14.173    Error 21196:140181860308800 all: Connection::Connection() SSL context is not available
2017-09-08 13:58:14.173    Error 21196:140181860308800 all: Connection::request() SSL connection is not available
2017-09-08 13:58:14.173    Error 21196:140181860308800 AM_SSO_SERVICE: SSOTokenService::getSessionInfo(): Error 21 for sso token ID AQIC5wM2LY4SfcyivacOaL9RPLn1yYR1uv3kVI6iwWS_6Hc.*AAJTSQACMDEAAlNLABMtNjg3NTg3MTk4NTM3NjgyNzcyAAJTMQAA*.
2017-09-08 13:58:14.173    Error 21196:140181860308800 PolicyEngine: Exception encountered: InternalException.
2017-09-08 13:58:14.174    Error 21196:140181860308800 PolicyEngine: am_policy_init: InternalException in PolicyEngine::create_service, Message is Invalid argument., Status code is 2.
2017-09-08 13:58:14.174    Error 21196:140181860308800 all: am_agent_init_internal() unable to initialize the agent's policy object
2017-09-08 13:58:14.265    Error 21196:140181860308800 all: Connection::Connection() SSL context is not available
2017-09-08 13:58:14.265    Error 21196:140181860308800 all: Connection::request() SSL connection is not available
2017-09-08 13:58:14.266    Error 21196:140181860308800 all: Connection::Connection() SSL context is not available
2017-09-08 13:58:14.266    Error 21196:140181860308800 all: Connection::request() SSL connection is not available
2017-09-08 13:58:14.266    Error 21196:140181860308800 all: Connection::Connection() SSL context is not available
2017-09-08 13:58:14.266    Error 21196:140181860308800 all: Connection::request() SSL connection is not available
2017-09-08 13:58:14.266    Error 21196:140181860308800 AM_SSO_SERVICE: SSOTokenService::getSessionInfo(): Error 21 for sso token ID AQIC5wM2LY4SfcwSMgTKdgEadRYFHerUL1jzc-ppOFdTTZ4.*AAJTSQACMDEAAlNLABQtODg1MzEwODUzNjcyODI5ODE5MgACUzEAAA..*.
2017-09-08 13:58:14.267    Error 21196:140181860308800 PolicyEngine: Exception encountered: InternalException.
2017-09-08 13:58:14.267    Error 21196:140181860308800 PolicyEngine: am_policy_init: InternalException in PolicyEngine::create_service, Message is Invalid argument., Status code is 2.
2017-09-08 13:58:14.267    Error 21196:140181860308800 all: am_agent_init_internal() unable to initialize the agent's policy object