Giter Site home page Giter Site logo

Comments (6)

tikue avatar tikue commented on May 20, 2024 1

Nice! RUST_LOG is not specific to tarpc, but it would still be good for the tarpc examples that use it to specify how to get output :)

from tarpc.

tikue avatar tikue commented on May 20, 2024

Thanks for the report! That's interesting — I can't reproduce this problem on my Macbook, but I can't say you're doing anything wrong either! At least, not without a bit more info :)

  • What's the specific error you're getting? Is it something like invalid IP address syntax?
  • Can you try --server-addr '[::1]:59061'?

from tarpc.

ha-sante avatar ha-sante commented on May 20, 2024

Same experience on end. Would add using the tarpc module feels like working in the dark as there is no logs you can tap into.

  • Documentation can be incredibly better for launching a tcp transport server.
  • Logs can be better for the dev experience.
  • Example service doesn't tell you anything on fresh launch(execute client bin and it dosen't get a response log).

Still exploring for my use case and haven't managed to make an RPC call for 2 days now with pure pull from the example service.

Sorry.

Will contribute to making things better when am able to successfully make use of it and it's associated features. - A big blocker to contributions.
Sorry.

from tarpc.

tikue avatar tikue commented on May 20, 2024

Hi, I'm sorry you've had a frustrating experience! Feel free to join the discord channel where others might help fix your problems faster.

There should be some logs available for the client binary, not sure what's going wrong. Have you enabled log output with RUST_LOG environment variable? E.g. RUST_LOG=debug cargo run --bin client?

from tarpc.

ha-sante avatar ha-sante commented on May 20, 2024

F##k yeah, it finally logged. Your command did it.

Would this be my knowledge of rust or it's how you get debug information from your setup?

- I learned rust much more fully a few days ago hence my curiosity

Most helpful thing I will do now is to write a beginners guide once am up to speed with what am doing.

from tarpc.

ha-sante avatar ha-sante commented on May 20, 2024

Can see, my memory bank needs an update. Thanks for the insight.

from tarpc.

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.