Questions tagged [dapr]

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.

Dapr is a portable, event-driven runtime that makes it easy for enterprise developers to build resilient, microservice stateless and stateful applications that run on the cloud and edge and embraces the diversity of languages and developer frameworks.

Dapr.io

164 questions
10
votes
1 answer

How do I diagnose a failed Azure Container App revision?

I'm currently working through some Azure Container App quick starts. I've just attempted to create one that's Dapr enabled with storage account state store. It has a provision status of failed but seemingly no other information. I'm not aware of how…
MrPanucci
  • 497
  • 2
  • 11
6
votes
1 answer

Zipkin tracing not working for docker-compose and Dapr

Traces that should have been sent by dapr runtime to zipkin server somehow fails to reach it. The situation is the following: I'm using Docker Desktop on my Windows PC. I have downloaded the sample from dapr repository…
the_virt
  • 707
  • 4
  • 10
5
votes
2 answers

How do you do unit testing with Dapr?

I've got a class that I'm trying to unit test but it uses a DaprClient object (from the SDK), which doesn't work in my unit test envioronment. I would like to create a mock and use that instead but the only interface DaprClient implements is…
Mog0
  • 1,689
  • 1
  • 16
  • 40
5
votes
1 answer

Dapr and Docker Compose guidance

I'm going round in circles trying to work out how to do this but I have the following situation. I am trying to incorporate Dapr into my ASP.NET Core microservices. I have installed Dapr locally by following the documentation (dapr init) and as a…
Dazfl
  • 627
  • 8
  • 23
4
votes
0 answers

Dapr: Failed to proxy request: proxy not initialized. daprd startup may be incomplete

I,m performing some tests with Dapr and Service Invocation using gRPC and have run in to an issue. I'm runnig Dapr in standalone mode and starts two applications like this: dapr run --app-id App1 --app-port 10078 --dapr-grpc-port 11078…
Daniel Bäck
  • 143
  • 6
4
votes
2 answers

Unable to invoke another service with Dapr

I'm having major problems getting Dapr up and running with my microservices. Every time I try to invoke another service, it returns a 500 error with the message client error: the server closed connection before returning the first response byte.…
Mog0
  • 1,689
  • 1
  • 16
  • 40
4
votes
0 answers

http: TLS handshake error from 10.244.0.6:36004: remote error: tls: bad certificate

I try to deploy my project using Dapr + Envoy proxy to AKS, it works fine in Minikube but in AKS the sidecar-injector logs http: TLS handshake error from 10.244.0.6:36004: remote error: tls: bad certificate and the sidecar container not inject into…
Phat Huynh
  • 772
  • 5
  • 16
3
votes
1 answer

Usage of Dapr Virtual Actors vs Orleans

I was looking at virtual Actors and I pumped into Dapr and Orleans. I understand that Dapr is a more complete framework to build a microservices architecture, where virtual actors are just one part of the many provided components. But focusing…
Fede
  • 804
  • 1
  • 10
  • 21
3
votes
1 answer

Dapr golang Docker Compose - running into a ""errorCode":"ERR_DIRECT_INVOKE","message":"invoke API is not ready" error

I am trying out Dapr for the first time ....refering to the Dapr go sdk at https://github.com/dapr/go-sdk... ... trying to host a Dapr service using golang with Docker Compose on my Windows 10 machine - using VSCode - and running into an issue…
Athadu
  • 854
  • 7
  • 13
3
votes
1 answer

"process component pubsub error: init timeout for component pubsub exceeded after 5s"

I am using DAPR , Docker in my .net core microservice. I have made following configuration in docker-compose.yml to run broker and dapr pubsub configuration. PUBSUB.yml apiVersion: dapr.io/v1alpha1 kind: Component metadata: name: pubsub …
2
votes
1 answer

Dapr - Quarkus Run/Build Error java.lang.ClassNotFoundException: javax.ws.rs.ext.MessageBodyReader

I'm trying to build a very simple Pub/Sub demo based on this using Dapr & Quarkus & Gradle and I'm facing this error: [error]: Build step io.quarkiverse.dapr.deployment.DaprProcessor#vertxProviders threw an exception: java.lang.NoClassDefFoundError:…
oMG
  • 323
  • 1
  • 2
  • 14
2
votes
1 answer

How to configure the state store in dapr with statestoretype in-memory

I am getting the below exception while trying to save key value in the Dapr statestore .I am new to the Dapr concepts . Dapr.DaprException: State operation failed: the Dapr endpoint indicated a failure. See InnerException for details. --->…
Saquib
  • 21
  • 1
2
votes
0 answers

RabbitMQ dapr error when publish to topic topic_name in pubsub pubsub : channel not Initialized

I am using dapr rabbitmq pubsub to publish and subscribe the events. It is Woking fine with cloud end points but getting error in local setup RabbitMQ dapr error when publish to topic topic_name in pubsub pubsub : channel not Initialized I am…
2
votes
1 answer

State operation failed: the Dapr endpoint indicated a failure

I am doing a small project using Dapr and state management with .Net 6 following this tutorial https://www.gokhan-gokalp.com/en/building-microservices-by-using-dapr-and-net-with-minimum-effort-01/. But there is an exception that I dont know how to…
Duc Thang
  • 43
  • 1
  • 7
2
votes
0 answers

How to automatically renew dapr mutual tls certificate

I'm using dapr in Kubernetes with microservices, it has been one year since I installed dapr with helm, but recently microservices were down due to following error: x509: certificate has expired or is not yet valid dapr So, when investigating from…
Reda E.
  • 653
  • 3
  • 16
1
2 3
10 11