Cannot launch SOI 4.2 REST API - HTTP Status 403 - Connection via this interface is not allowed

Document ID : KB000124022
Last Modified Date : 31/12/2018
Show Technical Document Details
Getting below error when trying to connect to rest API using http://servername:7070//rest/alert/4503599635341545/action 

HTTP Status 403 - Connection via this interface is not allowed
type Status report

Message Connection via this interface is not allowed

Description Access to the specified resource has been forbidden.

Error is coming from all the machines except SOI manger server.
SOI 4.2
SOI 4.2 REST API works with secure protocol.

Note: By default, the non-secure interface is not allowed with the Basic authentication (user name and password), where the user name and password are sent as a plain text ( Base64 encoded). If you want to allow Basic authentication over the non-secure connection, you can configure the web.xml file.

You can always use the non-secure interface with other types of authentications: CA EEM token and JSESSION. However, you can use the secure interface with all three types of authentications: Basic (user name and password), CA EEM token, and JSESSION. For more information about these authentication methods, see the REST Web Services Authentication.

Refer following wiki page for more details about this.

1) You may change this and allow basic authentication over non-secure (http), then update "\SOI\SamUI\webapps\rest\WEB-INF\web.xml" as mentioned below. 
 allowPlainCredentials false
 Change the value from "false" to "true" and restart 'CA SOI UI Service' services

2) Now, access REST API with http http://servername:7070/rest/alert/4503599635341545/action