NetScaler Gateway EPA scan fails with the following error after upgrading to version 10.5-59.11.
"Failed sending /epas"
This same configuration works when you roll backs to NetScaler Gateway 10.1 or any other 10.5 build.
The fix for this issue is included in NetScaler Gateway 10.5-60.x and 11.0-64.2+ builds.
The NetScaler Gateway EPA may fail if a high number of EPA scans are configured. The issue is caused due to the EPA encryption level on the plugin installed on client which is fixed in NetScaler Gateway 10.5-60.x and 11.0-64.2+ builds.
The EPA scan may fail if a high number of EPA scans are configured as mentioned below:
Configuration for EPA is as below:
add aaa preauthenticationpolicy Pre-Auth-EPA-Windows-Devices "Required_Windows_OS && Required_Windows_AV && Required_Windows_FW" Pre-Auth-EPA-Action-Aw
bind vpn vserver nbs-s-censlb-ndc-ng-benorth -policy Pre-Auth-EPA-Windows-Devices -priority 100
add policy expression Required_Windows_OS "EPA_OS_Win7 || EPA_OS_Win8 || EPA_OS_Win81" -comment "Windows OSes"
add policy expression Required_Windows_AV "EPA_AV_WindowsDefender || EPA_AV_WindowsMSE || EPA_AV_Win_SymantecEP || EPA_AV_Win_Avast || EPA_AV_Win_AVG2 || EPA_AV_Win_AVG2015 || EPA_AV_Win_KasperskyAV || EPA_AV_Win_McAfeeAV || EPA_AV_Win_NortonAll" -comment "Antivirus on Windows OS"
add policy expression Required_Windows_FW "EPA_FW_Win_Firewall || EPA_FW_Win_SymantecEP || EPA_FW_Win_Comodo || EPA_FW_Win_KasperskyAV || EPA_FW2_Win_perskyAV || EPA_FW_Win_McAfeeAV" -comment "Firewall on Windows OS"
If we take nstrace on NetScaler and reproduce the issue, we could not see the GET request for /epas reaching NetScaler.
But in working nstrace we do see /epas GET request reaching NetScaler and NetScaler responding with 200 OK:GET /epas HTTP/1.1Cookie: NSC_EPAC=d85b1108e690bf6ae4e4ab432e398573
CSEC: w8bcQVcSq9R9j1delqJdHVDbj3H9ytIf7ol4mDnEeR3CFyJECEtHMRRkBw9LQMqVkhExKLFUJx7CroT8JiCkGsK6i7Si2rW+EUaIGeWYtJng2dyWtcSBdMPLKAchCm84r+1TBrB3Rn55/qOgtSa1tA==
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; AGEE 8.0;)
Host: gateway.lab.com
Connection: Keep-Alive
Cache-Control: no-cache
HTTP/1.1 200 OK
Content-Length: 24
Cache-control: no-cache, no-store
Pragma: no-cache
Content-Type: text/html
czOZP3hVfMTNBrZqaZkY3g==