<div dir="ltr">not sure how arcgis wms source work but you appear to be missing the layer parameter in the WMS request.  I would try coping the url in the browser again and check out the response with developers tools / firebug F12.  <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 February 2017 at 17:17, EVANS Wayne <span dir="ltr"><<a href="mailto:Wayne.EVANS@frequentis.com" target="_blank">Wayne.EVANS@frequentis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi List,<br>
<br>
I am a MapProxy newbie - I have been working with a system that was set up by others to use WMS / tile sources. (I have previously successfully run seeds with WMS sources using locally stored raw data files.)<br>
<br>
I am now trying to add an ArcGIS source which is provided by the customers GIS department and will be updated automatically weekly so that we can pull updates via this system rather than having to copy raw data files over.<br>
<br>
The MapProxy is running on a Windows7 machine.<br>
<br>
I had to upgrade from 1.5 to 1.9.1 before the MapProxy demo would start with the ArcGIS source defined. Now when I try to run a seed I get 404 errors:<br>
<br>
An error occured. Retry in 256 seconds: SourceError('HTTP Error "<a href="http://hvg-app-d004.abc.dev/arcgis/rest/services
/xxx/layer_Fill_trans/MapServer/export?f=image&format=png&imageSR=900913&bboxSR=900913&bbox=-9138963.97583,3570373.5912,-9
127651.29565,3581686.27139&size=1184,1184" rel="noreferrer" target="_blank">http://hvg-app-d004.abc.dev/<wbr>arcgis/rest/services<br>
/xxx/layer_Fill_trans/<wbr>MapServer/export?f=image&<wbr>format=png&imageSR=900913&<wbr>bboxSR=900913&bbox=-9138963.<wbr>97583,3570373.5912,-9<br>
127651.29565,3581686.27139&<wbr>size=1184,1184</a>": 404',). Retries left: 93<br>
<br>
When I copy and paste this URL into a web browser (on the same MapProxy machine) I do not get a 404 - I get a webpage that appears to have a blank white page. This makes me suspect that maybe there is something blocking the traffic from the MapProxy application to the ArcGIS Server??<br>
<br>
I do not control either the MapProxy server (PC) or the ArcGIS server - I am the System Engineer in the middle trying to interface between a map update provider and a GeoServer / GeoWebCache based map function on a proprietary application that my company provides. (I am also not the one who architected this solution...)<br>
<br>
I also get errors when I click on the png or jpeg Demo link for the same layer on the MapProxy Demo webpage. (Is this pulled from the cache or does it come directly from the source?)<br>
<br>
Are the bounds, max image settings etc. configured on the arcgis server critical to getting this to work correctly?<br>
<br>
My relevant MapProxy configuration for the arcgis source is:<br>
<br>
services:<br>
  demo:<br>
  kml:<br>
  tms:<br>
    # needs no arguments<br>
  wmts:<br>
  wms:<br>
    # srs: ['EPSG:4326', 'EPSG:900913']<br>
    # image_formats: ['image/jpeg', 'image/png']<br>
    md:<br>
      # metadata used in capabilities documents<br>
      title: MapProxy WMS Proxy<br>
      abstract: This is the fantastic MapProxy.<br>
      online_resource: <a href="http://mapproxy.org/" rel="noreferrer" target="_blank">http://mapproxy.org/</a><br>
      contact:<br>
        person: Your Name Here<br>
        position: Technical Director<br>
        organization:<br>
        address: Fakestreet 123<br>
        city: Somewhere<br>
        postcode: 12345<br>
        country: Germany<br>
        phone: +49(0)000-000000-0<br>
        fax: +49(0)000-000000-0<br>
        email: <a href="mailto:info@omniscale.de">info@omniscale.de</a><br>
      access_constraints:<br>
        This service is intended for private and evaluation use only.<br>
        The data is licensed as Creative Commons Attribution-Share Alike 2.0<br>
        (<a href="http://creativecommons.org/licenses/by-sa/2.0/" rel="noreferrer" target="_blank">http://creativecommons.org/<wbr>licenses/by-sa/2.0/</a>)<br>
      fees: 'None'<br>
<br>
layers:<br>
  - name: frq_abc_florida_layer_fill_<wbr>proxy<br>
    title: frq_abc_florida_layer_fill_<wbr>proxy<br>
    sources: [frq_abc_florida_layer_fill_<wbr>cache]<br>
<br>
caches:<br>
  frq_abc_florida_layer_fill_<wbr>cache:<br>
    grids: [bing_grid]<br>
    sources: [frq_abc_layer_fill_<wbr>arcgissource]<br>
    cache:<br>
      type: file<br>
<br>
<br>
sources:<br>
  frq_abc_layer_fill_<wbr>arcgissource:<br>
    type: arcgis<br>
    req:<br>
      url: <a href="http://hvg-app-d004.abc.dev/arcgis/rest/services/xxx/layer_Fill_trans/MapServer" rel="noreferrer" target="_blank">http://hvg-app-d004.abc.dev/<wbr>arcgis/rest/services/xxx/<wbr>layer_Fill_trans/MapServer</a><br>
<br>
globals:<br>
  # # coordinate transformation options<br>
  # srs:<br>
  #   # WMS 1.3.0 requires all coordiates in the correct axis order,<br>
  #   # i.e. lon/lat or lat/lon. Use the following settings to<br>
  #   # explicitly set a CRS to either North/East or East/North<br>
  #   # ordering.<br>
  #   axis_order_ne: ['EPSG:9999', 'EPSG:9998']<br>
  #   axis_order_en: ['EPSG:0000', 'EPSG:0001']<br>
  #   # you can set the proj4 data dir here, if you need custom<br>
  #   # epsg definitions. the path must contain a file named 'epsg'<br>
  #   # the format of the file is:<br>
  #   # <4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  <><br>
  #   proj_data_dir: '/path to dir that contains epsg file'<br>
<br>
  # # cache options<br>
  cache:<br>
    # where to store the cached images<br>
    base_dir: './cache_data'<br>
    # where to store lockfiles<br>
    lock_dir: './cache_data/locks'<br>
  #   # request x*y tiles in one step<br>
  #   meta_size: [4, 4]<br>
  #   # add a buffer on all sides (in pixel) when requesting<br>
  #   # new images<br>
  #   meta_buffer: 80<br>
<br>
<br>
  # image/transformation options<br>
  image:<br>
        paletted: false<br>
        #One of nearest, bilinear or bicubic.<br>
        resampling_method: bicubic<br>
<br>
Any suggestions you have regarding what could be the cause of these errors would be appreciated!<br>
<br>
Thanks, Wayne<br>
<br>
______________________________<wbr>_________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/mapproxy</a></blockquote></div><br></div>