-
Notifications
You must be signed in to change notification settings - Fork 84
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
Error setting context 'main' panicked at 'Result::unwrap()' #98
Comments
I get the same error. Most commands are giving me |
Same error here
|
Is this maintained? Sure looked useful, hope it is. |
Yep, it's just not the only thing I work on. I'll be looking into this today, thanks for the report. |
This is due to webpki not being able to validate the ip address as a valid dns name. This is an open issue with webpki here: briansmith/webpki#54 (i've left a comment asking if I can help resolve that issue). Until that's solved, there's no way for me to make this "just work". That being said, there is a workaround: WORKAROUND (kinda gross I know):
So here you'd want to note down
Both Click and kubectl work fine for me with this change. Not ideal, but the best I can do for now. |
oooo, it works! Of all the "workarounds" I have ever seen this one is actually very straightforward, simple, and seems to make sense. Just wish the error messages from rust were more helpful. Maybe there is at least some way to make the error message more obvious/helpful? Anyway, thank you for the explicit instructions. Much appreciated. |
Re-opening so others see this when hitting the issue. I can actually work around this too, although it's gross, so I'm leaving this open as a tracker for when I push a fix. |
I seem to have a similar error, but from a gke context on a solus distro :
|
This is fixed by #110 and published in 0.4.1. The fix is a little gross, but it works for now and hopefully webpki will support IpAddress SANs in the not too distant future. |
I'm thinking this error has something to do with authentication...but really not sure.
The docs are a little light on how to authenticate, or does that happen automatically by way of kubectl being authenticated already? I am using minikube here.
I can see the minikube context with 'contexts', but when I type 'context minikube'...
I am getting this error:
and with backtrace:
The text was updated successfully, but these errors were encountered: