Offline Video Files

17 posts, 0 answers
  1. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 17 Jan 2014 Link to this post

    I'm currently using Icenium in trial mode. I'm building a sales and marketing tool that will display images and small videos offline for sales presentations. It's a simple html page with images, PDF and video links. I'm able to build the app with just images and PDFs and it runs perfectly on my iPad, but when I include any video file (500k - 8mb) it fails to build in the cloud. The code doesn't change, I'm just adding mp4 files to a video folder. Is there a size or file type restriction when you're in trial mode? I need to be able to embed about 25mb of videos for this tool to work for our team. Is this possible using Icenium?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Jan 2014 Link to this post

    Hi Steve,

    The trial version of Icenium is fully functional and there are no size limitations at this point. With that said, you state that the build fails - do you get any exceptions and if yes, can you share them? Currently there is a timeout of 3 mins for build to finish, so if your build takes longer it is possible to timeout. In such case, open the project properties and disable any unused Cordova core plugins in order to speed the build process (see Enable and Disable the Core Plugins).

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 23 Jan 2014 Link to this post

    Okay, I disabled every plugin except for the InAppBrowser because my app is only opening images, videos and PDFs so it's really the only plugin I need. When I use about half of my video files it compiles and works great! The total size of the project is 130mb (that compiles successfully). Now if I had one more video file it fails to compile and I only have about 30%  of my videos in the project. I hope there's not a limit, the error I'm getting is below:

    Building package: [...\Visual Studio 2013\Projects\MobileProject1\MobileProject1\obj\Debug\SurfacePrepLib.zip]

    ...\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\5pd0v0la.snc\Targets\Build.targets(118,3): error : Build failed: One or more errors occurred..

    System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.

    Server stack trace:

    at #8u.#Czc.#AXc.#qb()

    Exception rethrown at [0]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at OperationExecutorExtensions.#S0c.#qb()

    Exception rethrown at [1]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at OperationExecutorExtensions.#bEc.#qb()

    Exception rethrown at [2]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at Telerik.BlackDragon.Client.Build.Services.BuildService.#f8d.#qb()

    Exception rethrown at [3]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at Telerik.BlackDragon.Client.Build.Services.BuildService.#i8d.#qb()

    --- End of inner exception stack trace ---

    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

    at System.Threading.Tasks.Task`1.get_Result()

    at Telerik.BlackDragon.Client.Build.CloudSync.ExecuteCore(IHttpServiceContext httpServiceContext, LogHelper logger)

    at Telerik.BlackDragon.Client.Build.CloudTaskBase.Execute()

    ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.

    Server stack trace:

    at #8u.#Czc.#AXc.#qb()

    Exception rethrown at [0]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at OperationExecutorExtensions.#S0c.#qb()

    Exception rethrown at [1]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at OperationExecutorExtensions.#bEc.#qb()

    Exception rethrown at [2]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at Telerik.BlackDragon.Client.Build.Services.BuildService.#f8d.#qb()

    Exception rethrown at [3]:

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)

    at Telerik.BlackDragon.Client.Build.Services.BuildService.#i8d.#qb()<---

    Done building project "SurfacePrepLib.iceproj" -- FAILED.

    Build FAILED.

  4. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 27 Jan 2014 in reply to Steve Link to this post

    Does anyone have any insight on my posted error log?
  5. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 27 Jan 2014 in reply to Steve Link to this post

    Okay, I now have all the video files uploaded and with the recent change or upgrade from Icenium to AppBuilder I'm getting a brand new error when I try to build.

    Building package: [...\Visual Studio 2013\Projects\MobileProject1\MobileProject1\obj\Debug\SurfacePrepLib.zip]
    ...\VisualStudio\12.0\Extensions\hpecys3s.cht\Targets\Build.targets(118,3): error : Build failed: One or more errors occurred..
    System.AggregateException: One or more errors occurred. ---> Telerik.BlackDragon.Client.ServerClient.HttpRequestExtendedException: Status code not successful: (404) Not Found

    Server stack trace:
    at OperationExecutorExtensions.#S0c.#qb()

    Exception rethrown at [0]:
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
    at OperationExecutorExtensions.#bEc.#qb()

    Exception rethrown at [1]:
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
    at Telerik.BlackDragon.Client.Build.Services.BuildService.#f8d.#qb()

    Exception rethrown at [2]:
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
    at Telerik.BlackDragon.Client.Build.Services.BuildService.#i8d.#qb()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
    at System.Threading.Tasks.Task`1.get_Result()
    at Telerik.BlackDragon.Client.Build.CloudSync.ExecuteCore(IHttpServiceContext httpServiceContext, LogHelper logger)
    at Telerik.BlackDragon.Client.Build.CloudTaskBase.Execute()
    ---> (Inner Exception #0) Telerik.BlackDragon.Client.ServerClient.HttpRequestExtendedException: Status code not successful: (404) Not Found

    Server stack trace:
    at OperationExecutorExtensions.#S0c.#qb()

    Exception rethrown at [0]:
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
    at OperationExecutorExtensions.#bEc.#qb()

    Exception rethrown at [1]:
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
    at Telerik.BlackDragon.Client.Build.Services.BuildService.#f8d.#qb()

    Exception rethrown at [2]:
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
    at Telerik.BlackDragon.Client.Build.Services.BuildService.#i8d.#qb()<---

    Done building project "SurfacePrepLib.iceproj" -- FAILED.

    Build FAILED..
  6. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 Jan 2014 Link to this post

    Hi Steve,

    Quite frankly the first exception does not really tell us what the problem might be. The second exception might be due to the major upgrade we did over the weekend, please make sure you're with the latest Visual Extension for AppBuilder by downloading it from here.

    If you have already upgraded, post the version of the Visual Extension for AppBuilder here. If the problem continues with the latest version, please install Fiddler and provide us with the session logs from the point when you logged into the extension.

    Regards,
    Steve
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 29 Jan 2014 in reply to Steve Link to this post

    I uninstalled and re-installed the extension yesterday.

    Date Installed: 1/28/2014
    Version 2014.1.25.2

    I've also tried to build using my iOS provisioning account and it fails too, but with an entirely different error.

    "Parameter must not be null or empty. Parameter name: LiveSyncToken"

    Oddly, I can build this app just fine on my mac mini using xCode and PhoneGap. It deploys and works like a million bucks. I'm a windows programmer and would rather work in Visual Studios so I'm really hopeful you guys can get this product to work.
  8. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 29 Jan 2014 in reply to Matt Link to this post

    Fiddler Raw output:

    HTTP/1.1 504 Fiddler - Send Failure
    Date: Wed, 29 Jan 2014 16:56:19 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: close
    Cache-Control: no-cache, must-revalidate
    Timestamp: 08:56:19.955

    [Fiddler] ResendRequest() failed: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. < An existing connection was forcibly closed by the remote host
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 29 Jan 2014 Link to this post

    Hi Steve,

    Have you started Fiddler with the Decrypt HTTPS Traffic option enabled? If that does not yield a result, can you upload your app to a file sharing server, so we can have a look at it and try on our end?

    Regards,
    Steve
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  10. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 29 Jan 2014 in reply to Steve Link to this post

    Yes, I did. What exactly do you want to see from the debugger. I posted the raw text output from the https app.icenium.com session.

    Here's the tunnel output for port 443

    HTTP/1.1 200 Connection Established
    FiddlerGateway: Direct
    StartTime: 09:00:47.862
    Connection: close

    Encrypted HTTPS traffic flows through this CONNECT tunnel. HTTPS Decryption is enabled in Fiddler, so decrypted sessions running in this tunnel will be shown in the Web Sessions list.

    Secure Protocol: Tls
    Cipher: Aes128 128bits
    Hash Algorithm: Sha1 160bits
    Key Exchange: RsaKeyX 2048bits

    == Server Certificate ==========
    [Subject]
    CN=*.icenium.com, OU="Member, VeriSign Trust Network", OU=Authenticated by VeriSign, OU=Terms of use at www.verisign.co.uk/rpa (c)05, OU=IT, O=Telerik AD, L=Sofia, S=Stolichna, C=BG

    [Issuer]
    CN=VeriSign Class 3 Secure Server CA - G3, OU=Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US

    [Serial Number]
    14BA099FA3D3FCCF53DB16A53B171811

    [Not Before]
    9/11/2013 5:00:00 PM

    [Not After]
    9/12/2014 4:59:59 PM

    [Thumbprint]
    4B3652A097CFBE0E201ED7F4A4AFF81A1C451AC1
  11. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 31 Jan 2014 Link to this post

    Hi Steve,

    I need the whole session since you start the build until it fails (see screenshot). Use the Save Session option in Fiddler, zip the .saz file and attach it to a free file sharing server/dropbox etc. so we can review it. For quicker resolution, you might also upload your project, so we can try reproducing the problem with it locally.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  12. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 05 Feb 2014 in reply to Steve Link to this post

    Steve, what email address can I share a dropbox link with? I have everything uploaded and ready for your review.

    Steve
  13. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Feb 2014 Link to this post

    Hi Steve,

    Either give the link to the files in dropbox or if you are reluctant to do that, send them over at support at icenium com.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  14. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 05 Feb 2014 in reply to Steve Link to this post

    Okay I just sent the link to support at icenium. Can you verify that you received them please? I'd like to get this project wrapped up.

    Thanks for all your help,

    Steve
  15. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Feb 2014 Link to this post

    Hi Steve,

    Yes, we've received your email and would get back to you once we have more info.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  16. Matt
    Matt avatar
    10 posts
    Member since:
    Oct 2012

    Posted 12 Feb 2014 in reply to Steve Link to this post

    Any progress or answers on my issue?
  17. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Feb 2014 Link to this post

    Hello Steve,

    Sorry for the delayed reply. I was able to reproduce the exception with your project and we identified the issue being the size of your project. Currently anything above 50 MB is highly likely to fail the upload and/or build process timeouts, due to a bug in the Visual Studio extension. We're already working on addressing this problem and would release a hotfix early next week that fixes this problem.

    If you need to build your app now, we suggest creating a project in AppBuilder Windows/In-browser clients and copying over your app content to it.

    Please excuse us for the temporary inconvenience!

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Back to Top