I have a correctly formed URL for the Blob PUT operation, using Shared Access Signature:
Using Fiddler's Composer, I am able to successfully upload data (with "x-ms-blob-type: BlockBlob" header).
However, when I change the URL to "https" -- the PUT fails with Status Code 502, and the following message:
[Fiddler] The connection to 'xyz.blob.core.windows.net' failed.
System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https> HTTPS handshake to xyz.blob.core.windows.net (for #21) failed. System.IO.IOException The handshake failed due to an unexpected packet format.
It surely seems like a problem on Azure's end. How could I get this resolved?
P.S. In Chrome, this problem manifests as "net::ERR_SSL_PROTOCOL_ERROR". In Edge, I get "XMLHttpRequest: Network Error 0x80070005, Access is denied."
Doh! The explicit port in the URL (":80" for HTTP) was the problem.
One more point. Just make sure that when you are creating blob service with SAS, provide no protocol info in the host parameter. e.g.
var service = azureBlob.createBlobServiceWithSas("xxxxx.blob.core.windows.net", sasKey);
User contributions licensed under CC BY-SA 3.0