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
I assume that this most likely isn't a bug but more a configuration issue but I can't find the solution.
When I was upgrading my isolated Functions project with ASP.NET Core Integration that depends on Durable Functions I couldn't schedule a new orchestration instance anymore.
This is the exception I got after upgrading Microsoft.Azure.Functions.Worker.Extensions.DurableTask:
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="Error connecting to subchannel.", DebugException="System.Net.Sockets.SocketException: Connection refused")
---> System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at Grpc.Net.Client.Balancer.Internal.SocketConnectivitySubchannelTransport.TryConnectAsync(ConnectContext context, Int32 attempt)
--- End of inner exception stack trace ---
at Grpc.Net.Client.Balancer.Internal.ConnectionManager.PickAsync(PickContext context, Boolean waitForReady, CancellationToken cancellationToken)
at Grpc.Net.Client.Balancer.Internal.BalancerHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Grpc.Net.Client.Internal.GrpcCall`2.RunCall(HttpRequestMessage request, Nullable`1 timeout)
at Grpc.Net.Client.Internal.GrpcCall`2.GetResponseHeadersCoreAsync()
at Microsoft.DurableTask.Client.Grpc.GrpcDurableTaskClient.ScheduleNewOrchestrationInstanceAsync(TaskName orchestratorName, Object input, StartOrchestrationOptions options, CancellationToken cancellation)
// own lib callstack
So I decided to find out since which version this behavioral change was and my conclusion was 1.5.0. I checked out the compare log between 1.4.0 and 1.5.0 and found this PR but I'm not sure this is the root cause:
My durable package dependencies and this are the only packages upgraded:
.NET 10 (no issues with this upgrade only; coming from .NET 8)
Microsoft.Azure.Functions.Worker.Extensions.DurableTask.SqlServer 1.5.2 (no issues with this upgrade only; coming from 1.5.0)
Microsoft.Azure.Functions.Worker.Extensions.DurableTask 1.5.0 (no issues with 1.4.0)
I can't figure out what I must do in order to get it working again but I suspect it has something to do with the UseGrpc() that can't figure out where the 'new' gRPC server is at...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I assume that this most likely isn't a bug but more a configuration issue but I can't find the solution.
When I was upgrading my isolated Functions project with ASP.NET Core Integration that depends on Durable Functions I couldn't schedule a new orchestration instance anymore.
This is the exception I got after upgrading
Microsoft.Azure.Functions.Worker.Extensions.DurableTask:So I decided to find out since which version this behavioral change was and my conclusion was 1.5.0. I checked out the compare log between 1.4.0 and 1.5.0 and found this PR but I'm not sure this is the root cause:
#3126
The logs are changed accordingly as per that PR though:
This piece of code was working before and broken after the upgrade:
This is my
host.jsonextensions part which didn't change as wellMy durable package dependencies and this are the only packages upgraded:
I can't figure out what I must do in order to get it working again but I suspect it has something to do with the
UseGrpc()that can't figure out where the 'new' gRPC server is at...Beta Was this translation helpful? Give feedback.
All reactions