I am getting the errors from the node application which needs to listen to the event hub. Event hub connectionString contains readwrite policy. I can't figure it out.
{"level":20,"time":1715786690042,"pid":18,"hostname":"my-service-[redacted secret my-service-events-secrets:MONGO_COLLECTION_NAME]-7c69c6999c-cgmbv","fullyQualifiedNamespace":"sp-my-service-dev-eh.servicebus.windows.net","eventHubName":"sp-my-service-dev-eh1","consumerGroup":"main_consumer","partitionId":"","msg":"consumerClient processError"}
{"level":50,"time":1715786690043,"pid":18,"hostname":"my-service-[redacted secret my-service-events-secrets:MONGO_COLLECTION_NAME]-7c69c6999c-cgmbv","stack":"Error: Error occurred while fetching the list of blobs. \nFetchError: request to https://storagename.blob.core.windows.net/spcloud[redacted secret my-service-events-secrets:MONGO_COLLECTION_NAME]?prefix=sp-my-service-dev-eh.servicebus.windows.net%2Fsp-my-service-dev-eh1%2Fmain_consumer%2Fownership%2F&include=metadata&restype=container&comp=list failed, reason: getaddrinfo EAI_AGAIN storagename.blob.core.windows.net\n at BlobCheckpointStore.<anonymous> (/usr/src/app/node_modules/@azure/eventhubs-checkpointstore-blob/dist/index.js:111:23)\n at Generator.throw (<anonymous>)\n at rejected (/usr/src/app/node_modules/tslib/tslib.js:112:69)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections
(internal/process/task_queues.js:95:5)","type":"Error","msg":"Error occurred while fetching the list of blobs. \nFetchError: request to https://storagename.blob.core.windows.net/spcloud[redacted secret my-service-events-secrets:MONGO_COLLECTION_NAME]?prefix=sp-my-service-dev-eh.servicebus.windows.net%2Fsp-my-service-dev-eh1%2Fmain_consumer%2Fownership%2F&include=metadata&restype=container&comp=list failed, reason: getaddrinfo EAI_AGAIN storagename.blob.core.windows.net"}