Database Connection Issues

Hi all,

New to Blue Prism support so apologies if this is a common issue.

We are experiencing some strange db connection issues.

Error: Could not connect to database 'PA application server'

Connection failed - Exception has been thrown by the targetof an invocation.



System.Reflection.TargetInvocationException: Exception hasbeen thrown by the target of an invocation. --->System.Net.Sockets.SocketException: No connection could be made because thetarget machine actively refused it IP XXX.XXX.XX.XXX

Server stack trace:
atSystem.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddresssocketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
atSystem.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPointipEndPoint)
atSystem.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
atSystem.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
at System.Runtime.Remoting.Channels.SocketCache.GetSocket(StringmachinePortAndSid, Boolean openNew)
atSystem.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessagemsg, ITransportHeaders requestHeaders, Stream requestStream)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessagemsg, ITransportHeaders requestHeaders, Stream requestStream,ITransportHeaders& responseHeaders, Stream& responseStream)
atSystem.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessagemsg)
 

sgbreslin

New Member
We have been experiencing similar issue with our production server. If we do a restart on the runtime resources they then show with the error: 'No connection could be made because the target machine actively refused it IP XXX.XXX.XX.XXX', the resource then continually tries to establish a connection which shows as 'Missing' or 'Lost'. We can only resolve this by remotely logging back onto the runtime resource, the issue only started occurring since last week, until then we had no issues.
 

lovelmark

New Member
This error is a network-related error occurred while establishing a connection to the Server. It means that the error is occurring because there is no server listening at the hostname and port you assigned. It happens that something is preventing a connection to the port or hostname. Either there is a firewall blocking the connection or the process that is hosting the service is not listening on that specific port. This may be because it is not running at all or because it is listening on a different port. So, no connection can be established. The solution to this problem is that connect to the same end point your server is listening on.
 
Top