A remote host refused an attempted connect operation

Document ID : KB000009224
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Error occurred during action execution under  <user name> credentials (unable to run action from user <user name>, Verify the user running Nolio agent has privileges to impersonate other users, and that user  <user account> has permissions on Nolio installation folder).

Wrapper.log shows

INFO (ActionsRunner.java:137) - changing log configuration 
log4j:ERROR Could not connect to remote log4j server at [localhost]. We will try again later. 
INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | hh:mm:ss,xxx [main] ERROR (ActionsRunner.java:195) - error occurred 
INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | java.net.ConnectException: A remote host refused an attempted connect operation. 
INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | at java.net.PlainSocketImpl.socketConnect(Native Method) 

INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | at java.net.Socket.<init>(Socket.java:454) 
INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | at java.net.Socket.<init>(Socket.java:234) 
INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | at com.nolio.platform.shared.datamodel.execution.remote.ActionsRunner.init(ActionsRunner.java:183) 
INFO | jvm 1 | yyyy/mm/dd hh:mm:ss xxx | at com.nolio.platform.shared.datamodel.execution.remote.ActionsRunner.main(ActionsRunner.java:107) 

 

 

 

Environment:
Release Automation: 6.xRelease Automation Agent on AIX
Cause:
  • This problem is specific to actions that are configured (in their properties/settings tab) to "Use the following credentials".
  • This would indicate the SSH does not work . 

 

 

 

Resolution:


Make sure you have the right entries in the local host file

Make sure you have a entry in the hosts file for the local host-name 

which looks like 

localip hostname domainname