azure function servicebustrigger keeps getting (ServiceTimeout)
hi,
We created an isolated function, locally it works but after deploying to azure it does not.
The network on ServiceBus and Function are public as to eliminate any network problems.
looking into kudu logs we see:
Message processing error (Action=Receive, EntityPath=queuemes, Endpoint=myappservicebusdev.servicebus.windows.net)
Azure.Messaging.ServiceBus.ServiceBusException : The operation did not complete within the allocated time 00:01:00 for object tls15. (ServiceTimeout). For troubleshooting information, see https://aka.ms/azsdk/net/servicebus/exceptions/troubleshoot. ---> System.TimeoutException : The operation did not complete within the allocated time 00:01:00 for object tls15.
a different time looking in log stream it shows:
2024-09-29T08:59:55Z [Verbose] Request successfully matched the route with name '' and template 'admin/warmup'
2024-09-29T09:01:18Z [Information] Message processing error (Action=Receive, EntityPath=
queuemes, Endpoint=myappservicebusdev.servicebus.windows.net)
the function code:
[FunctionName("FunctionQueue1")]
public void Run([ServiceBusTrigger("queuemes", Connection = "ServiceBusConnectionString")] string myQueueItem, ILogger log)
{
log.LogInformation($"FunctionQueue1, C# ServiceBus queue trigger function processed message: {myQueueItem}");
}
my startup.cs file:
class Startup : FunctionsStartup
{
public override void ConfigureAppConfiguration(IFunctionsConfigurationBuilder builder)
{
}
public override void Configure(IFunctionsHostBuilder builder)
{
}
}
any help on what am i doing wrong would be greatly appreciated...
I'm at this for over a week