When running a scan, the following message may appear in the codeaware.log file:
INFO c.f.c.analyzers.AutoWriteUpAnalyzer - Failed to get results from AWUService, skipping to next round
This message indicates a problem with the Auto Write-Up (AWU) service during the automated analysis phase. The issue is often linked to network or hostname/port configuration problems.
#1: Review the codeaware.log File
Review the codeaware.log file for any accompanying exceptions. The exception message provides clues to the specific root cause. Common example exceptions include:
UnknownHostExceptionSSLPeerUnverifiedExceptionHttpHostConnectExceptionUsername may not be nullNoRouteToHostExceptionProtocolException
#2: Verify the Core Server Host and Port Configuration
Verify the core server host and port configuration in the PAS_SCAN_SERVERS table by running the following query:
SELECT HOST_, HTTPPORT_ FROM codeinsight.pas_scan_servers WHERE ALIAS_ = 'Core Server';
#3: Confirm the Host and Port Values
Confirm that the values for host and port are correct.
If a proxy or CNAME is used, these values may differ.
#4: Specify a Host and Port for the Core Server
To specify a host and port for the core server, update the server.xml file located in the /tomcat/conf folder:
- Locate the connector node.
- Add the
proxyNameandproxyPortproperties as shown below:<Connector port="8888" protocol="HTTP/1.1"connectionTimeout="20000"redirectPort="8443"compressableMimeType="text/html,text/xml,text/css,text/javascript,application/x-javascript,application/javascript,application/json"compression="on"compressionMinSize="128"noCompressionUserAgents="gozilla, traviata"proxyName="<cname>"proxyPort="<port>" />
- For
proxyName, enter the canonical name (CNAME) of the core server registered in the DNS or reverse proxy server. - For
proxyPort, enter the associated port for the CNAME. - After modifying the file, save the changes and restart Tomcat.
#5: Verify Connectivity Between Scan Server and Core Server
If the hostname and port values are correct, verify connectivity between the scan server and the core server. Update the <core-hostname> and <port> values in the commands below:
- With curl command:
curl -vk http://<core-hostname>:<port>/codeinsight/ - From a Linux environment:
nc -vz <core-hostname> <port> - From a Windows PowerShell environment:
Test-NetConnection <core-hostname> -Port <port>
#6: Ensure Core Server is Operational and Check Connectivity
If the connection test fails, ensure that the core server is operational and that no network connectivity issues exist between the scanner and the core server.
After correcting the configuration or network issue, the AWU service error should no longer appear in subsequent scans.
Related Articles
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago