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

Telerik Build Error Since Morning

9 Answers 180 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bala Chandra
Top achievements
Rank 1
Bala Chandra asked on 21 Jul 2014, 03:31 PM
Hello, I am facing below build error while trying to deploy to cloud or Device.

Is there any issue with build server?

C:\Users\Balac\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\uyhawoyr.uij\Targets\Build.targets(152,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: (401) Unauthorized

Server stack trace: 
   at OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

Exception rethrown at [0]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at OperationExecutorExtensions.<ExecuteAsync>d__0`1.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.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: (401) Unauthorized

Server stack trace: 
   at OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

Exception rethrown at [0]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at OperationExecutorExtensions.<ExecuteAsync>d__0`1.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.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 "TestBackButton.iceproj" -- FAILED.

Build FAILED.

9 Answers, 1 is accepted

Sort by
0
Alfonso
Top achievements
Rank 1
answered on 22 Jul 2014, 08:39 AM
I'm having the same Error, so it must be a problem on Telerik's side.
0
Nicholas
Top achievements
Rank 1
answered on 22 Jul 2014, 10:50 AM
Hi

Same problem here trying to build a Windows 8 app.

Any idea what the problem is?

Thanks

Nick
0
Alfonso
Top achievements
Rank 1
answered on 22 Jul 2014, 10:54 AM
It is working for me now.

What I did was:

1.- Log Out from Appbuilder in VS Extension
2.- Close all instances of Visual Studio
3.- Open Visual Studio and log in to appbuiler

Then, it started working again.


0
Alfonso
Top achievements
Rank 1
answered on 23 Jul 2014, 07:41 AM
It's failing again. :(
0
Tina Stancheva
Telerik team
answered on 23 Jul 2014, 11:14 AM
Hi guys,

We were experiencing issues caused by a short expiration date for the AppBuilder login sessions. However, we applied a new expiration period that better reflects the common usage patterns of AppBuilder and this change should fix the reported Unauthorized errors. Please make sure to log out of any AppBuilder clients and then log back in to take advantage of the updated session expiration period.

@Alfonso - As you described logging out and in AppBuilder VS extension, I want to ask if you have left a VS or another AppBuilder client instance running since logging in yesterday. Also, can you clarify what you mean when you say it's failing - do your builds fail with any specific errors. It would greatly help us if you can send us the AppBuilder logs available under %localappdata%\Telerik\BlackDragon\Logs. Can you also try logging out and back in as you did yesterday - please let us know if that helps. In the meantime we will keep investigating your report locally and see if there is another issue that might cause unauthorized errors. This is why any additional information will be highly appreciated as we want to make sure that all issues get resolved in a timely manner.

Regards,
Tina Stancheva
Telerik
 

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

 
0
Alfonso
Top achievements
Rank 1
answered on 23 Jul 2014, 11:28 AM
Hello Tina,

mostly it was the Unauthorized error. But there were other errors as well.
It is working right now, so if i have new issues I will be more precise.

Thank you.

0
Alfonso
Top achievements
Rank 1
answered on 23 Jul 2014, 11:56 AM
Well, it is failing again with the unauthorized error. Even if I log out and log in again.
Sometimes, I can not even log in again, it says: "You are not auhorized."

This is very frustating.

And when building I get this error:

Telerik.BlackDragon.Client.ServerClient.HttpRequestExtendedException: Status code not successful: (401) Unauthorized

Server stack trace:
en OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

Exception rethrown at [0]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en OperationExecutorExtensions.<ExecuteAsync>d__0`1.MoveNext()

Exception rethrown at [1]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en 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: (401) Unauthorized

Server stack trace:
en OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

Exception rethrown at [0]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en OperationExecutorExtensions.<ExecuteAsync>d__0`1.MoveNext()

Exception rethrown at [1]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en 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 "DammMobile.iceproj" -- FAILED.

Build FAILED.
Building package: [D:\Alfonso\Proyectos\TFS\Damm\fuentes\DammMobile\DammMobile\obj\Debug\DammMobile.zip]
C:\Users\Alfonso\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\p1cnmo0u.xm0\Targets\Build.targets(152,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: (401) Unauthorized

Server stack trace:
en OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

Exception rethrown at [0]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en OperationExecutorExtensions.<ExecuteAsync>d__0`1.MoveNext()

Exception rethrown at [1]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en 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: (401) Unauthorized

Server stack trace:
en OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

Exception rethrown at [0]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en OperationExecutorExtensions.<ExecuteAsync>d__0`1.MoveNext()

Exception rethrown at [1]:
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
en 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 "DammMobile.iceproj" -- FAILED.

0
Tina Stancheva
Telerik team
answered on 24 Jul 2014, 02:07 PM
Hello Alfonso,

Please accept our sincere apologies for this inconvenience. We are currently looking into the "You are not auhorized." error. We have also identified a few other issues regarding the session expiration and they will all be fixed with the upcoming release.

I will keep you posted on the progress of the issues and the release. In the meantime, please try not to keep your AppBuilder clients or VisualStudio instances opened for longer periods of time. Also, logging out, closing VisualStudio and reopening it after that should let you successfully log back in.

Regards,
Tina Stancheva
Telerik
 

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

 
0
Tina Stancheva
Telerik team
answered on 31 Jul 2014, 02:40 PM
Hi Alfonso,

We just released the latest version of AppBuilder and we've included the login session expiration time fixes in it. Please do let us know if you encounter any issues while working with it.

Regards,
Tina Stancheva
Telerik
 

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

 
Tags
AppBuilder extension for Visual Studio
Asked by
Bala Chandra
Top achievements
Rank 1
Answers by
Alfonso
Top achievements
Rank 1
Nicholas
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or