Select to view content in your preferred language

ArcGIS Server Print Task is unable to access the map services using the local IP address

1300
11
01-08-2024 04:12 AM
MamoonRasheed
Emerging Contributor

I have Print and Map Services on the same physical server and a web application (developed using ArcGIS Javascript 3.x API) also deployed on the same server. Web application consumed both print and map services. When a Print Task request is sent to the server using LiveIP, at that moment Print Task created JSON. This JSON has Map service with LocalIP because now the request is on the server and it needs to use Map service so Map service should have LocalIP in JSON. Previously it was working fine but suddenly, the print task stopped accessing map services from the local IP.

For testing, I tried to access map services from another live server, map services were accessible and the print task did print.

The problem is, how can I access map services using local IP instead of LiveIP

0 Kudos
11 Replies
MamoonRasheed
Emerging Contributor

@TanuHoque ,

I already tested with both use cases (Through Browser and ArcGISPro). Errors or messages have not been promoted. map services displayed correctly. Two (02) images are attached herewith for your kind reference.

AccessingMapServiceThroughBrowserAccessingMapServiceThroughBrowserAccessing MapServiceThroughProAccessing MapServiceThroughPro

If possible, can we do a live session to identify the problem in a quick way as five days have been gone but we are unable to resolve the issue?

0 Kudos
TanuHoque
Esri Regular Contributor

@MamoonRasheed 

That is very odd. I'd strongly recommend you to reach out to Esri Support, as I am out of suggestions without looking into this on your machine. Unfortunately I can't do live session. Only an analyst from Esri Support can do this.

I'm so sorry for all the troubles you are going thru. An analyst will be help resolve this issue.

Not sure if I mentioned that before; in new releases, localhost or local ip addresses are considered invalid urls by print service. Therefore we need to find out why your urls with domain/machine name is not working.

Also, from your screenshots it looks like your map service is secured. If so, are tokens being included in print service requests? are they getting generated using your local ip/local host or your machine/domain url?

either way, as mentioned previously, please reach out to Esri Support for further assistance. Please accept my sincere apologies as I won't be able help any further in this thread as I don't and can't have all necessarily information I'd need to help over this chain 😞 .

0 Kudos