Hi Anbalagan,
Some questions on this issue.
Are you still seeing the issue?
Is is something which happens often and is it repeatable?
What state is the 'Workflow status' is when the function is invoked?
Does the 'Action status' or 'Workflow status' show any errors.
To get more logging for a Resilient Function execution you can run Resilient circuits in DEBUG mode.
There are 2 ways to run in debug mode .
From command-line:
resilient-circuits run --loglevel=DEBUG
Set option in the [resilient] section of the app.config file:
loglevel=DEBUG
This should add extra debug logging in Resilient circuits log and hopefully help to debug the issue.
Regards,
John
------------------------------
JOHN PRENDERGAST
------------------------------
Original Message:
Sent: Mon September 23, 2019 10:38 AM
From: Anbalagan Rajagopal
Subject: Sometimes functions are not invoked
Hi,
I see that sometimes function (py function implementation) are not invoked in Action Processor.
For example, If I invoke function "fn_bigfix_artifact" from Resilient. I could see below print in the Action Module.
2019-09-23 19:53:50,299 INFO [actions_component] Event: <fn_bigfix_artifact[] (id=7, workflow=bigfix_query_for_artifact, user=anbalagan@secbounty.com) 2019-09-23 14:23:50.505000> Channel: functions.fn_bigfix_artifact
But the actual python function is not getting invoked.
But if I rerun the "resilient-circuit run" program, it is working properly (the python function is invoked).
I have more function in my Resilient deployment which will be called frequently from workflows.
Calling more function causes any issue?
Any procedure to debug the issue?
Regards,
Anbalagan R
------------------------------
Anbalagan Rajagopal
------------------------------