Azure CDN not serving full mp3; Direct blob storage works fine

Eben Freeman 20 Reputation points
2025-02-22T21:04:23.5566667+00:00

Azure CDN is not serving a full mp3 file to the browser, the media player (video.js) stops and spins after a few min. This is a repeating daily issue that did not happen 6 months ago. Direct blob storage works fine.

Both CDN and blob storage requests return the same '206 Partial Content' and include the same request and response headers:
Request:
Range: bytes=0-

Response:

content-length: 26030624

content-range: bytes 0-26030623/26030624

content-type: audio/mpeg

Azure Content Delivery Network
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 27,476 Reputation points Microsoft Employee Moderator
    2025-02-27T16:25:44.8366667+00:00

    @Eben Freeman

    Thank you for your patience here, I am just summarizing our discussion here for community benefit.

    Issue Description:

    You experienced an issue where Azure Front Door was not serving a full MP3 file to the browser. As a result, the media player (video.js) stopped and spun after a few minutes. This problem occurred daily and did not happen six months ago. However, direct blob storage worked fine.

    Solution:

    While we were troubleshooting this issue, the work around followed here was to serve the file directly from the Blob Storage using redirect.

    Meanwhile during our screenshare session we were able to reproduce the issue, as the audio file was played the first chunk of data was received from AFD and the next chunk of the data was never received and the audio player remained in stuck state. We did some additional troubleshooting using the Reference strings provided and were able to link this to a known issue affecting AFD.

    The backend team was able to fix this issue and the fix has been deployed in prod. As per recent communication after the fix the audio file was playable in full.

    Please let me know if you have any questions. Thank you!


    Please click "Accept" the answer as original posters help the community find answers faster by identifying the correct answer.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.