uploading big video file with C# and VideoIndexer REST Api fails --> got info in portal --> indexing after 5 seconds

I wrote some unit tests to upload video files and got the error : The operation was canceled. ---> System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request. ---> System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request.... This does not happen for smaller videos. The problem occurs with a video which has a size of 120MB. The same video could be uploaded and indexed if i use the video indexer portal. It seems this problem occurs til the last mid of august. Before i got not this problem for the same videos.

Comments

  •  
    Hey! Can you please share your account id + region for further investigation? thanks
    Posted by Hidden Tue, 03 Sep 2019 12:21:43 GMT
  •  
    accountid: 39a9ee30-5a42-4f00-98db-dd32e7f430c3 region : northeurope
    Posted by Hidden Tue, 03 Sep 2019 12:49:53 GMT
  •  
    Thanks! According to our logs there was a connection failure, and you uploaded a local file. Our recommendation is to upload a file from a URL, because upload locally using byte array times out after 30 min. (This is also the option we are using in our UI - first we upload the file and then calling the request), You can read more about it here - https://docs.microsoft.com/en-us/azure/media-services/video-indexer/upload-index-videos. Hope thats helps!
    Posted by Hidden Wed, 04 Sep 2019 15:36:08 GMT


You're not signed in. Please sign-in to report an issue or post a comment.