<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic geoprocessing service returning a URL with two hostnames in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoprocessing-service-returning-a-url-with-two/m-p/762817#M28887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a python geoprocessing service that is running ArcGIS for Server 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SP1 that zips up a file geodatabase. The GP service's output parameter data type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is set to File.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue happens when we have a proxy server handling requests from the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;internet. We get a result from the GP service that looks like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "paramName": "outFile",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "dataType": "GPDataFile",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; "value": {"url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;external host&amp;gt;, &amp;lt;internal host&amp;gt;/arcgis/rest/directories/arcgisjobs/exportasync_gpserver/j1135e0619f424d6e886c1bb617ec5342/scratch/outGdb.zip"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a setting within Server at 10.1 that I can change to get around having&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;both hostnames in the result url or will I need to code around this? I should&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mention that this wasn't an issue at 10.0 SP3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 20:00:37 GMT</pubDate>
    <dc:creator>greggerzj</dc:creator>
    <dc:date>2013-05-29T20:00:37Z</dc:date>
    <item>
      <title>geoprocessing service returning a URL with two hostnames</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoprocessing-service-returning-a-url-with-two/m-p/762817#M28887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a python geoprocessing service that is running ArcGIS for Server 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SP1 that zips up a file geodatabase. The GP service's output parameter data type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is set to File.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue happens when we have a proxy server handling requests from the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;internet. We get a result from the GP service that looks like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "paramName": "outFile",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "dataType": "GPDataFile",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; "value": {"url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;external host&amp;gt;, &amp;lt;internal host&amp;gt;/arcgis/rest/directories/arcgisjobs/exportasync_gpserver/j1135e0619f424d6e886c1bb617ec5342/scratch/outGdb.zip"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a setting within Server at 10.1 that I can change to get around having&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;both hostnames in the result url or will I need to code around this? I should&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mention that this wasn't an issue at 10.0 SP3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 20:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoprocessing-service-returning-a-url-with-two/m-p/762817#M28887</guid>
      <dc:creator>greggerzj</dc:creator>
      <dc:date>2013-05-29T20:00:37Z</dc:date>
    </item>
  </channel>
</rss>

