You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoking the application HTTP endpoint directly succeeds
Invoking the method via the "back-end" application's Dapr sidecar HTTP endpoint succeeds
Remove the resiliency policy and method invocation via the "front-end" Dapr sidecar will then succeed
Invocation succeeds on previous version of Dapr runtime (1.11.x)
Timing (i.e. hardware) reportedly makes a difference (reproduces consistently on 16+ vCore CPU, 32+ GB RAM)
Some earlier investigation seems to point to the "front-end" Dapr sidecar canceling the request context while the "back-end" Dapr sidecar is still streaming its response. The original issue was with .NET-based applications using the Dapr .NET SDK, but it also reproduces with a Node.js application not using any SDK.
In what area(s)?
/area runtime
What version of Dapr?
Expected Behavior
Invocation of method with 10-100MB response succeeds.
Actual Behavior
Invocation of method fails returning error:
{"errorCode":"ERR_DIRECT_INVOKE","message":"failed to invoke, id: back-end, err: error receiving message: rpc error: code = Canceled desc = context canceled"}
Notes:
Some earlier investigation seems to point to the "front-end" Dapr sidecar canceling the request context while the "back-end" Dapr sidecar is still streaming its response. The original issue was with .NET-based applications using the Dapr .NET SDK, but it also reproduces with a Node.js application not using any SDK.
Steps to Reproduce the Problem
dapr-bug.zip
npm install
dapr run -f ./dapr.yaml
POST http://localhost:50050/v1.0/invoke/back-end/method/bugReproduce
This invokes the
bugReproduce
method of the "back-end" application via the "front-end" Dapr sidecar, and should fail.Notes:
55050
(the "back-end" application's Dapr sidecar) and the request should succeed.3000
(the "back-end" applications direct endpoint) and the request should succeed.Release Note
RELEASE NOTE:
The text was updated successfully, but these errors were encountered: