Select to view content in your preferred language

Unable to publish Routing Service utilizing "Publish Routing Service" tool from ArcGIS Server

689
1
Jump to solution
06-05-2023 11:49 PM
ArchitSrivastava
Occasional Contributor II

Hello All,

We have a ArcGIS Enterprise High Availability 10.9.1 environment with the following configuration:

  • ArcGIS Portal : Two machine
  • ArcGIS Server : Two Machine
  • ArcGIS DataStore : Two Machines 
  • Third Party Load Balancer : Assists in Load balancing

We are trying to utilize "Publish Routing Services utility" which is in-built ArcGIS Server. However, it keeps failing for us with the following error in "publishroutingservices.log" file:

.....

v = self.send(byte_view[count:])
File "C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\lib\ssl.py", line 1003, in send
return self._sslobj.write(data)
OverflowError: string longer than 2147483647 bytes

...

However, we have checked the capability of "Publishing Tool" and all other services involved and made sure that they allow uploads lager than this.

As this is in-built utility, we expect that the internal process take care of themselves.

Any help would be appreciated!

@JonathanQuinn @George_Thompson 

0 Kudos
1 Solution

Accepted Solutions
ArchitSrivastava
Occasional Contributor II

We were able to resolve this issue by creating a copy of the data on both all machines participating in ArcGIS Server Site. Once we did that, the size of service definition files decreased substantially

Then we made minor changes to the script as per our required (Not recommended to do this, try above first )

and fixed the overflow error.

This approach we took based on the documentation: 

https://enterprise.arcgis.com/en/server/10.9.1/develop/windows/publishing-routing-services.htm#ESRI_... 

ArchitSrivastava_0-1689073446606.png

Posting this as it might be of help to anyone in future.

Hope it helps!

 

View solution in original post

0 Kudos
1 Reply
ArchitSrivastava
Occasional Contributor II

We were able to resolve this issue by creating a copy of the data on both all machines participating in ArcGIS Server Site. Once we did that, the size of service definition files decreased substantially

Then we made minor changes to the script as per our required (Not recommended to do this, try above first )

and fixed the overflow error.

This approach we took based on the documentation: 

https://enterprise.arcgis.com/en/server/10.9.1/develop/windows/publishing-routing-services.htm#ESRI_... 

ArchitSrivastava_0-1689073446606.png

Posting this as it might be of help to anyone in future.

Hope it helps!

 

0 Kudos