I recently set up a content delivery network for mp3 files (spoken word podcast stuff) with Microsoft Azure. At first everything worked fine, but recently the files started "skipping", i.e. resetting themselves. For example when the player reached the 3:30 mark of the file it would go back to the 0:15 mark of the file. For some reason this is only happening when serving the files under https, not under http
Specifics:
- It is only happening on Chrome - I've tested under Edge and Firefox too - they work perfectly
- It happens across multiple computers
- Only the https version of the file has the problem, the http version is fine
- It works using the plain vanilla audio tag - no fancy player involved
- When this happens there is no entry in the console in the dev tools, nor a new download in the media window
- I uploaded the same file to Amazon S3 - put it in the same plain vanilla player and it plays just fine under https.
How can this be happening?
Headers from the NOT working request from Azure
- Request Method: GET
- Status Code: 206 Partial Content (from disk cache)
- Referrer Policy: no-referrer-when-downgrade
- Accept-Ranges: bytes
- Access-Control-Allow-Origin: *;
- Access-Control-Expose-Headers: x-ms-request-id;
- Content-Disposition: attachment; filename=XXXXXXXXXXX.mp3;
- Content-Length: 76434500;
- Content-Range: bytes 0-76434499/76434500;
- Content-Type: audio/mpeg;audio/mpeg3;;
- Date: Mon;
- ETag: "0x8D5EC5B899726B0";
- Last-Modified: Wed;
- Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0;
- status: 206;
- x-ms-blob-type: BlockBlob;
- x-ms-lease-state: available;
- x-ms-lease-status: unlocked;
- X-MS-Ref: 0DGxVWwAAAAA2BOMWL9GzRqSzc9yi5SF4QkwyRURHRTA1MTIAMzc1ZmRlZDMtMjA3My00Y2YxLTljZGMtNzc4NGMxYmI3ZmZi;
- x-ms-request-id: 998f9297-301e-00bc-2945-22fa9f000000;
- x-ms-version: 2014-02-14;
Headers from the working request from Azure
- Request Method: GET;
- Status Code: 206 Partial Content (from disk cache);
- Remote Address: 52.239.152.234:80;
- Referrer Policy: no-referrer-when-downgrade;
- Accept-Ranges: bytes;
- Access-Control-Allow-Origin: *;
- Access-Control-Expose-Headers: x-ms-request-id;
- Content-Disposition: attachment; filename=XXXXXXXXXXX.mp3;
- Content-Length: 76434500;
- Content-Range: bytes 0-76434499/76434500;
- Content-Type: audio/mpeg;audio/mpeg3;;
- Date: Mon;
- ETag: "0x8D5EC5B899726B0";
- Last-Modified: Wed;
- Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0;
- x-ms-blob-type: BlockBlob;
- x-ms-lease-state: available;
- x-ms-lease-status: unlocked;
- x-ms-request-id: 6246c264-401e-017b-1b47-22c00b000000;
- x-ms-version: 2014-02-14;
Headers from the working request from S3
- Accept-Ranges: bytes;
- Content-Length: 76303428;
- Content-Range: bytes 131072-76434499/76434500;
- Content-Type: audio/mp3;
- Date: Mon;
- ETag: "09fac410597469e6db237376a0e2505d-5";
- Last-Modified: Sun;
- Server: AmazonS3;
- x-amz-id-2: ictUYlZjFNJwa2g8q09TowZuc3quHiHmZsYmq7b/hjIgEsoIKpZIYrlqBCea1NYScr9QukHPqZY=;
- x-amz-request-id: 6FE8390CF92213AF;