Here's some tips for troubleshooting proxy settings for Windows Agent.
The cloud agent can be configured to use a proxy server. Configuring the agent proxy settings will only affect the behavior of the agent. The WinHttp system proxy settings used by other system services and applications is not affected when setting the agent proxy settings. Once the agent proxy settings are configured, the agent will be able to connect to the cloud platform and register itself. If the agent can't connect to the cloud platform, you will not see the agent status updated in the Cloud Agent user interface. If this is the case, the issue needs to be resolved. To help you with this - just follow the steps outlined below.
You'll find this information in the agent log file. Where can I find the log file?Where can I find the log file?
Agent log files (Log.txt, Archive.txt) are located here:
C:\Program Data\Qualys\QualysAgent
On XP and Windows Server 2003, agent log files are located here:
C:\Documents and Settings\All Users\Application Data\Qualys\QualysAgent
Possible issues |
No WinHTTP proxies defined This response means agent proxy settings on the client are not configured to talk through a proxy (e.g. the QualysProxy.exe tool has not been run to configure the agent proxy). Next, the agent attempts to detect a WPAD auto-proxy. If proxy settings have been set on the client, the agent will not look for the WPAD auto-proxy. This is only the option to support large networks that implement WPAD. Sample log entrySample log entry 06/02/2015 14:12:57.0588 Information: No WinHTTP proxies defined. Detecting auto proxy... |
No Proxies found This response means no proxies were found and the agent will attempt to complete the request directly. Sample log entrySample log entry 06/02/2015 14:12:57.0931 Information: No proxies found. |
Agent URL proxy settings were configured, neither a username or password were specified, the proxy was detected and it was set for the request. Sample log entriesSample log entries 06/02/2015 14:12:57.0538 Information: No proxy PAC file URL specified 06/02/2015 14:12:57.0548 Information: Setting proxy URL to: <proxy URL> 06/02/2015 14:12:57.0558 Information: No proxy Username specified 06/02/2015 14:12:57.0568 Information: No proxy Password specified 06/02/2015 14:12:57.0578 Information: Proxy detected: <proxy URL> 06/02/2015 14:12:57.0588 Information: Proxy set for request. |
Agent URL proxy settings were configured, a username and possibly a password were specified, the proxy was detected and it was set for the request. Sample log entriesSample log entries 06/02/2015 14:12:57.0538 Information: No proxy PAC file URL specified 06/02/2015 14:12:57.0548 Information: Setting proxy URL to: <proxy URL> 06/02/2015 14:12:57.0578 Information: Proxy detected: <proxy URL> 06/02/2015 14:12:57.0588 Information: Proxy set for request. |
Agent PAC file settings were configured. In addition, no URL proxy settings were configured. Sample log entriesSample log entries 06/02/2015 14:12:57.0578 Information: Setting PAC file URL to: <PAC file URL> 06/02/2015 14:12:57.0588 Information: No proxy URL specified |
Agent URL proxy settings were configured, only a username was specified, the proxy was detected and that it was set for the request. Sample log entriesSample log entries 06/02/2015 14:12:57.0548 Information: No proxy PAC file URL specified 06/02/2015 14:12:57.0558 Information: Setting proxy URL to: <proxy URL> 06/02/2015 14:12:57.0568 Information: No proxy Password specified 06/02/2015 14:12:57.0578 Information: Proxy detected: <proxy URL> 06/02/2015 14:12:57.0588 Information: Proxy set for request. |
Agent PAC file settings were configured, no URL proxy settings were configured, the PAC file proxy URL was set, but it failed to connect to the proxy specified in the PAC file, and the agent is abandoning proxy settings and going direct. Sample log entriesSample log entries 06/02/2015 14:12:57.0528 Information: Setting PAC file URL to: <PAC file URL> 06/02/2015 14:12:57.0538 Information: No proxy URL specified 06/02/2015 14:12:57.0548 Information: No WinHTTP proxies defined. Detecting auto proxy... 06/02/2015 14:12:57.0558 Information: Proxy detected: http 06/02/2015 14:12:57.0568 Information: Proxy set for request. 06/02/2015 14:12:57.0578 Information: Proxy failed: http. Attempting direct connect. 06/02/2015 14:12:57.0588 Information: Proxy removed for request. |
Cloud Agent for Windows Installation Guide
You should see this in the agent log file:
06/02/2015 14:12:57.0588 Information: Proxy detected: <proxy name>...