ekuiper icon indicating copy to clipboard operation
ekuiper copied to clipboard

validate golang portable plugins timeout

Open echils opened this issue 5 months ago • 4 comments

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):
Image
  • OS (e.g. cat /etc/os-release):
Image
  • 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 avatar Jul 16 '25 04:07 echils

@echils please provide the golang protable plugin so we can reproduce the issue.

Yisaer avatar Jul 22 '25 09:07 Yisaer

@echils please provide the golang protable plugin so we can reproduce the issue.

threshold_judge_golang_amd.zip

echils avatar Jul 22 '25 12:07 echils

@echils Please provide the golang portable plugin builtin macos system.

Also you can try the following way to solve the issue:

  1. 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
  1. enlarge the portable plugin response timeout in kuiper.yaml:
portable:
  initTimeout: 60s
  sendTimeout: 5s (enlarge it to 10s)
  recvTimeout: 5s (enlarge it to 10s)

Yisaer avatar Jul 23 '25 02:07 Yisaer

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

Image Image Image

echils avatar Jul 23 '25 06:07 echils