We have an Linux based queue triggered Python Azure Function App. running on consumption plan. We have a process to ingest about 4 to 5 queue message per second which can go up to a couple of thousand messages put in the queues in a span of 15 minutes. The Azure function app processes the queue messages, reads a dozen blobs, processes and outputs the data to blob storage in parallel. A few instances of the function randomly fails saying that there's a temporary failure in name resolution of input blobs and URL cannot be opened. I checked the BlobURL in question and was able to access and download the file directly using the browser. The failures are random and sometimes doesn't happen. The blobs are not accessed concurrently by different instances, however the container is accessed by tens of function instances concurrently. I tried to look up on the internet but couldn't find anything related. Any help would be much appreciated. The error is below.
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>