Hi,
Just created an azure function using dot net core 3 following this:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-hubs-trigger?tabs=csharp.
the http trigger works after I set it to use websockets but the hub trigger throws this error:
The listener for function 'TriggerBatch' was unable to start.
[2021-08-05T04:51:59.647Z] The listener for function 'TriggerBatch' was unable to start. Microsoft.Azure.EventHubs.Processor: Encountered error while fetching the list of EventHub PartitionIds. System.Private.CoreLib: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
The connection string is correct. any ideas? could be it also need somehow some setting to force running on websockets?