Code Monkey home page Code Monkey logo

Comments (11)

tintoy avatar tintoy commented on June 27, 2024

I think I tried None before but got an exception when connecting; let me update the tests and try again.

from csharp.

tintoy avatar tintoy commented on June 27, 2024

Sorry, I think I had that confused with SslProtocols.Default. Will fix shortly :)

from csharp.

brendandburns avatar brendandburns commented on June 27, 2024

from csharp.

tintoy avatar tintoy commented on June 27, 2024

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.

tintoy avatar tintoy commented on June 27, 2024

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.

tintoy avatar tintoy commented on June 27, 2024

Is it a test that's hanging or some other code?

from csharp.

tintoy avatar tintoy commented on June 27, 2024

I got caught out originally by the behaviour of WebSocket.CloseAsync but the tests cater for that.

from csharp.

tintoy avatar tintoy commented on June 27, 2024

@brendanburns - just tried this on Linux (well, WSL, but close enough) and yes all tests pass.

from csharp.

tintoy avatar tintoy commented on June 27, 2024

(the tests do use a real WebSocket connection)

from csharp.

brendandburns avatar brendandburns commented on June 27, 2024

fwiw, it was my network connection sigh flaky bus and my tcp socket was timing out.

from csharp.

tintoy avatar tintoy commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.