Publishing From Studio Failure – Cannot Connect To Packages Feed

When publishing from Studio an error is encountered that says, "Cannot connect to packages feed, the deployment settings may be invalid".

Issue Description: When publishing from the Studio the following error is encountered

"System.ApplicationException: Publish of workflow project to Orchestrator failed. Cannot connect to packages feed, the Deployment Settings may be invalid. ---> UiPath.Ipc.RemoteException: Cannot connect to packages feed, the Deployment Settings may be invalid"
Root Cause: This error happens when Orchestrator is having issues with its Deployment URL. It can be caused by a variety of things (DB can be full, the URL is invalid, Orchestrator is missing permissions).

Troubleshooting Steps
  1. Try manually uploading a package from the Orchestrator URL. Most likely this test will fail, but the error message Orchestrator generates could help determine the issue
    • If Orchestrator generates a 1651 error when uploading packages, search that error code in our KB articles
    • If an unknown error occurs, check the Orchestrator DB. The database could be full, or Orchestrator could be missing a database permission
  2. Check the project folder for any corrupted files or any files with unusual extension for e.g .dat, please remove the files and folder one by one and publish the project and check at which point it was able to publish, also file or folder name with special character also create problems
  3. The best solution is to check the event viewer logs on the Orchestrator server
    1. Login to the Orchestrator Server as an Admin
    2. Open a Run window and type “eventvwr” – This will open the Event Viewer
  1. In the Event Viewer window, go to “Event Viewer (Local) -> Windows Logs->Application
    • Click “Filter Current Log…” in the right “Actions” pane window
    • In the “Filter Current Log” dialog box, choose the Event Source: “Orchestrator”. Then select “OK”
  1. Force the error to occur by trying to upload a package to Orchestrator
  2. In “Event Viewer” click “Refresh” in the “Actions” pane in the left menu
  3. See if there are any new error messages or warnings
  4. Search for any errors or warning found in the Event Viewer logs on the Orchestrator server
  5. Consider opening a support request with UiPath.