Cannot publish process from Studio and cannot update process at UiRobot menu


#1

[Environment]
・UiPath Studio 2018.1.2 with Windows 8.1 Enterprise.
・UiPath Orchestrator 2018.1.1 with Windows 2012 R2.

[Precondition]
・Define the Robots and Environments in UiPath Orchestrator was done.
・Connect from UiPath Robot to Orchestrator was succeed.

[Operation 1]

  1. Launch UiPath Studio.
  2. Open Project.
  3. Press setup tab and [Publish] button.

and error dialog is shown with follow stack trace messages.

UiPath Studio Error with Publishing the project has failed.
Publishing the project has failed.

Error: Failed to process request. 'Forbidden'. 
The remote server returned an error: (403) Forbidden..

System.Exception: Publishing the project has failed.

    Error: Failed to process request. 'Forbidden'. 
    The remote server returned an error: (403) Forbidden.. ---> System.InvalidOperationException: Failed to process request. 'Forbidden'. 
    The remote server returned an error: (403) Forbidden.. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
       at System.Net.HttpWebRequest.GetResponse()
       at NuGet.RequestHelper.GetResponse()
       at NuGet.HttpClient.GetResponse()
       at NuGet.PackageServer.EnsureSuccessfulResponse(HttpClient client, Nullable`1 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 ---

[Operatoin 2]

  1. Open UiPath Robot menu. It is shown some AVAILABLE PROCESSES in menu.
  2. Press Update button.
    But the robot process cannot be downloaded.
    In the C:\ProgramData\UiPath\Projects directory, a process name folder is immediately deleted after creation.

#2

I fixed [Operation1] issue.

I was set the variable HTTP_PROXY and HTTPS_PROXY to activate the UiPath Studio license from my company network that requires proxy server to connect to the internet.

I remove HTTP_PROXY and HTTPS_PROXY variable so that I fixed the issue.


#3

I solved [Operation2] issue.
I was set http_proxy key in C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet\Nuget.config.
Despite the impossible connection to the UiPath Academy’s Orchestrator, the above setting remained.

I remove the above settings.