Score:0

APP_PROTECT failed to get compilation status

br flag

I have installed Nginx Plus and App Protect (provided by Nginx Plus and F5). I followed the config guide (https://docs.nginx.com/nginx-app-protect/configuration/). The issue is whenever I add the lines

app_protect_enable on;
/etc/app_protect/conf/NginxDefaultPolicy.json";

In nginx.conf (as shown in the config guide link above), I am getting a weird error which says APP_PROTECT failed to get compilation status.

Nginx error log shows this:

2021/11/01 02:37:16 [notice] 5967#5967: APP_PROTECT { "event": "configuration_load_start", "configSetFile": "/opt/app_protect/config/config_set.json" }
2021/11/01 02:37:16 [error] 5967#5967: APP_PROTECT failed to get compilation status

Please help if anyone else is facing the same problem. Emailed to nginx plus support and I am yet to receive a reply from them (48 hours have passed since emailing them)

djdomi avatar
za flag
could it be, that app_protect_policy_file is missing? a Standalone File can never be a valid argument in nginx - NEVER :-)
Rahul Biswas avatar
br flag
I followed the guide to set up app protect. It was the default file so I don't see any issues.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.