Overview
Recently a customer made a request for investigation of a strange case in their system.
The system itself is a set of web services interacting with each other. Let's say there is a service "Designer" which maintains some design artifacts: a template in a form of XML file and related images and texts; "Generator" service ingests those artifacts and generates PDF file. When a user makes a particular 'download' request to "Designer", latter calls "Generator", which produces a file, puts it to a file storage and return full path to the file generated. "Designer" then takes that file and sends it to a user, competing the request.
Now to the point. Sometimes users encountered an intermittent bug. Once "Designer" has made a call and received a path, it tries to access the file and receives "FileNotFound" exception.
Some additional information: the system runs as IaaS in Azure Cloud, and error had appeared after moving to Chinese Azure.