Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
xyandy opened this issue May 24, 2024 · 2 comments
Open
1 task done
Labels
core/language/go pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...

Comments

@xyandy
Copy link

xyandy commented May 24, 2024

Is there an existing issue for this?

  • 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

@ADD-SP
Copy link
Contributor

ADD-SP commented May 27, 2024

@StarlightIbuki @gszr Could you please take a look?

@StarlightIbuki
Copy link
Contributor

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

@StarlightIbuki StarlightIbuki added the pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc... label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core/language/go pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...
Projects
None yet
Development

No branches or pull requests

4 participants