laptop and a wrench

Bug

Publishing hosted feature layers in Portal for ArcGIS fails if the ArcGIS Data Store resides on a machine with the hostname containing two consecutive dashes ("--").

Last Published: May 14, 2018 ArcGIS GIS Server
Bug ID Number BUG-000113840
SubmittedMay 8, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS GIS Server
Version found10.6
Operating SystemWindows OS
Operating System Version2012 R2
Version Fixed10.7
StatusFixed

Workaround

One approach is to change the machine name. However, a workaround that doesn't require renaming the machine is to instead simply give the machine another name.  An IP address can have multiple DNS entries.  That way this machine would comply with the naming rules of the IT department and work properly with our software.  This can be accomplished by editing the /etc/hosts files. It’s important to make these entries in the ArcGIS Data Store machine and ArcGIS Server machine or machines as well. When the ArcGIS Data Store service restarts, it will pick up that hostname as its own machine name and tell ArcGIS Server the same thing. Verify that the hostname changes for the registered Data Store in the Admin API under arcgis/admin/data/items/enterpriseDatabases/<ds_name>/machines. It should list the new machine name without the double dash. You should be able to publish a hosted service after this change is made.  In the event that multiple IP addresses resolve, make changes for all that resolve.

Steps to Reproduce

Bug ID: BUG-000113840

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options