Cloudinary video giving time out error.

Neha_Sharma
Neha_Sharma Member Posts: 14
edited April 18 in Developer APIs

http://res.cloudinary.com/ddyewklhk/video/upload/c_fill,du_12,h_1080,so_938.8,w_1920/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_940.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_945,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_961.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_983.2,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1029.4,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1062.4,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1084.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1096.2,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1120.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1168,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1173.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1578.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1584.5,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1620.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1656.4,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1705.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1725.2,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1752.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1769.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1778.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_1787.6,w_1920/fl_layer_apply/v1/ballerappCloudinary/66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4/1713421058876

This url was not playable before. It was giving error as shown in above screenshot.

Same url is now working fine.

We need to know what was the issue? What are the chances that this issue will occur in future for more transformations? And if any fixes , it would be great to get support.

We also tried to update the start offsets of above url and again we are facing time out issues 😕

Answers

  • Tom
    Tom Member, Cloudinary Staff Posts: 112

    Hi @Neha_Sharma ,

    Thanks for reaching out.

    Just tested that URL and it's playing well for me.

    I wonder if it's local to your region, do you have a VPN you can use to test from a different location and let me know if you get the same error there?

    Kind Regards,

    Thomas

  • Neha_Sharma
    Neha_Sharma Member Posts: 14
    edited April 18

    Hi @Tom

    https://res.cloudinary.com/ddyewklhk/video/upload/c_fill,du_9,h_1080,so_900.3,w_1920/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_943.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_948.5,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_965.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_986.7,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1032.9,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1065.9,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1087.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1099.7,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1124.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1171.5,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1177.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1581.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1588,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1624.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1659.9,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1709.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1198.7,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1756.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1773.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1781.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1691.1,w_1920/fl_layer_apply/v1/ballerappCloudinary/66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4/1713421058876


    https://res.cloudinary.com/ddyewklhk/video/upload/c_fill,du_9,h_1080,so_900.3,w_1920/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_943.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_948.5,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_965.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_986.7,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1032.9,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1065.9,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1087.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1099.7,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1124.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1171.5,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1177.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1581.6,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1588,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1624.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1659.9,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1709.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1728.7,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1756.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1773.1,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1781.8,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_9,h_1080,so_1691.1,w_1920/fl_layer_apply/v1/ballerappCloudinary/66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4/1713421058876



    Some other examples of same issues, added multiple examples just in case the url starts working by the time you take a look at it.

  • Tom
    Tom Member, Cloudinary Staff Posts: 112

    Hi @Neha_Sharma ,

    Thanks for the reply.

    Those links are working fine for me as well.

    Are you seeing the issue with these long URLs only or any asset in your account?

    Also, could you please VPN to a different region and test from there?

    Kind Regards,

    Thomas

  • Neha_Sharma
    Neha_Sharma Member Posts: 14
    edited April 18

    Hi @Tom

    Now they started to working for me as well. Seems like this is happening for long urls.
    Some other info that might help to troubleshoot : The video duration is 30 mins in above case and we are trying to split and merge around the end part of the video.
    We have requirement for to split and merge short clips which might end up with very long urls.

  • Tom
    Tom Member, Cloudinary Staff Posts: 112

    Hi @Neha_Sharma ,

    Thanks for getting back.

    If the video is playing now then the URL length should not be a problem.

    I would recommend generating these videos eagerly (with async:true) as there are several transformations that we need to perform on a long video and the processing can take time.

    You can setup a webhook to get notified when the processing completes and only once the processing is complete, access the video.

    More here: https://cloudinary.com/documentation/eager_and_incoming_transformations

    Please try this and let me know if you still get the same issue.

    Kind Regards,

    Thomas

  • Neha_Sharma
    Neha_Sharma Member Posts: 14

    Hi @Tom

    Is these the right way I am using node js ?

    const cloudinaryReelUrl = cloudinary.url(`ballerappCloudinary/path`,  { resource_type: "video",  async:true,        transformationArray, }    );

  • Ranson
    Ranson Cloudinary Staff Posts: 25

    Hello Neha,

    If you are referring to the message that Tom sent previously, then yes you would be setting the async parameter to true.

  • Neha_Sharma
    Neha_Sharma Member Posts: 14

    https://tinyurl.com/26fn9aav

    Also we are getting 494 error in above url . Please provide support.

  • Stephen
    Stephen Member, Cloudinary Staff Posts: 33

    Hi Neha,

    The 494 response indicates the request URL was too large to be handled by our backend or by one of our CDN partners - please follow up on one of the support requests you opened for our team directly if you have any follow-up questions about that.

    To give a general answer for others who may read this post, Cloudinary does not have a specific upper limit on the URL length, but request URLs above approximately 2.5 KB can cause issues in some cases.

    If the URL is extremely long you can address that by reducing the length of the public_id values of the asset(s) in the transformation string, or by moving as much as possible of the URL into Named Transformations.
     
    Alternatively, you could call the Upload API and perform the transformation as an Incoming Transformation ( https://cloudinary.com/documentation/eager_and_incoming_transformations#incoming_transformations ) with the async: true parameter mentioned earlier
     
    To work with an existing asset without affecting the original, a similar option is to pass the transformation details directly as an eager transformation (  https://cloudinary.com/documentation/eager_and_incoming_transformations#eager_transformations  ) to the explicit method of the upload API, using eager_async: true as a parameter. You can then optionally copy the new derived asset to be a new "original" asset in your account, which won't contain the transformation options in the delivery URL.

    Regards,

    Stephen