This is a migrated thread and some comments may be shown as answers.

iOS Build Timeouts

5 Answers 75 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brad
Top achievements
Rank 2
Brad asked on 03 Feb 2015, 09:42 PM
I've been geeting build timeouts when trying to build for iOS intermittently for the past few weeks. This seems to happen arbitrarily and doesn't matter if I'm trying to build using the web client or the Visual Studio extension. Every once in a while it will work, but the vast majority of attempts fail with a message like this:

Error 136 Build failed: One or more errors occurred..
System.AggregateException: One or more errors occurred. ---> System.TimeoutException: The operation has timed out.

Server stack trace: 
   at Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.TimeoutHandler.<SendAsync>d__1b.MoveNext()

Exception rethrown at [0]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.<ProcessRequestAsync>d__11.MoveNext()

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.MultipartUploadService.<RequestAndThrowOnExceptionAsync>d__1a.MoveNext()

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.MultipartUploadService.<>c__DisplayClassf.<<CreateUploadChunkTask>b__b>d__13.MoveNext()

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.MultipartUploadService.<UploadFile>d__4.MoveNext()

Exception rethrown at [4]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadProjectAsync>d__2a.MoveNext()

Exception rethrown at [5]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadAndConfigurePackageAsync>d__1f.MoveNext()

Exception rethrown at [6]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.Build.Services.BuildService.<SyncProjectFilesAsync>d__3a.MoveNext()
   --- 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.TimeoutException: The operation has timed out.

Server stack trace: 
   at Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.TimeoutHandler.<SendAsync>d__1b.MoveNext()

Exception rethrown at [0]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.<ProcessRequestAsync>d__11.MoveNext()

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.MultipartUploadService.<RequestAndThrowOnExceptionAsync>d__1a.MoveNext()

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.MultipartUploadService.<>c__DisplayClassf.<<CreateUploadChunkTask>b__b>d__13.MoveNext()

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.MultipartUploadService.<UploadFile>d__4.MoveNext()

Exception rethrown at [4]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadProjectAsync>d__2a.MoveNext()

Exception rethrown at [5]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadAndConfigurePackageAsync>d__1f.MoveNext()

Exception rethrown at [6]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.Build.Services.BuildService.<SyncProjectFilesAsync>d__3a.MoveNext()<---
C:\Users\bradw_000\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\cg3ftrxr.euh\Targets\Build.targets 158 4 App

5 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 06 Feb 2015, 09:50 AM
Hello Brad,

As I have answered in your support ticket on the same matter, the build error message means that the AppBuilder has timed out while building your project. There are few known scenarios for this to happen:
  • Your project is bigger than 100mb. If this is so, it is possible that the upload and then the apk download take too much time and the 10 minutes timeout range in our clients is not enough for the build to complete. In such case, I would suggest you to export any possible resources (like images, videos, etc.) from the app and download the dynamically while it is running on device. For example, a possible approach is to use Backend Services and their Responsive Images support for this purpose.
  • Your internet connection is slow and so, it takes too much time for the sync process to complete, before the actual build starts on our servers. This also slows the apk download, after the build has completed. Please, let me know if you think this might be the cause of the issue.

I would suggest you continuing our conversation in the support ticket until the cause of the issue is found. Then, if you wish, I can update this forum thread with all the useful for our community information.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jason
Top achievements
Rank 1
answered on 12 Mar 2015, 07:04 PM
I was curious if you ever found a resolution.  I have been having the same problem... only starting a couple weeks ago.  I know my project is under 100mbs, and my internet connection is quite fast.

0
Kaloyan
Telerik team
answered on 17 Mar 2015, 03:28 PM
Hi Jason,

Normally, this should not be happening if your application is under 100mb and you rely on a good network connection.

In order to assist you, I would kindly ask you to gather a Fiddler logs about the failing build and send it over in a private support ticket. To get the log, you can follow the next steps:

1.     Download Fiddler from here and install it.
2.    
Run Fiddler and go to Tools -> Fiddler Options.
3.    
On the HTTPS page, verify that Capture HTTPS Connects is enabled.
4.    
Verify that Decrypt HTTPS traffic is enabled with the ...from all processes option and minimize Fiddler to tray.
5.    
Try to build your project in the preferred AppBuilder client and when it fails, continue to the next step.
6.    
In Fiddler, go to File -> Save -> All Sessions, save the archive to disk. This will produce a SAZ file.
7.    
Zip the .saz file and attach it in the ticket


I hope this is doable for you and I am looking forward to your reply.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Ramon
Top achievements
Rank 1
answered on 03 Sep 2015, 07:35 AM

I also experience the same issue.  Attache is my fiddler session

 

0
Kaloyan
Telerik team
answered on 07 Sep 2015, 02:52 PM
Hi Ramon,

As this is a public thread, I don't recommend sharing/exposing such information here. Instead, I suggest you opening a support ticket on the matter and attaching the Fiddler trace there.

I am looking forward to it.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
Brad
Top achievements
Rank 2
Answers by
Kaloyan
Telerik team
Jason
Top achievements
Rank 1
Ramon
Top achievements
Rank 1
Share this question
or