Skip to content

Durable Task Scheduler Errors Running Functions in ACA #44

@georgeollis

Description

@georgeollis

Hi, I am running Functions in ACA and have configured the Durable Task Scheduler but getting the following error:

Result: Failure
Type:
Exception: Exception: {'Message': 'Something went wrong while processing your request', 'ExceptionMessage': 'Status(StatusCode="Unavailable", Detail="Error starting gRPC call. HttpRequestException: The SSL connection could not be established, see inner exception. IOException: Received an unexpected EOF or 0 bytes from the transport stream.", DebugException="System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.")', 'ExceptionType': 'Grpc.Core.RpcException', 'StackTrace': ' at Microsoft.DurableTask.AzureManagedBackend.AzureManagedOrchestrationService.<>c__DisplayClass75_0.<b__1>d.MoveNext() in //src/SDK/Microsoft.DurableTask.AzureManagedBackend/AzureManagedOrchestrationService.cs:line 1136\n--- End of stack trace from previous location ---\n at Microsoft.DurableTask.AzureManagedBackend.AzureManagedOrchestrationService.HandleAuthErrorsAsync(Func`1 action) in //src/SDK/Microsoft.DurableTask.AzureManagedBackend/AzureManagedOrchestrationService.cs:line 1161\n at Microsoft.DurableTask.AzureManagedBackend.AzureManagedOrchestrationService.GetSharedClientAsync(ConnectionContext connectionContext, CancellationToken cancellationToken) in //src/SDK/Microsoft.DurableTask.AzureManagedBackend/AzureManagedOrchestrationService.cs:line 1136\n at Microsoft.DurableTask.AzureManagedBackend.AzureManagedOrchestrationService.GetClientRpcClient(CancellationToken cancellationToken) in //src/SDK/Microsoft.DurableTask.AzureManagedBackend/AzureManagedOrchestrationService.cs:line 1066\n at Microsoft.DurableTask.AzureManagedBackend.AzureManagedOrchestrationService.CreateTaskOrchestrationAsync(TaskMessage creationMessage, OrchestrationStatus[] dedupeStatuses) in //src/SDK/Microsoft.DurableTask.AzureManagedBackend/AzureManagedOrchestrationService.cs:line 152\n at Microsoft.Azure.WebJobs.Extensions.DurableTask.HttpApiHandler.HandleStartOrchestratorRequestAsync(HttpRequestMessage request, String functionName, String instanceId) in //src/WebJobs.Extensions.DurableTask/HttpApiHandler.cs:line 914\n at Microsoft.Azure.WebJobs.Extensions.DurableTask.HttpApiHandler.HandleRequestAsync(HttpRequestMessage request) in /_/src/WebJobs.Extensions.DurableTask/HttpApiHandler.cs:line 310'}
Stack: File "/azure-functions-host/workers/python/3.12/LINUX/X64/azure_functions_worker/dispatcher.py", line 682, in _handle__invocation_request
await self._run_async_func(fi_context, fi.func, args)
File "/azure-functions-host/workers/python/3.12/LINUX/X64/azure_functions_worker/dispatcher.py", line 1021, in _run_async_func
return await ExtensionManager.get_async_invocation_wrapper(
File "/azure-functions-host/workers/python/3.12/LINUX/X64/azure_functions_worker/extension.py", line 143, in get_async_invocation_wrapper
result = await function(**args)
File "/opt/python/3/lib/python3.12/site-packages/azure/durable_functions/decorators/durable_app.py", line 199, in df_client_middleware
return await user_code(*args, **kwargs)
File "/home/site/wwwroot/Functions/func_process_video.py", line 65, in start_video_orchestration
instance_id = await client.start_new(
File "/opt/python/3/lib/python3.12/site-packages/azure/durable_functions/models/DurableOrchestrationClient.py", line 95, in start_new
raise Exception(ex_message)

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions