I am getting error: [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [12] Error: Publish of Process project to Orchestrator failed. Service Unavailable

UiPath Version: 2023 10.1 Community License
Issue: When I try to publish a workflow project to Orchestor from UiPath Studio, I get an error
image
:19.6588 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [12] Error: Publish of Process project to Orchestrator failed. Service Unavailable
11:34:19.6590 => [ERROR] [UiPath.Studio] [12] Error: Publish of Process project to Orchestrator failed. Service Unavailable

This was working just fine prior to upgrading to 2023 10.1
Since upgrading, I am seeing this error.

@obiefuna.udokoro.unified

Welcome to the community

Try to check if the services are running

Also check if there are any permissions changes to the user in orchestrator

Cheers

So the user permissions are fine in Orchestrator because I can publish from my personal computer. I think there is something going on with connection within my work VDIs since I updated the version. And to add more context to this…I have two VDIs running UiPath Studio. One of them was updated to the latest and was giving me issues publishing, while the other (older version) was publishing fine. And once I updated that one, I started having the same issues.

Also the services are running

Can you try from the Studio machine to access the Orchestrator UI → Tenant → Packages → Upload → select the local nupkg file → Upload

Are you receiving any error?

If yes, it may be that your system is not allowing transfer of .nupkg files → in that case, you need check with your network team to allow the nupkg files.

@obiefuna.udokoro.unified

Can you open the logs and show the logs here please

Cheers

15:29:06.1697 => [WARN] [UiPath.Studio] [1] Studio version: 23.10.1+Branch.support-v23.10.Sha.6614d182dc7670b6067208e9ad9fe67427c8c359
15:29:06.9864 => [WARN] [UiPath.Studio] [1] Session id: dc54d3d5-5b7a-4b5f-bb23-28ccbdc9d669
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office version: O365
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office build version: 16.0.17029.20068
15:29:10.4451 => [ERROR] [UiPath.Studio] [4] Error: No license exist for this installation Exception: UiPath.Licensing.Library.Extended.Exceptions.NotLicensedException: No license exist for this installation
at UiPath.Licensing.Library.Extended.Implementation.OnlineLoader.UpdateAsync(IDictionary2 userMetadata, ProxySettings proxySettings) at UiPath.Licensing.Library.Extended.Implementation.LicenseProvider.UiPath.Licensing.Library.Extended.ILicenseProvider.UpdateOnlineLicenseAsync(IDictionary2 userMetadata)
15:52:35.1910 => [WARN] [UiPath.Studio] [20] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Shared.JsonParser.DeserializeObject[T](String value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
15:52:35.1951 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
15:52:35.1952 => [ERROR] [UiPath.Studio] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [WARN] [UiPath.Studio] [86] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Shared.JsonParser.DeserializeObject[T](String value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
16:01:12.8375 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [ERROR] [UiPath.Studio] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable

15:29:06.1697 => [WARN] [UiPath.Studio] [1] Studio version: 23.10.1+Branch.support-v23.10.Sha.6614d182dc7670b6067208e9ad9fe67427c8c359
15:29:06.9864 => [WARN] [UiPath.Studio] [1] Session id: dc54d3d5-5b7a-4b5f-bb23-28ccbdc9d669
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office version: O365
15:29:08.7724 => [WARN] [UiPath.Studio] [1] Office build version: 16.0.17029.20068
15:29:10.4451 => [ERROR] [UiPath.Studio] [4] Error: No license exist for this installation Exception: UiPath.Licensing.Library.Extended.Exceptions.NotLicensedException: No license exist for this installation
at UiPath.Licensing.Library.Extended.Implementation.OnlineLoader.UpdateAsync(IDictionary2 userMetadata, ProxySettings proxySettings) at UiPath.Licensing.Library.Extended.Implementation.LicenseProvider.UiPath.Licensing.Library.Extended.ILicenseProvider.UpdateOnlineLicenseAsync(IDictionary2 userMetadata)
15:52:35.1910 => [WARN] [UiPath.Studio] [20] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Shared.JsonParser.DeserializeObject[T](String value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
15:52:35.1951 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
15:52:35.1952 => [ERROR] [UiPath.Studio] [20] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [WARN] [UiPath.Studio] [86] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Shared.JsonParser.DeserializeObject[T](String value, TypeNameHandling typeNameHandling)
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
16:01:12.8375 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable
16:01:12.8366 => [ERROR] [UiPath.Studio] [86] Error: Publish of Process project to Orchestrator failed. Service Unavailable

@obiefuna.udokoro.unified

As per initial exception in the logs looks like a license issue…try to check if appeopriate roles are give…check inside the roles if publish option is checked or not

Also better try to disconnect the assitant and reconnect it

There is a new role automation publisher try to check if that is being assigned

Cheers

The issue it seems to be from the Deserialize JSON activity from the UiPath.WebAPI.Activities.

[UiPath.Studio] [86] EnsureOrchestratorStatusCodeAsync: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)

Check if you have some activities involved in your workflow (HTTP Request and Deserialize JSON) and try to check again the API and the results.

So here is further information on this issue. I get the same error when I even try to publish a blank workflow. Now if I connect my UiPath in my personal computer to the orchestrator…I am able to publish with no errors. I wonder if there is something blocking it…maybe firewall/network related.

Can you try from the Studio machine to access the Orchestrator UI → Tenant → Packages → Upload → select the local nupkg file → Upload

Are you receiving any error?

Where do I find the local nupkg file?

Try to publish the project locally from Studio using the Custom path.

Then publish that nupkg in Orchestrator from UI.

I get this error when I try to upload from Orchestrator.

Then, you need to check more details about the encountered error.

Use the Inspect tool → Network → replicate the error and see the response details.

If you cannot read the details, provide the har log file.

So it looks like it is being blocked by my company. I will reach out to our IT regarding this error.

I already mentioned this aspect 3 days ago in this thread

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.