-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Getting an error "starting instance: nil" #6432
Comments
It looks like it happens when a lot of requests come in, however, neither pod wasn't restarted nor additional ingress logs added. The issue is also appearing with image |
Eventually, I found a bug in my plugin source code, those were fixed and the issue doesn't appear anymore. Seems to be Kong didn't kill the process because there were some open threads in my Golang plugin (e.g. opened UDP connection for remote logging system). Though, I've spent a couple of days zigging and zagging around Kong source code in order to find an issue cause. Would be better to improve logs, or add more metrics whose will be showing stuck processes and etc. |
@YegorMedvedev I have the same problem with you.See this link. #6500 |
@bungle , it's a blocker issue, please have a look... |
@javierguerragiraldez / @gszr, does this ring any bells (I think you have a way better understanding of our Go support than I have)? |
yes, working on it |
@javierguerragiraldez , @bungle , should I be waiting for the official release, or there is a chance to get the Docker image earlier? |
Hi @YegorMedvedev , |
@tuanpm90 , fee free to use a temporary chat https://tempchat.in/c/kong-go-pl |
@javierguerragiraldez , @gszr, @bungle guys, unfortunately, the issue isn't fixed. After a week of running it on dev, I've got the same issue again... please find logs below:
I'm using the kong:2.2.1-ubuntu Docker image and Kubernetes ingress. |
this error is happens to me as well, is there any work done on it? |
for Kong 2.3 we've rewritten several parts of this code, keeping an eye on this issue and other similar ones. Please try the beta we released yesterday. |
thank you :) also is upgrading go-pluginserver from 0.4.0 to 0.6.0 might solve it also? |
maybe, see https://github.com/Kong/go-pluginserver/pull/38 |
Summary
I have a Golang plugin, which handles a custom API authentication. I'm also using Kong-ingress in Kubernetes in order to deploy it.
At some point, w/o any obvious reasons I'm getting an error
starting instance: nil
and it totally breaks Kong and the only way to fix it is to restart kong-ingress pod.Please find logs below.
Additional Details & Logs
kong:alpine
)The text was updated successfully, but these errors were encountered: