Closed fbridger closed 3 years ago
Once again, I found my answer here: https://github.com/fbridger/dotnet-sdk/tree/master/examples/Actor#make-client-calls
Note: If you started the actor service with dapr port other than 3500, then set the environment variable DAPR_HTTP_PORT to the value of --dapr-http-port specified while starting the actor service before running the client in terminal.
On Windows: set DAPR_HTTP_PORT=<port>
On Linux, MacOS: export DAPR_HTTP_PORT=<port>
Expected Behavior
Why does adding an appsettings.json and changing the Sidecar Port of the DemoActor Host stops the correct execution and throws ActorMethodInvocationException?
appsettings.json added
Actual Behavior
Actor Client Error
Steps to Reproduce the Problem
Modified version of the original Sidekick Actor example Check: https://github.com/fbridger/dapr-sidekick-dotnet/commit/a746ea0c3334f17e7d24f809fef97e81613d0c7d