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

Fix(language): Critical messages during startup #11372

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

StarlightIbuki
Copy link
Contributor

@StarlightIbuki StarlightIbuki commented Aug 9, 2023

Summary

We used to check if the plugin server socket is ready by trying to connect, which will generate a lot of critical messages which cannot be suppressed due to OpenResty's limitation. As the feature is not really helpful, we decided to revert it.

Revert "fix(pluginserver): error if req come before ready (#9507)"

This reverts commit e7b6963.

Checklist

  • There's an entry in the CHANGELOG

Issue reference

Fix KAG-2136
Fix #11084
Fix Kong/kong-js-pdk#308

We used to check if the plugin server socket is ready by trying to connect, which will generate a lot of critical messages which cannot be suppressed due to OpenResty's limitation. As the logic is not really helpful, we decided to revert it.

Revert "fix(pluginserver): error if req come before ready (#9507)"

This reverts commit e7b6963.

Fix KAG-2136
Fix #11084
Fix Kong/kong-js-pdk#308
@fffonion fffonion merged commit 05687ef into master Aug 10, 2023
21 checks passed
@fffonion fffonion deleted the fix/pdk-sock-crit-log branch August 10, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go custom plugin does not work with versions of Kong Gateway's Docker image > 3.0.x Missing plugin socket
4 participants