Comments (6)
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.
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.
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.
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.
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.
Can see, my memory bank needs an update. Thanks for the insight.
from tarpc.
Related Issues (20)
- Cross Platform Procedure Call HOT 2
- [FEATURE REQUEST] Stream responses HOT 4
- QUESTION: how to get tcp server features for custom transport? HOT 1
- Consider making tracing optional HOT 8
- Bubble up server side transport errors to the client HOT 5
- Design problem, how to call other structs method ?
- Server-side span with clientβs span as parent HOT 4
- Recommended way for connection pooling? HOT 4
- Support for Async Fn in Trait? HOT 3
- Generic type parameters HOT 4
- On client's read errors quick subsequent requests may wait for response indefinitely HOT 9
- Adding client ID to identify clients (and retrieve specific context)? HOT 2
- Associated data with client
- Future returned by `Serve::serve()` is not `Send` HOT 11
- Add a way to derive Clone for the generated Request and Response types HOT 5
- Rkyv support?
- Json support and automatic documentation generation HOT 2
- Feature: cli support for translating defined placeholder to generate proto from codebase directly
- tarpc make crash when c++ Destructor execute
- Distributed tracing with TextMapPropagator
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 tarpc.