validate golang portable plugins timeout
When ekuiper loads the golang portable plugin and runs for some time, ekuiper will trigger the error "error: validate function xxxx error: time out, plugin xxxx status running, message: ."
Environment:
- eKuiper version (e.g.
1.3.0): v2.2.0 - Hardware configuration (e.g.
lscpu):
- OS (e.g.
cat /etc/os-release):
- Others:
When ekuiper loads the golang portable plugin and runs for some time, ekuiper will trigger the error "error: validate function value_dvt error: time out, plugin threshold_judge status running, message: .", in this error message, threshold_judge is the golang plugin compilation file, and value_dvt is one of the functions in the plugin。
At present, I'm not sure if it will take a long time to reproduce this issue. I got the error message in the ekuiper interface response when adding the rule. But it is certain that I have encountered this problem many times, and each time I need to restart ekuiper to restore it to normal
@echils please provide the golang protable plugin so we can reproduce the issue.
@echils please provide the golang protable plugin so we can reproduce the issue.
@echils Please provide the golang portable plugin builtin macos system.
Also you can try the following way to solve the issue:
- make sure the plugin is running by query the following api, find the process id and ensure the process is still running.
GET /plugins/portables/{name}/status
- enlarge the portable plugin response timeout in
kuiper.yaml:
portable:
initTimeout: 60s
sendTimeout: 5s (enlarge it to 10s)
recvTimeout: 5s (enlarge it to 10s)
I don't understand the meaning of the sentence "Please provide the golang portable plugin builtin macos system"
I guess you want me to provide a development environment for the goloang portable plugin