-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServiceBusMessageActions raises grpc exception after migrating to Isolated worker in net8.0 in servicebus trigger execution #2761
Comments
@christianroll I see you are using preview packages. We recently release GA 2.0.0, can you try those? Additionally, can you verify source gen is running for your project? Source gen is crucial in emitting code which will hook up extension configuration calls. Without those calls service bus will not register its services and lead to issues like this. |
@jviau I upgraded all the versions to latest 2.0.0 and I also forced to be false: Exception: Unable to resolve service for type 'Microsoft.Azure.ServiceBus.Grpc.Settlement+SettlementClient' while attempting to activate 'Microsoft.Azure.Functions.Worker.ServiceBusMessageActionsConverter'. |
@christianroll |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If you are not the original author (christianroll) and believe this issue is not stale, please comment with |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Description
Migrating to isolated worker in net8.0 using the library
ServiceBusMessageActions
doesn't work properly. I need to use DeadLetterMessageAsync but raises the following exception:My fsproj is as below using all latest version:
Migrating without usage of ServiceBusMessageActions is totally fine, the servicebus trigger works but has this limitation of not being able to use deadLetterMessageAsync...
I referenced this in this thread as well: #2102 (comment)
Steps to reproduce
Having a servicebus trigger in isolated worker in dotnet 8.0 referecing library ServiceBusMessageActions when it gets triggered it will raise grpc exception mentioned previously.
The text was updated successfully, but these errors were encountered: