Print GP service cannot connect to basemapping service

Discussion created by blimeyben on May 23, 2013
Latest reply on Aug 21, 2013 by bensca

I am having a problem with the print gp task in 10.1 when external basemapping is used.

For example if I try to print a map with an ArcGIS online basemap I get the following error:

Unable to complete operation.
Error executing tool.: Layer "Topographic": Unable to connect to map server at Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).

A few bits of context to the problem:
* The gp task is hosted on a vm server designed for internal use, but the server can access the rest endpoint of the esri basemapping at
* I can also make requests from the rest endpoint of the internal server to the esri basemapping service and can get the result back.
* It works fine using a map with only internal services.
* There is no security on the internal server and it is being tested using unsecured arcgis basemaps
* I am calling the gp task using the standard print widget in flex, but the flex side doesn't seem to be a problem, because if i reconfigure the flex widget to use the sample print task at it works fine.

I know it sounds like something to do with permissions or firewall settings etc but the server seems to be able to make requests to the external acrgis service without any trouble so it is quite perplexing.

Anyone experienced the same thing?