Error connecting to a remote AMIS Service via Auth Harness Prime
Originally Published: 2020-12-28
Article Number
Applies To
RSA Product/Service Type: Packaged Custom Application
RSA Version/Condition: SID Access Prime
Platform: null
Platform (Other): null
O/S Version: null
Product Name: null
Product Description: null
Issue
url: http://192.168.2.236:8080/auth/authn
Content
<Authentication type="token">
<token userID="hdadmin" passcode="1234" />
</Authentication>
--- RESPONSE --
***** Error ******
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.2.236:8080
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at RSA.Ucm.TDS.Client.WebDriver.ProcessThisRequst(String url, String payloadData, String contentType, WebMethod method, String token) in C:\dev\tfs\Products\Prototypes\tdsharness\TDSClient\WebDriver.cs:line 122
at RSA.Ucm.TDS.Client.WebDriver.Post(String url, String payloadData, String contentType, String token) in C:\dev\tfs\Products\Prototypes\tdsharness\TDSClient\WebDriver.cs:line 106
at tdsAuthenticate.MainWindow.<processPost>b__2(String u, String p) in C:\dev\tfs\Products\Prototypes\tdsharness\tdsAuthenticate\MainWindow.xaml.cs:line 171
at tdsAuthenticate.MainWindow.processWebResponse(String url, String payLoad, Func`3 webProc) in C:\dev\tfs\Products\Prototypes\tdsharness\tdsAuthenticate\MainWindow.xaml.cs:line 149
Cause
Resolution
cd /opt/rsa/primekit/tomcat/tomcat-amis/conf
cp server.xml server.xml.original
2) Edit the server.xml file.
vi server.xml
3) Search for IP 127.0.0.1. You should find the following session.
<Connector port="${tomcat.http.localhost.port}" protocol="${tomcat.protocol}"
redirectPort="${tomcat.http.localhost.port}" address="127.0.0.1" server="Unspecified" xpoweredBy="false" />
3.1) Delete <address="127.0.0.1">. It should end up like this:
<Connector port="${tomcat.http.localhost.port}" protocol="${tomcat.protocol}"
redirectPort="${tomcat.http.localhost.port}" server="Unspecified" xpoweredBy="false" />
3.2) Save and exit.
:wq!
4) Restart all AMPrime Services.
5) After that connect again.
http://192.168.2.236:8080/auth/authn
Related Articles
RSA Access Manager SSLHandshakeException when using Auth SSL 54Number of Views Auth Source on login screen changes randomly in SecurID Governance & Lifecycle 70Number of Views 7./0 Apache Web Agent for Securid/Auth Manager 7.X on Unix - why is RPC required? 66Number of Views AM Auth SDK 8.5 (for Java) troubleshooting -- Invalid config file Invalid bootstrap data 153Number of Views 'PASSCODE REUSE ATTACK DETECTED' or 'SIMULTANEOUS AUTH detected' 261Number of Views
Trending Articles
Troubleshooting RSA SecurID Access Identity Router to RSA Authentication Manager test connection failures RSA SecurID Software Token 5.0.2 Downloads for Microsoft Windows RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Governance & Lifecycle 8.0.0 Administrators Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory
Don't see what you're looking for?