Error connecting to a remote AMIS Service via Auth Harness Prime
Originally Published: 2020-12-28
Last Modified: 2023-09-22
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
'decrypt error: IV missing' in Java auth API trace log 26Number of Views Auth Source on login screen changes randomly in SecurID Governance & Lifecycle 70Number of Views 'PASSCODE REUSE ATTACK DETECTED' or 'SIMULTANEOUS AUTH detected' 265Number of Views AM Auth SDK 8.5 (for Java) troubleshooting -- Invalid config file Invalid bootstrap data 162Number of Views RSA Authentication Manager Auth SDK 8.5 (Java) failed on startup (TLS_DHE_RSA_WITH_AES_256_CBC_SHA) 243Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Manual synchronization introduced in RSA Authentication Manager 8.2 Service Pack 1 patch 6 Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory How to verify NTP server synchronization is not working in RSA Authentication Manager 8.x RSA Governance & Lifecycle 8.0.0 Installation Guide
Don't see what you're looking for?