Share via

Dapr container app Actor

SriRaghavendran Prabhakaran 425 Reputation points
2024-01-03T14:47:31.41+00:00

Hello,

While Running with dapr Actor in Azure container app , below error is occurring

Failed,Dapr.DaprApiException: the state store is not configured to use the actor runtime. Have you set the - name: actorStateStore value: "true" in your state store component file?
   at Dapr.Actors.DaprHttpInteractor.SendAsyncHandleUnsuccessfulResponse(Func`1 requestFunc, String relativeUri, CancellationToken cancellationToken)
   at Dapr.Actors.DaprHttpInteractor.SendAsync(Func`1 requestFunc, String relativeUri, CancellationToken cancellationToken)
   at Dapr.Actors.DaprHttpInteractor.InvokeActorMethodWithRemotingAsync(ActorMessageSerializersManager serializersManager, IActorRequestMessage remotingRequestRequestMessage, CancellationToken cancellationToken)
   at Dapr.Actors.DaprHttpInteractor.InvokeActorMethodWithRemotingAsync(ActorMessageSerializersManager serializersManager, IActorRequestMessage remotingRequestRequestMessage, CancellationToken cancellationToken)
   at Dapr.Actors.DaprHttpInteractor.InvokeActorMethodWithRemotingAsync(ActorMessageSerializersManager serializersManager, IActorRequestMessage remotingRequestRequestMessage, CancellationToken cancellationToken)


I have configured the Key in the dapr configuration of container app.

User's image

Please help me to fix the above issue.

Azure Container Apps
Azure Container Apps

An Azure service that provides a general-purpose, serverless container platform.

Developer technologies | ASP.NET Core | Other

Answer accepted by question author

JananiRamesh-MSFT 29,446 Reputation points Moderator
2024-01-10T15:29:39.9166667+00:00

@SriRaghavendran Prabhakaran I'm glad to see you were able to resolve the issue. Thanks for sharing your solution so that others experiencing the same thing can easily reference this. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.

Issue: Encountered below exception while running with dapr Actor in Azure container app with statestore as Azure table storage,

Failed,Dapr.DaprApiException: the state store is not configured to use the actor runtime. Have you set the - name: actorStateStore value: "true" in your state store component file?

Resolution: the component (Azure storage table), is not supported for Actor state store.

User's image

Please 'Accept as answer' and ‘Upvote’ so that it can help others in the community looking for help on similar topics.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.