-
Notifications
You must be signed in to change notification settings - Fork 290
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
[BUG] Botkube 0.8.0 - crash loop - invalid memory address or nil pointer deference #126
Comments
@bilaloslo92 Could you please post your configuration here (make sure you remove sensitive info like certs and tokens)? |
Are you encoding certificate before creating secret? |
Hi @PrasadG193 ! Thanks for your reply. See attached config (removed credentials, clustername, and mattermost configuration).
|
Just wanted to make sure:
|
Thanks for quick reply. |
@bilaloslo92 Are you creating BotKube in |
Also, please verify if secret is getting populated properly with - |
@PrasadG193 - I have tried to create BotKube in multiple namespaces. Is there any restrictions in which namespace it is created in? I can confirm the secret is populated. BotKube is able to communicate with Mattermost and send notifications, however the pod is restarted because of the error in the initial post. Thats why I am also being spammed by the notification: |
@bilaloslo92 If you want to deploy BotKube in a different namespace, you need to modify the The Pod crashing issue indeed looks strange to me. I am not able reproduce this on my setup. I'll keep looking into this. |
@PrasadG193 I have changed the |
Hello, I faced the same issue. I solved with adding event == nil check in mattermost.go. |
Hi @gangseok514. Good that you managed to reproduce this issue. I hope this can be fixed in the next release, since I don't want to compile it from source. @PrasadG193 - When is next release comming up and could this be included? |
@gangseok514 Could you please raise the PR for the fix. Unless there are any surprises, we'll be releasing v0.9.0 by the end of this week or early next week |
@gangseok514 - Could you please create an PR ? Since you managed to solve the issue. So the fix can be released in v0.9.0 :) |
kubeshop#126 event is nil in this case. adding nil check is needed Signed-off-by: gangseok.lee <gangseok.lee@samsung.com>
Describe the bug
I have tried to deploy Botkube version 0.8.0 (which was recently released), I am using the deploy-all-in-one-tls.yaml to deploy it in my Kubernetes cluster.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: