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
NPE when token is to be refreshed #5817
Comments
CC: @deejonz, @rohanKanojia |
This issue looks very similar to #4960 |
…nd caCertData as a fallback option when `idp-certificate-authority-data` is not specified Related to fabric8io#5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…nd caCertData as a fallback option when `idp-certificate-authority-data` is not specified Related to fabric8io#5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…nd caCertData as a fallback option when `idp-certificate-authority-data` is not specified Related to fabric8io#5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
#5818 seems to fix the issue for the user. He commented the issue in intellij-plugin redhat-developer/intellij-kubernetes#726 (comment) that issue is gone for him when using the private build I made for him (which is using the client with the fix) |
…nd caCertData as a fallback option when `idp-certificate-authority-data` is not specified Related to fabric8io#5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…nd caCertData as a fallback option when `idp-certificate-authority-data` is not specified Related to fabric8io#5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@adietish just in case, when I tried this morning with intellij already opened - I did right click -> "refresh" (as the plugin was not responding) and I've got again that error...
|
@deejonz : I'm not using the plugin, I checked it on the reproducer I shared with you. I followed these steps:
|
I tried to wait 1 or 2 hours and it was still working fine. But after the whole night it was broken again. |
@deejonz: thanks again for all the testing. Tremendous opportunity for us to test your setup.
@rohanKanojia for 2., is it possible that the client lib fails to refresh the token while @deejonz: can you please verify that the "fixed" kubernetes client is installed? Go to I see that there are new commits in the kubernetes-client PR. I can thus rebuild the plugin and let you test it? |
I have kubernetes-client-6.10.0 |
@adietish I had just rebased the pull request last night. I haven't added any additional commits.
Yes, I think you're right. It looks like |
@deejonz: https://drive.google.com/file/d/1R9_8JCm2c83fPxwg5K3fdyaMWS-VpUFb/view?usp=drive_link md5 for it is You need to uninstall the prior plugin, restart IDEA and then reinstall it. To verify that things are correct you can inspect |
ok now I have 6.11-SNAPSHOT |
@rohanKanojia: @deejonz reported that things are now working for him. I consider this issue in the client as fixed. Merge the PR and close? |
…nd caCertData as a fallback option when `idp-certificate-authority-data` is not specified Related to fabric8io#5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…d caCertData as a fallback option when `idp-certificate-authority-data` is not specified (#5818) Related to #5817 Currently, we fall back to caCertData specified in Config when `idp-certificate-authority-data` is not specified. We should also consider reading cert data from caCertFile. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
Describe the bug
This bug was reported in redhat-developer/intellij-kubernetes#726
It happens in the kubernetes plugin for intellij when browsing an EKS cluster on AWS.
The kube config looks as follows (anonymized):
Fabric8 Kubernetes Client version
The client library used is 6.4.0
Steps to reproduce
In the plugin one needs to connect to the EKS instance and start to browse the available resources. It initially works and starts to fail once the token needs to be refreshed.
Expected behavior
In the plugin requesting resources starts to fail once the token fails to be refreshed with the stacktrace shown above
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.25.3@latest
Environment
Amazon
Fabric8 Kubernetes Client Logs
See log pasted in issue description
Additional context
No response
The text was updated successfully, but these errors were encountered: