Questions tagged [azure-functions-runtime]

424 questions
0
votes
1 answer

Java Azure Functions throws error during running locally - A host error has occurred during startup operation

I have created a azure function in java created Using Command line by following below given Microsoft guide https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-java I have followed all the steps, but while running…
0
votes
1 answer

How to solve Could not load file or assembly Microsoft.Extensions.DependencyInjection.Abstractions exception

When migration Azure function v3 to version v4, using this guideline the Azure function is failing to start due to a file not found error. I have followed the Migration guideline and still not succeeding, how would I solve this? Copy of…
0
votes
0 answers

Can Azure Function runtime/webhooks services be set to allow anonymous?

many extensions have started to populate the /runtime/webhooks subpath with services (signalr & durable functions as examples). But they seem to always require a host key, but since my functions are behind easy auth we long ago stopped using the…
Chris DaMour
  • 3,650
  • 28
  • 37
0
votes
1 answer

Read binary data from request body of an HTTP trigger

I write an Azure Function with TypeScript to process some binary data. While my first approach by reading the binary data from the filesystem succeeded, passing the binary data as body via a POST request fails. curl -v \ -X POST \ --data-binary…
sschmeck
  • 7,233
  • 4
  • 40
  • 67
0
votes
1 answer

Code pattern to force exit consumption plan Azure function within timeout duration

We are using Azure functions with consumption plan. It is queue triggered and we process customer workflows in the function code. Recently, we saw that function processing got shut down as one execution exceeded 10 minutes processing time limit. We…
Prakash
  • 109
  • 4
0
votes
1 answer

Is it possible to run durable azure functions on premises or locally

just reading on azure durable functions for writing business process, and was wondering if this offering is necessarily bundled with azure, or if the runtime can be hosted on premises or locally etc ?
underwater
  • 191
  • 1
  • 11
0
votes
0 answers

Is it possible to invoke OrchestrationTrigger or ActivityTrigger functions in a nuget package?(C#)

As the question has stated, I want to put orchestrator functions and activity functions into a nuget package for other projects to call. However, after testing locally, when I invoke an orchestrator function in another project (with another csproj…
0
votes
1 answer

Deploying an executable JAR on Azure functions without docker image?

I am trying to replicate on Azure Functions the example that is in Quickstart: Create a Go or Rust function in Java. I set up a couple of methods that respond to REST requests, and I bundled them as well as a Jetty server, that manages and routes…
0
votes
1 answer

Azure function HTTP trigger Blob storage output binding

I try to develop HTTP trigger azure function using C# and .net 3.0.1 (runtime ~3) and Visual Studio 2019. In my function I want to write data into blob and I want to be able set destination file name from request body. I use the following…
0
votes
1 answer

Trouble running Azure functions using runtime 4, .NET 6, out of process

I'm trying to run a set of Azure functions using .NET 6 and dotnet-isolated. When run locally the Program.cs/Main method is correctly invoked. When published to Azure the Program.cs/Main method is never called (which results in failures because DI…
user2845090
  • 147
  • 3
  • 14
0
votes
1 answer

Function app SDH Upgrade from 3.0.x to 4.0.x

I am trying to upgrade function app sdk from 3.0.x to 4.0.x I also have a reference…
0
votes
0 answers

Unload assemblies after azure function is executed

I have an azure function which performs an grpc call to a server (.net 6). Inside the function I dynamically load an assembly (dynamically generated) which unfortunately is not unloaded after the function finishes because of a leak inside a 3-rd…
cbbrsc
  • 21
  • 2
0
votes
1 answer

Read function timeout of Azure Function App from C# code

I set my function timeout for my Azure Function App in the host.json on deployment: { "version": "2.0", "functionTimeout": "00:10:00", //max 10 minutes ... } But how I can I access the value (read it) from within my C# function code. This…
Konrad
  • 4,329
  • 10
  • 54
  • 88
0
votes
1 answer

How to know whether Azure Function has stopped running?

Can someone with how to get the status for Azure Function. Here's the use case. User submits the lengthy form online on our website. Once the form is submitted on UI, the spinner comes up In background, my function kicks in and starts inserting the…
0
votes
1 answer

Problems migrating Node.js Azure Function from Function Extensions 2.x to 3.x

So, I've inherited an Azure Function App written in Node.js from a contractor who did a little work for us. This piece of code was developed outside our C# stack, so I'm having to go back and maintain it. I'm trying to update the Azure Function…
Scuba Steve
  • 1,541
  • 1
  • 19
  • 47