-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
kong 500 error:received: 500; {"message":"An unexpected error occurred"} #12811
Comments
Is there any other error log with the error or the critical level? |
I didn't see any other error logs. |
How often does this occur? It sounds like a previously-fixed bug. Could you also try with the latest version? |
Kong gateway 3.0 is EOL, could you upgrade it to the latest or LTS version and try again? |
@StarlightIbuki @chronolaw This issue seems to have happened while It should have the same issue in latest version, should we check the error and don't iterate the function healthcheckers_M.stop_healthcheckers(delay)
local upstreams, err = upstreams.get_all_upstreams()
if err ~= nil {
return err
}
for _, id in pairs() do
...
end And log the error message where calls the |
@oowl , could you take a look? thanks. |
Hi @git-hulk, We have fixed this bug in the master branch, Please be patient to wait for the next major version release. It will be included. |
@oowl That's cool, thank you! |
failed the initial dns/balancer resolve for 'UPSTREAM_HOST' with: failed to get from node cache: could not acquire callback lock: timeout Hello, we have checked the relevant logs and found that they should be related to this. |
Can this be reopened? |
@dubuqingfeng Hi, You can open a new issue, and I will be happy to help you investigate. |
Is there an existing issue for this?
Kong version (
$ kong version
)Kong 3.0.0
Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
These error logs exist. I'm not sure if they are relevant.
2024/03/27 17:07:29 [error] 1124#0: *62 [lua] handler.lua:415: reconfigure failed: ...l/share/lua/5.1/kong/runloop/balancer/healthcheckers.lua:419: bad argument #1 to 'pairs' (table expected, got nil), context: ngx.timer
2024/03/29 07:24:29 [error] 1126#0: *58047224 upstream prematurely closed connection while reading response header from upstream
The text was updated successfully, but these errors were encountered: