AppFW (WAF) Learning not working anymore

AppFW (WAF) Learning not working anymore

book

Article ID: CTX495153

calendar_today

Updated On:

Description

  • The learning for WAF features is not working anymore, no new data is learned.
  • Even after cleaning the AppFW learning data (CLI command 'reset appfw learningdata'), WAF learning is not working as no new data is learned

Resolution

  1. Restart the aslearn process which is the AppFW learning daemon.
    • This can be done by SSH into the NetScaler and run the following from the NetScaler CLI in shell mode:
pkill aslearn
  1. Confirm that after restarting the aslearn process AppFW is now able to start learning again.

Problem Cause

AppFW learning not working even after resetting the learned data (DB).

Issue/Introduction

Even after cleaning the AppFW learning data, WAF learning was not working as no new data was learned. Restart the aslearn process which is the AppFW learning daemon. This can be done by SSH into the NetScaler and run the following from shell: pkill aslearn

Additional Information

Unable to edit Application Firewall Profile. Error: "communication error with aslearn". (citrix.com)