Comments (11)
I think I tried None before but got an exception when connecting; let me update the tests and try again.
from csharp.
Sorry, I think I had that confused with SslProtocols.Default
. Will fix shortly :)
from csharp.
from csharp.
The tests work in CI which is Travis, right? I'm on my way into the office now, will give it a try shortly.
from csharp.
BTW, different client but same connection code definitely works against real K8s API:
https://github.com/tintoy/dotnet-kube-client/blob/develop/samples/noob-exec/Program.cs
from csharp.
Is it a test that's hanging or some other code?
from csharp.
I got caught out originally by the behaviour of WebSocket.CloseAsync but the tests cater for that.
from csharp.
@brendanburns - just tried this on Linux (well, WSL, but close enough) and yes all tests pass.
from csharp.
(the tests do use a real WebSocket connection)
from csharp.
fwiw, it was my network connection sigh flaky bus and my tcp socket was timing out.
from csharp.
Tricky - I've been using cancellation tokens in tests so probably hadn't hit that particular issue :-/
Glad you worked it out though
from csharp.
Related Issues (20)
- Document expected behavior of `LeaderElector.RunAsync()` HOT 2
- Cannot connect to Azure kubernetes cluster using c# sdk HOT 15
- Suggestion: Create objects from yaml without knowing the type HOT 2
- How to only read/write new logs from a specific pod using `ReadNamespacedPodLogWithHttpMessagesAsync` HOT 7
- LeaderElection - lack of information HOT 5
- GenericClient.WatchAsync/WatchNamespacedAsync ignore method parameters HOT 1
- Kubernetes.StreamConnectAsync does not pass the CancellationToken to WebSocketBuilder.BuildAndConnectAsync
- watcher: System.Net.Http.HttpRequestException: Error while copying content to a stream. HOT 5
- upload KubernetesClient.Aot and deprecated KubernetesClient.Basic KubernetesClient.Models HOT 4
- Clarifying Version Skew Policy HOT 3
- [KubernetesClient.Aot] .NET 8 AOT compatibility for Scale functions HOT 14
- Prometheus-net is an unnecessary dependency HOT 8
- SlnGen instructions are potentially incomplete HOT 2
- Json serialization exception in .net8 HOT 2
- KubernetesYaml.Serialize Globalization issue
- How do you open the source code in an IDE without a .sln file? HOT 2
- Internal class IntOrStringJsonConverter doesn't work with System.Text.Json Source Generator HOT 9
- KubernetesClientConfiguration.LoadKubeConfig is not thread-safe due to YamlDotNet Deserializer
- Memory Leak with aot package ListDeployments and ListStatefulSet HOT 13
- KubernetesClientConfiguration.BuildConfigFromConfigFile with ExternalExecution deadlocks waiting for exit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharp.