Publishing project getting timeout error

Publish of ZBS failed. The operation has timed out.

Error: System.InvalidOperationException: Publish of ZBS failed. The operation has timed out.
—> System.TimeoutException: The operation has timed out.
at UiPath.Studio.OnlineServices.Services.LocalizationHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at UiPath.Studio.Orchestrator.Common.Services.CloudApiClient.InternalRequestAsync[T](Uri uri, HttpMethod method, HttpContent content, Func2 parseResponse, TimeSpan timeout, Dictionary2 headers, CancellationToken ct)
at UiPath.Studio.Orchestrator.Common.Services.CloudApiClient.RequestAsync(Uri uri, HttpMethod method, HttpContent content, TimeSpan timeout, Dictionary2 headers, CancellationToken ct) at UiPath.Studio.Orchestrator.Feeds.Services.OrchestratorPackageUploader.UploadAsync(IEnumerable1 packagePaths, FeedModel feedModel, Int32 timeoutInSeconds, CancellationToken ct)
at UiPath.Studio.ProjectPackager.Publish.Services.ProjectPushService.Publish(BuildPackageResult package, IPublishSettings publishSettings, CancellationToken cancellationToken)
— End of inner exception stack trace —
at UiPath.Studio.ProjectPackager.Publish.Services.ProjectPushService.Publish(BuildPackageResult package, IPublishSettings publishSettings, CancellationToken cancellationToken)
at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.<>c__DisplayClass44_0.<b__0>d.MoveNext(), HResult -2146233079

This generally happens when the payload is more. Please try to delete all the unwanted data like:

  1. screenshots
  2. exception screenshots
  3. test files
  4. temp files
  5. documents if any
  6. also remove the unwanted dependencies, workflows, variables

Hope it helps.

@Mozammil,

Check if network connection is working fine and firewall is allowing the connections.

Thanks,
Ashok :slight_smile:

Tried but still showing same error

@Mozammil

Upgrade your packages to the latest non-preview version which could be 23.10.x

Hope It helps!

Check the connection to Orchestrator / if you are signed in properly

Hi @Mozammil

Check the release notes. Description cannot be so long.

A software package properties window shows fields for Package Name, Version, optional Package Icon, and Release Notes. (Captioned by AI)