osstech-jp / nginx-mod-am

OpenAM Policy Agent for NGINX
16 stars 11 forks source link

naming_validator(): validation disabled while install nginx_agent. #13

Closed Git-Rajkumar closed 7 years ago

Git-Rajkumar commented 7 years ago

I follow your suggestion to install nginx_agent ,

Openam Setup:

I have installed openam and create a web agent and Configurate the Policy agent after run

 ./bin/nginx

create amAgent file within logs directory, this file throw below message:

  2016-12-20 07:24:34.542       -1 937:139905080936256 all:   =======================================
  2016-12-20 07:24:34.542       -1 937:139905080936256 all: Version: 3.5.0-SNAPSHOT
  2016-12-20 07:24:34.542       -1 937:139905080936256 all: Revision: 13501
  2016-12-20 07:24:34.542       -1 937:139905080936256 all: Build Date: Apr 18 2015 01:29:26
  2016-12-20 07:24:34.542       -1 937:139905080936256 all: Build Machine: constable.internal.forgerock.com
  2016-12-20 07:24:34.542       -1 937:139905080936256 all: =======================================
  2016-12-20 07:24:34.542       -1 937:139905080936256 all: naming_validator(): validation disabled
  2016-12-20 07:24:34.544    Error 937:139905080936256 all: Connection::Connection() cannot resolve address openam.test.mobi:8080, error: Name or service not known (-2)
  2016-12-20 07:24:34.545    Error 937:139905080936256 all: Connection::Connection() cannot resolve address openam.test.mobi:8080, error: Name or service not known (-2)
  2016-12-20 07:24:34.545    Error 937:139905080936256 all: Connection::Connection() cannot resolve address openam.test.mobi:8080, error: Name or service not known (-2)
  2016-12-20 07:24:34.545    Error 937:139905080936256 Agent Profile Service: isRESTServiceAvailable(): An error occured while doing naming request. HTTP error
  2016-12-20 07:24:34.546    Error 937:139905080936256 all: Connection::Connection() cannot resolve address openam.test.mobi:8080, error: Name or service not known (-2)
  2016-12-20 07:24:34.547    Error 937:139905080936256 all: Connection::Connection() cannot resolve address openam.tset.mobi:8080, error: Name or service not known (-2)
  2016-12-20 07:24:34.548    Error 937:139905080936256 all: Connection::Connection() cannot resolve address openam.test.mobi:8080, error: Name or service not known (-2)
  2016-12-20 07:24:34.548    Error 937:139905080936256 Agent Profile Service: isRESTServiceAvailable(): An error occured while doing naming request. HTTP error
  2016-12-20 07:24:34.549    Error 937:139905080936256 Agent Profile Service: Error in rest url :''
  2016-12-20 07:24:34.549    Error 937:139905080936256 all: fetchAndUpdateAgentConfigCache():There is an error while fetching attributes by user magento, using REST service. Status: REST attributes service encountered an error
hamano commented 7 years ago

read this message:

cannot resolve address openam.test.mobi:8080, error: Name or service not known (-2)