-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Service invocation response ERR_DIRECT_INVOKE #4332
Comments
Can you please share the logs from |
Hi, sure. Take a look below, == APP == info: Microsoft.Hosting.Lifetime[14] |
that works right now. |
Hi, I try to play with service invocation but I see an error like this
{
"errorCode": "ERR_DIRECT_INVOKE",
"message": "fail to invoke, id: cosmosdb, err: couldn't find service: cosmosdb"
}
My command to run
dapr run --app-id cosmosdb --app-port 5298 --dapr-http-port 50001 --components-path Components dotnet run
I have two web APIs and trying to call web method
var client = new DaprClientBuilder().Build();
var result = client.CreateInvokeMethodRequest(HttpMethod.Get, "cosmosdb", "api/objects/all");
return await client.InvokeMethodWithResponseAsync(result);
I use macOS M1 with latest updates. Any ideas?
The text was updated successfully, but these errors were encountered: