Open bcraun opened 2 years ago
@bcraun - Thanks for opening this! Can you fix your command for Step 1.? I want to make sure I'm trying to reproduce this correctly.
@halspang done. Thanks for looking into this issue.
@halspang were you able to repro?
@bcraun - I haven't had a chance to repro it yet, hoping I can get to it soon.
@halspang any update on this?
Originally reported on Dapr Discord server. I was working with @Pundil for initial diagnosis. I was asked to open the issue here.
Expected Behavior
Dapr gRPC proxying without PostSharp works correctly. Dapr gRPC proxying with PostSharp fails.
Actual Behavior
Dapr gRPC proxying when using PostSharp Logging fails with daprd proxy initialization failure:
Steps to Reproduce the Problem
I have 3 Dapr services that perform inter-service communication using gRPC proxying in the following way:
ASP.NET Core Controller
-->Service1
-->Service2
Failure occurs in
Service2
gRPC method when invoked byService1
.Steps to reproduce:
Add PostSharp Logging Diagnostics package to each service:
<PackageReference Include="PostSharp.Patterns.Diagnostics" Version="6.10.13" />
In each service's
Program.cs
, add the following:Add a file named
GlobalAspects.cs
to each project containing:Compile and debug the app.
In my case, the proxied gRPC call from
Service1
toService2
fails with the following output describing an initialization failure in the gRPC proxy by daprd (service names redacted and replaced with 'xxx'):Release Note
RELEASE NOTE: FIX Bug in runtime.