Azure AD test connection issue

Which IIQ version are you inquiring about?

Version 8.X

Share all details related to your problem, including any error messages you may have received.

Test Connection failed with an exception. Error message - Unable to generate access token. Response returned: org.apache.http.conn.HttpHostConnectException: Connect … failed: Connection refused: connect i am stuck with error can anyone help me to solve this issue for Azure AD

As Azure connector is using webservices there is usualy problem.with network connection. Are you sure you configured proxy in iiq for outgoing http(s) trafic?

Thank you kamil jakubiak for your response No i have not configured proxy in iiq for outgoing http(s) traffic. can you guide me how to configure the proxy in iiq. can you share with me any reference link or any starting point ?

You must have the required privileges to edit the Apache Tomcat startup script.
Locate the Tomcat startup script.

The location of the script depends on the OS you are using. The location can be as follows:
In Microsoft™ Windows™, at %CATALINA_HOME%\bin\catalina.bat
In Unix-like systems, at $CATALINA_HOME/bin/catalina.sh

You can also do that in setenv.sh

Open the catalina.sh file for editing and add the following JAVA_OPTS option for the proxy:

JAVA_OPTS="
-Dhttp.proxyHost=<Hostname or IP address of proxy>
-Dhttp.proxyPort=<Port number of your http proxy)
-Dhttps.proxyHost=<Hostname or IP address of proxy>
-Dhttps.proxyPort=<Port number of your https proxy)
"

You may also need to co figure truststore to avoid ssl validation issues

-Djavax.net.ssl.trustStore=/opt/tomcat/bin/yourtrusttore.jks 
-Djavax.net.ssl.trustStorePassword=passphrase

Afterwards you have to restart your tomcat.

Here you can see extract from IIQ Installation Guide

1 Like

Thank you kamil jakubiak.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.