You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountering an ArgumentError when K8s.Client.Mint.ConnectionRegistry attempts to establish a TCP connection via the Mint library. This issue leads to the termination of the GenServer managing the connections.
TLDR: Remove insecure_skip_tls_verify: true when connecting to this cluster.
Okay, I have never seen this before and your script works like a charm over here.
That being said, I think the problem with your script lies in the combination of the endpoint of your API server (http://localhost and insecure_skip_tls_verify: true). Since you're not connecting via SSL (http vs. https), the TLS instruction should not be passed and probably leats to the argument error you see. Try omitting it for this cluster.
Also, this option insecure_skip_tls_verify is not going to be needed at all anymore, once a new version of mint is out or when using Erlang OTP 27:
Thanks for the response. Ripped insecure_skip_tls_verify out and still get the same issue. Kubectl, k9s, etc all work using the context that I am using. Tried this in Livebook and still get the same issue.
Description
Encountering an
ArgumentError
whenK8s.Client.Mint.ConnectionRegistry
attempts to establish a TCP connection via the Mint library. This issue leads to the termination of the GenServer managing the connections.Error Message and Stack Trace
Steps to Reproduce
Environment
❯ elixir --version
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.15.4 (compiled with Erlang/OTP 26)
The text was updated successfully, but these errors were encountered: