BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sathya66
Barite | Level 11

Hi all,

when we restarted hq agent. we are getting below failure(testing secure connection --failed) and unable to connect to HQ.

is it because of SSL certificates? or something else

 

[sas@test bin]$ ./hq-agent.sh start
Starting HQ Agent...... running (40977).
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]: yes
What is the HQ server IP address: test.com
Should Agent communications to HQ always be secure [default=yes]: Yes
What is the HQ server SSL port [default=7443]: 7443
- Testing secure connection ... Failure
Unable to automatically setup: Unable to connect to HQ

1 ACCEPTED SOLUTION

Accepted Solutions
sathya66
Barite | Level 11

Thanks @Nigel_Pain  @AnandVyas .

 

I moved data folder from agent and restarted the agent service. agent is working fine now without errors.

 

 

View solution in original post

5 REPLIES 5
Nigel_Pain
Lapis Lazuli | Level 10

This might be a red herring but if you've renewed certificates then you also have to recreate the Java Keystores for the Web Application and Environment Manager.

https://go.documentation.sas.com/?docsetId=bimtag&docsetTarget=n1enfdk7f1fjcqn1ggbrx79lm9i0.htm&docs... 

https://go.documentation.sas.com/?docsetId=bimtag&docsetTarget=p1fpnnm9hxkhlzn1x5tkqs1caeg5.htm&docs... 

 

AnandVyas
Ammonite | Level 13
Yes, it could be SSL. What errors do you see in the agent.log? Is the EVM server running on 7443?
sathya66
Barite | Level 11

Thanks @Nigel_Pain  @AnandVyas .

 

I moved data folder from agent and restarted the agent service. agent is working fine now without errors.

 

 

Nigel_Pain
Lapis Lazuli | Level 10

Aye, I've seen that before as a resolution for problems with the EV Agent. But not necessarily with the log messages you were getting.

jcFranklin
SAS Employee

I agree with @AnandVyas , checking the agent log is the first step to diagnosing this issue. We have seen this error related to (for example) not being able to bind to the port or incorrect configuration changes being picked up (such as incorrect hostnames defined in the configuration). 

 

You will find the agent log in your equivalent of Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/log 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 2006 views
  • 4 likes
  • 4 in conversation