Well, when you do a CloudBlob.OpenRead(), the client library is doing two operations:įirst, get the blob block list: GET /devstoreaccount1/etagtest/test2.txt?comp=blocklist&blocklisttype=Committed&timeout=90 HTTP/1.1Īuthorization: SharedKey devstoreaccount1:SPOBe/IUrZJvoPXnAdD/Twnppvu37+qrUbHnaBHJY24= Message=The conditionals specified for this operation did not match server.Īt .Task`1.get_Result()Īt .Task`1.ExecuteAndWait()Īt .ExecuteImpl(Func`2 impl)Īt .Read(Byte buffer, Int32 offset, Int32 count)Īt System.IO.BinaryReader.ReadBytes(Int32 count)Īt .(_BinaryParser input)Īt .Binary._BinaryParser.ReadSerializationHeaderRecord()Īt .Binary._BinaryParser.Run()Īt .(HeaderHandler handler, _BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)Īt .(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) I got this exception with no inner one (before it had a WebException with the details), either a fail line in Fiddler : was unhandled If i use: blob.OpenRead(new BlobRequestOptions() ) It happens every time I launch several parallel tasks doing things on the blob storage. Why the ETAG minds in a read operation? Where the tag 0x8CDA190BD304DD0 comes from? How may I avoid this problem? It happens when I use the Stream retrieved from this line: blob.OpenRead() X-ms-request-id: fbff9d15-65c8-4f21-9088-c95e4496c62cĬonditionNotMetThe condition specified using HTTP conditional header(s) is not met. Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 Is an invalid ETAG (that's why the HTTP 412), but I don't know where that Etag comes from :(Īnd this is the response: HTTP/1.1 412 The condition specified using HTTP conditional header(s) is not met. I've caught with Fiddler the request that creates this problem: GET HTTP/1.1Īuthorization: SharedKey devstoreaccount1:5j3IScY9UJLN3o1ICWKwVEazO4/IDJG796sdZKqHlR4= I'm not using any BlobRequestOptions in any save or delete. It happens also in the real Azure blob storage. I got this exception when I run my application.