Error in Built-in-EndPoint monitor in VS code "At least one receiver for the endpoint is created with epoch "

Shivakumar Ayla 1 Reputation point
2022-11-12T17:19:35.52+00:00

I'm unable to View Monitor the built-in End Point froms VS code, though I have tried multiple Solutions that apperared in Stack Overflow and other relevant links, It still says the same error

"At least one receiver for the endpoint is created with epoch of '13055', and so non-epoch receiver is not allowed."

Is there any Document From Microsoft Related to create a new consumer group and Monitor the Endpoint of the same from VS code and Powershell.

Thanks,
Shiva.A

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
383 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,127 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,956 Reputation points MVP
    2022-11-14T09:24:11.137+00:00

    Hello @Shivakumar Ayla ,

    you are using the IoT Hub 'eventhub compatible output' to listen to events.

    It seems you are reusing the same consumer group (probably $default) multiple times.

    Now multiple 'consumers' are trying to read the same message instead of a copy for every consumer. This can result in errors.

    Please add an extra consumer group and consume messages with separate consumer groups. I prefer to NOT use $default so I know the explicit consumers.

    Here you see I have added multiple consumer groups using the Azure portal:

    260057-image.png

    It can also be added using the AZ CLI command:

    az iot hub consumer-group create --hub-name MyIotHub --name cg1  
    

    ----------

    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.