Skip to content

PUB/SUB Error in Subscription Sidecar #692

Closed
@a377965

Description

@a377965

I am running DAPR in Azure AKS using Azure Service Bus. I have a service which it using grpc and stores state in a Redis instance in AKS. This same client also publishes a topic on an ASB / Namespace topic. The message appears to be sent successfully

A client which is set up to process the message from the subscription on the topic is emitting the following error :

time="2022-02-17T21:24:46.361600968Z" level=debug msg="Waiting to receive message on topic ap555555.calculation.t" app_id=ap149500 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.contrib type=log ver=1.6.0
time="2022-02-17T21:24:46.361672772Z" level=debug msg="Adding message a2894ee1-944f-4ee9-a5bd-d0c52fe9efa4 to active messages on topic ap555555.calculation.t" app_id=ap149500 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.contrib type=log ver=1.6.0
time="2022-02-17T21:24:46.361732876Z" level=debug msg="Calling app's handler for message a2894ee1-944f-4ee9-a5bd-d0c52fe9efa4 on topic ap555555.calculation.t" app_id=ap999999 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.contrib type=log ver=1.6.0
time="2022-02-17T21:24:46.362329914Z" level=error msg="non-retriable error returned from app while processing pub/sub event ccd3f051-0295-4cb7-9e8a-7d9bcd91cbef: {"errorCode":"ERR_DIRECT_INVOKE","message":"failed getting app id either from the URL path or the header dapr-app-id"}. status code returned: 404" app_id=ap999999 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.runtime type=log ver=1.6.0
time="2022-02-17T21:24:46.362365016Z" level=debug msg="Completing message a2894ee1-944f-4ee9-a5bd-d0c52fe9efa4 on topic ap555555.calculation.t" app_id=ap999999 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.contrib type=log ver=1.6.0
time="2022-02-17T21:24:46.41919448Z" level=debug msg="Removing message a2894ee1-944f-4ee9-a5bd-d0c52fe9efa4 from active messages on topic ap555555.calculation.t" app_id=ap999999 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.contrib type=log ver=1.6.0
time="2022-02-17T21:25:02.055100447Z" level=debug msg="No active messages require lock renewal for topic ap555555.calculation.t" app_id=ap999999 instance=calculator-microservice-8c65fd8ff-vjjks scope=dapr.contrib type=log ver=1.6.0

Any insight into this error, especially based on the setup would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions