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)
- log spammed with `OpenTelemetry subscriber not installed; making unsampled child context` when used w/o Otel HOT 3
- Clippy Warnings in `tarpc`
- Sending from multiple sources to a memory server
- Server acting as a client to another server HOT 5
- On `poll_flush` timing of RPC client and server HOT 3
- Forward thinking discussion on static async support HOT 2
- Removing the dependency on tokio HOT 3
- No error details when exceeding of LengthDelimitedCodec's max frame length HOT 6
- use qualified paths for all macro generated signatures HOT 1
- Why is it called tarpc? HOT 2
- How to save transport context? HOT 24
- Multi-client requests HOT 2
- Bidirectional RPC HOT 3
- 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 ?
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.