UDF Custom anomaly detection tutorial failed

Hello everyone,

last time I was following the tutorial https://docs.influxdata.com/kapacitor/v1.5/guides/anomaly_detection/
and met a problem that when I followed the instruction to add a config snippet in the kapacitor.conf, I found that my chronograf failed to connect to the kapacitor. I’m thinking that it may be caused by the config snippet since everything works without any problems before I add the snippet.

The error msg on the terminal said :
open service *udf.Service: failed to load process info for “tTest”: write error |1: broken pipe

I was wondering that if anyone ever solved this could give me some instructions.

Thank you very much!