Hi peeps,
This is my first post on the forum as fairly new to UIPath. We are just going through setting up the platform with 2017.1 orchestrator and 2017.1 UIPath studio. I have followed the guidelines as much as I could find. I am now stuck at the point where the packages are not getting published from the studio I get the following error (full stack trace is below). The robot on the dev machine is configured and connected to the orchestrator, they are both on the same domain and I can’t figure out how does the studio get the settings. From this post, I get that when the robot is connected to the machine, it gets all the settings about nuget repo etc but that’s fine and the robot is green (connected). I am still unable to publish any package. Has anyone else encountered this issue or any idea where should I focus to troubleshoot this.
Thanks
17:06:50:140 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [14] System.UnauthorizedAccessException: Access to the path ‘D:\RPA\Demo1\project.json’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents)
at UiPath.Project.WorkflowProject.Save()
17:06:50:299 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [14] System.Exception: Publishing the project has failed.
Error: Failed to process request. ‘Bad Gateway’.
The remote server returned an error: (502) Bad Gateway… —> System.InvalidOperationException: Failed to process request. ‘Bad Gateway’.
The remote server returned an error: (502) Bad Gateway… —> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
at System.Net.HttpWebRequest.GetResponse()
at NuGet.RequestHelper.GetResponse()
at NuGet.HttpClient.GetResponse()
at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable1 expectedStatusCode) --- End of inner exception stack trace --- at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable
1 expectedStatusCode)
at NuGet.PackageServer.PushPackageToServer(String apiKey, Func`1 packageStreamFactory, Int64 packageSize, Int32 timeout, Boolean disableBuffering)
at NuGet.PackageServer.PushPackage(String apiKey, IPackage package, Int64 packageSize, Int32 timeout, Boolean disableBuffering)
at UiPath.Project.Deploy.ProjectPackageManager.Push(WorkflowProjectPackage pack, Int32 timeout)
at UiPath.Project.Deploy.ProjectPackageManager.PackAndPublish(WorkflowProject project, Int32 timeoutMS)
at UiPath.Project.ProjectManager.Publish(Int32 timeoutMS)
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —