AnsweredAssumed Answered

503 on webservice uri

Question asked by shivam shukla on Feb 22, 2018
Latest reply on Feb 23, 2018 by Ian Johnson

Hi,

 

I have installed qualys and activated the agent using activation id and customer id. While checking in logs I am seeing that there are few errors with qualys not able to connect to something called websertvice uri. Please see logs present below and suggest what can be done here.

 

2018-02-23 05:19:08.695 [qualys-cloud-agent][16056]:[Information]:Connection timeout: 60 seconds, Request timeout: 600 seconds
2018-02-23 05:19:08.695 [qualys-cloud-agent][16056]:[Information]:Cert OS: Centos, CA path:
2018-02-23 05:19:08.695 [qualys-cloud-agent][16056]:[Information]:Webservice uri: https://qagpublic.qg1.apps.qualys.com/CloudAgent/
2018-02-23 05:19:09.006 [qualys-cloud-agent][16056]:[Information]:Finished curl request
2018-02-23 05:19:09.007 [qualys-cloud-agent][16056]:[Error]:Http request failed:HTTP response code said error: The requested URL returned error: 503 Service Unavailable
2018-02-23 05:19:09.007 [qualys-cloud-agent][16056]:[Debug]:Retry fail-over URI: skipped
2018-02-23 05:19:09.007 [qualys-cloud-agent][16056]:[Error]:Http request failed: error code: 503
2018-02-23 05:19:09.007 [qualys-cloud-agent][16056]:[Information]:Agent local IP:10.0.196.103
2018-02-23 05:19:09.007 [qualys-cloud-agent.provision][16056]:[Information]:HostID search path: /etc/qualys
2018-02-23 05:19:09.011 [qualys-cloud-agent.provision][16056]:[Information]:Foun

d agent hostid : xxxxxx-xxxx-xxxx-xxxxxx(replaced actual host id here with xxx)
2018-02-23 05:19:09.011 [qualys-cloud-agent][16056]:[Information]:Max cmd execution timeout: 1800 seconds, current timeout: 900 seconds
2018-02-23 05:19:09.011 [qualys-cloud-agent][16056]:[Debug]:Last event time: 1519220391, current time: 1519363149, intervalSeconds: 14400, diff:142758
2018-02-23 05:19:09.011 [qualys-cloud-agent][16056]:[Debug]:INTERVAL_EVENT_SCAN_DISCOVERY timeout: 0 seconds
2018-02-23 05:19:09.012 [qualys-cloud-agent][16056]:[Debug]:Last event time: 1519362726, current time: 1519363149, intervalSeconds: 1800, diff:423
2018-02-23 05:19:09.012 [qualys-cloud-agent][16056]:[Debug]:INTERVAL_EVENT_CAPI timeout: 1377 seconds
2018-02-23 05:19:09.012 [qualys-cloud-agent][16056]:[Debug]:Last event time: 1519362726, current time: 1519363149, intervalSeconds: 1800, diff:423
2018-02-23 05:19:09.012 [qualys-cloud-agent][16056]:[Debug]:INTERVAL_EVENT_CAPI timeout: 1377 seconds
2018-02-23 05:19:09.012 [qualys-cloud-agent][16056]:[Information]:Next event: INTERVAL_EVENT_CAPI, time left: 1377 seconds

 

I am also seeing many instances of errors in logs with this error lines

 

2018-02-21 00:39:33.293 [qualys-cloud-agent][26155]:[Error]:Http request failed:Failure when receiving data from the peer: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
2018-02-21 00:39:33.293 [qualys-cloud-agent][26155]:[Error]:Http request failed: error code: 0
2018-02-21 00:39:33.293 [qualys-cloud-agent][26155]:[Error]:CAPI request failed:
2018-02-21 00:39:33.293 [qualys-cloud-agent][26155]:[Error]:CAPI event failed

 

Please suggest what might be wrong.

Outcomes