Login to policy-Manager not possible
search cancel

Login to policy-Manager not possible

book

Article ID: 260283

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Login to API gateway was not possible via the policy manager.

Policy Manager Error

An error has occurred. You may dick "OK" to ignore the message, dick "Report to save an error
report, or dick "Close Manager" to close the Policy Manager.

Cannot connect to the gateway xxx.xxx.xxx.xxx
Please check your connection settings and application log for details.
If the problem persists, please contact your network administrator.


While checking the log trace it was having the below Java error.

javax.security.auth.login.LoginException: login failed: class java.util.Vector cannot be cast to class java.lang.String (java.util.Vector and java.lang.String are in module java.base of loader 'bootstrap')
 at com.l7tech.console.security.SecurityProviderImpl.login(Unknown Source)
 at com.l7tech.console.panels.by.construct(Unknown Source)
 at com.l7tech.gui.util.au.run(Unknown Source)
 at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: class java.util.Vector cannot be cast to class java.lang.String (java.util.Vector and java.lang.String are in module java.base of loader 'bootstrap')
 at java.naming/com.sun.jndi.ldap.LdapReferralException.getNextReferral(LdapReferralException.java:244)

Environment

Release : 10.1

Resolution

The error indicate the Policymanager can not connect to the gateway , verify the network using curl for example .

It was a problem at the firewall at the customer side , once they opened the specific port on the firewall it was again possible to connect.