Can not find service @ example "invoke-simple"
See original GitHub issueHello,
I’m currently trying out dapr for python. I started with the pub-sub simple example and its working fine.
Now, I got stuck with the invoke-simple example.
I start the apps with the following commands and order:
- dapr run --app-id invoke-receiver --app-protocol grpc --app-port 50051 python invoke-receiver.py
- dapr run --app-id invoke-caller --app-protocol grpc python invoke-caller.py
Afterwards, invoke-caller.py gives me the following error:
[94;1m== APP == grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
[0m
[94;1m== APP == status = StatusCode.UNKNOWN
[0m
[94;1m== APP == details = "couldn't find service: invoke-receiver"
[0m
[94;1m== APP == debug_error_string = "{"created":"@1606122049.322000000","description":"Error received from peer ipv4:127.0.0.1:3128","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"couldn't find service: invoke-receiver","grpc_status":2}"
For me, it looks a little bit strange why it receives an error from my proxy (127.0.0.1:3128). Could it be some proxy issues? Do I need to add something to “no-proxy” for dapr? (Currently: no_proxy: .docker.internal,localhost,127.0.0.1)
Could you help me to get this example running?
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Can not find service @ example "invoke-simple" - Bountysource
Hello,. I'm currently trying out dapr for python. I started with the pub-sub simple example and its working fine.
Read more >Cannot invoke simple Lambda from API Gateway because of ...
The issue you are seeing comes from setting an integration role as well as the Lambda permission. So if you remove the execution...
Read more >How-To: Invoke services using HTTP | Dapr Docs
Our example above showed you how to directly invoke a different service running locally or in Kubernetes. Dapr: ... For more information on...
Read more >micronautfw/questions - Gitter
Hi! I'm looking into using Micronaut to handle simple SOAP calls and invoke simple SOAP services. I've looked at micronaut-jackson-xml, but that doesn't...
Read more >How to easily invoke Simple REST Service trigerred using ...
My Requirement: Invoke a simple Get request originated from Arduino Uno and via ESP8266 WIFI Shield to submit to server and process the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have security software running on Windows and Linux so this could causing the issues with service discovery and rpcs. I was working using a VPN and without, which made no difference (but I was using dapr on localhost only).
On Linux, Service discovery and pub-sub was working but rpcs haven’t been executed (timeout). I have to check your suggestions and to double check my setup. I’ll let you know if I have some new information.
Good hint, I tried out the hello world example and it doesn’t work as well:
I double checked my proxy settings in docker as well on my proxy on my system. Both pass-through localhost & 127.0.0.1 and as I said, pub-sub example is working fine.