Orchestrator issue The remote server returned an error: (500)

Hello,

I was running some processes from orchestrator on a citrix remote desktop and then suddenly after I republished a process, it started throwing an error “The remote server returned an error: (500) Internal Server Error”. I am able to run the process on the remote desktop manually. And, in the system tray I am not able to update the process from orchestrator and when I try to run the process from system try it throws the same error. I am really confused whey this error is popping up. Please help.

I checked the event viewer and it shows the following message @andreiT:

{“message”:“InstallPackage : mscorlib, \n System.AggregateException: One or more errors occurred. —> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.\r\n at System.Net.HttpWebRequest.GetResponse()\r\n at NuGet.RequestHelper.GetResponse()\r\n at NuGet.HttpClient.GetResponse()\r\n at NuGet.RedirectedHttpClient.GetResponseUri(HttpClient client)\r\n at NuGet.RedirectedHttpClient.EnsureClient()\r\n at System.Lazy1.CreateValue()\r\n at System.Lazy1.LazyInitValue()\r\n at System.Lazy1.get_Value()\r\n at NuGet.MemoryCache.GetOrAdd[T](Object cacheKey, Func1 factory, TimeSpan expiration, Boolean absoluteExpiration)\r\n at NuGet.RedirectedHttpClient.get_CachedClient()\r\n at NuGet.RedirectedHttpClient.get_Uri()\r\n at NuGet.DataServicePackageRepository.get_Context()\r\n at NuGet.DataServicePackageRepository.FindPackage(String packageId, SemanticVersion version)\r\n at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted)\r\n at NuGet.PackageRepositoryHelper.ResolvePackage(IPackageRepository sourceRepository, IPackageRepository localRepository, IPackageConstraintProvider constraintProvider, String packageId, SemanticVersion version, Boolean allowPrereleaseVersions)\r\n at UiPath.NuGetHotFix.PackageManager.InstallPackage(String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)\r\n at UiPath.Project.Deploy.NugetManager.<>c__DisplayClass5_0.b__0()\r\n at System.Threading.Tasks.Task.InnerInvoke()\r\n at System.Threading.Tasks.Task.Execute()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Project.Deploy.NugetManager.d__5.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Project.Deploy.NugetManager.d__4.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ProjectInstaller.d__8.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ProjectInstaller.d__7.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ProjectInstaller.d__5.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.PackageProvider.d__6.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Messages.MessageDispatcher.<>c__DisplayClass9_0.<b__0>d.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Messages.MessageDispatcher.d__9.MoveNext()\r\n — End of inner exception stack trace —\r\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at UiPath.Broker.UiPathRemote.InstallPackage(String packageId, String packageVersion)\r\n—> (Inner Exception #0) System.Net.WebException: The remote server returned an error: (500) Internal Server Error.\r\n at System.Net.HttpWebRequest.GetResponse()\r\n at NuGet.RequestHelper.GetResponse()\r\n at NuGet.HttpClient.GetResponse()\r\n at NuGet.RedirectedHttpClient.GetResponseUri(HttpClient client)\r\n at NuGet.RedirectedHttpClient.EnsureClient()\r\n at System.Lazy1.CreateValue()\r\n at System.Lazy1.LazyInitValue()\r\n at System.Lazy1.get_Value()\r\n at NuGet.MemoryCache.GetOrAdd[T](Object cacheKey, Func1 factory, TimeSpan expiration, Boolean absoluteExpiration)\r\n at NuGet.RedirectedHttpClient.get_CachedClient()\r\n at NuGet.RedirectedHttpClient.get_Uri()\r\n at NuGet.DataServicePackageRepository.get_Context()\r\n at NuGet.DataServicePackageRepository.FindPackage(String packageId, SemanticVersion version)\r\n at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted)\r\n at NuGet.PackageRepositoryHelper.ResolvePackage(IPackageRepository sourceRepository, IPackageRepository localRepository, IPackageConstraintProvider constraintProvider, String packageId, SemanticVersion version, Boolean allowPrereleaseVersions)\r\n at UiPath.NuGetHotFix.PackageManager.InstallPackage(String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)\r\n at UiPath.Project.Deploy.NugetManager.<>c__DisplayClass5_0.b__0()\r\n at System.Threading.Tasks.Task.InnerInvoke()\r\n at System.Threading.Tasks.Task.Execute()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Project.Deploy.NugetManager.d__5.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Project.Deploy.NugetManager.d__4.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ProjectInstaller.d__8.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ProjectInstaller.d__7.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.ProjectInstaller.d__5.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Impl.PackageProvider.d__6.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Messages.MessageDispatcher.<>c__DisplayClass9_0.<b__0>d.MoveNext()\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at UiPath.Service.Messages.MessageDispatcher.d__9.MoveNext()<—\r\n”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2019-01-25T18:30:26.6176776-05:00”,“fingerprint”:“20605227-45e8-4ad2-be7d-b47bd1fe77e2”}

Thank you

Hi,
This looks like an Orchestrator internal error. Were you using platform to run this test?
Is is happening again ?

Yes, its still happening and yes I am using platform. Any idea how to fix it.

Is it something related to version? I am using UIPath studio 18.1.2. My colleague who is using the same version is facing the same problems via platform.

So you are using an licensed robot (18.1.2) connected to platform and you get this error when trying to run or update a process.
What Studio version did you use to create the packages?
Have you changed anything in on the Orchestrator feed (from Settings > deployment)?
Are you able to manually download the package from Orchestrator Processes page > Packages tab ?

An lastly, any chance you could test if you get the same error with the latest 18.4 build?

Thanks,
-Andrei

I dont have any license, I am using community edition. packages were under the same version and I am able to download the packages from processes tab. I dint change anything in the settings.

I had a same problem. And after upgrad to lastest version , it was cleared.
Do we have to use the latest 18.4 build to deploy our all processes? Is there any other solution?

@shivnagsudhakar
How do you have 18.1.2 if it’s community edition? Usually, the community edition is automatically updated when a new version is pushed into platform.

@Saraman
No necessarily, you can push older packages with older versions of Studio onto platform. But like I said above, the Studio usually auto-updates for community edition when a new community build is pushed to platform.

1 Like

Sorry, I was actually using studio trail version. I updated to 19.1 community edition and its all good now.

Thank you for your inputs @andreiT @Saraman

1 Like