-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code only seems to work if I change the server to use ipv4 #381
Comments
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 :)
|
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.
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. |
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. |
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. |
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 :) |
Can see, my memory bank needs an update. Thanks for the insight. |
If I try to provide an ipv6 address in the client (say ::1:8080) the client refuses to accept the format.
I changed the code in the server to use ipv4:
let server_addr = (IpAddr::V4(Ipv4Addr::LOCALHOST), flags.port);
I can now connect with an ipv4 address from the client.
Am I doing this wrong, or is there a bug in the example code?
The text was updated successfully, but these errors were encountered: