Code Monkey home page Code Monkey logo

Comments (5)

ColinSullivan1 avatar ColinSullivan1 commented on August 23, 2024 1

Hi all, I created a PR for this, #111 , does this look like it'll help? After further thought, I didn't want to change the exception because that would be a breaking change in the API.

from stan.net.

ThomasVestergaard avatar ThomasVestergaard commented on August 23, 2024

I have encountered this one as well and it can be somewhat difficult to track down if you are not aware of the importance of cluster id. However a NATSTimeoutException, IMO, is the correct exception. An error message saying that this could be because of the IP/Hostname, Port OR cluster id might help narrowing this down earlier.

from stan.net.

ColinSullivan1 avatar ColinSullivan1 commented on August 23, 2024

This issue seems to be a common one. Would something like a ClusterUnavailableException with the cluster name in the message sound reasonable?

from stan.net.

Amardaya avatar Amardaya commented on August 23, 2024

thanks for your answers guys
yes it make more sense to have an exception that contain a cluster as we need to separate exception between nats streaming connection (IStanConnection) and nats connection (IConnection) because nats connection doesn't really care about the cluster ID
Thanks

from stan.net.

Amardaya avatar Amardaya commented on August 23, 2024

yes it will diffenetly help and better than the previous exception
thanks Colin for this enhancement

from stan.net.

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.