Hi,
in addtion to this topic: i got a mapservice containing an aerial image and polygon features. This service is token-based secured in AGS 10.3.1 and it's added as an element with saved credentials in Portal for ArcGIS. I can load the service via basemap gallery widget into my WAB application (Dev) without any problems and printing works fine. But if I insert the referrer-Urls (http://OURSERVER.de, http://OURSERVER.de:3344) from our server inside element's use limitations printing fails and i get the following error log:
<Msg time='2015-08-13T13:30:39,243' type='SEVERE' code='20010' target='Geoprocessing/SecurePrintingTools.GPServer' methodName='GPServerSync.CheckMessages' machine='H2200268.STRATOSERVER.NET' process='9736' thread='11500' user='null' >Error executing tool. Export Web Map Job ID: jd8a975a112704ce89dc31a6ef7ed0181 : Layer "layer12": Unable to connect to map server at