kong icon indicating copy to clipboard operation
kong copied to clipboard

go plugin error, worker-events: event callback failed; source=plugin_server, event=reset_instance

Open geekdogxy opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Kong version ($ kong version)

kong:3.5

Current Behavior

image

I enable a go plugin which is used for calling the http api to check token in the request Authorization header. If time is more than 60s (call http api in the go plugin), it will return the below json and also print the above log

{
    "message": "An unexpected error occurred",
    "request_id": "320b181960fbd31f8bf35f1217c86b6d"
}

I would like to ask if Kong has any restrictions on the go plugin. It can only be executed for 60 seconds. I tested it and as long as the time (go plugin excutes) does not exceed 60 seconds, there is no problem

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

geekdogxy avatar May 24 '24 09:05 geekdogxy

@StarlightIbuki @gszr Could you please take a look?

ADD-SP avatar May 27 '24 07:05 ADD-SP

This looks like a fixed bug. Please upgrade to the latest version to see if the issue persists.

StarlightIbuki avatar Jun 18 '24 05:06 StarlightIbuki

This issue is marked as stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Jul 03 '24 01:07 github-actions[bot]

Dear contributor,

We are automatically closing this issue because it has not seen any activity for three weeks. We're sorry that your issue could not be resolved. If any new information comes up that could help resolving it, please feel free to reopen it.

Your contribution is greatly appreciated!

Please have a look our pledge to the community for more information.

Sincerely, Your Kong Gateway team

github-actions[bot] avatar Jul 10 '24 01:07 github-actions[bot]