Hello,
The host of the baseURL does not match the allowed host in your yaml.
Change that to c.tile.openstreetmap.org and see if it helps.
If c.tile.openstreetmap.org and tile.openstreetmap.org would resolve to the
same ip you could have changed the host: to ip: in the yaml file.
This is useful when you use domain sharding.
But unfortunately they seem to resolve to different ip. Perhaps they use a
CDN.
/Olle
On Mon, Jan 30, 2017 at 6:27 PM, Obrecht, Joshua D [DSN] <
jobre...@iastate.edu> wrote:
> I am trying to print OSM as a basemap through GeoServer. I am not
> receiving any errors, but no layer is being drawn. It is the only layer
> that I am trying to print. Any help is appreciated.
>
>
>
> Here is what I have in my yaml:
>
>
>
> - !dnsMatch
>
> host: tile.openstreetmap.org
>
>
>
> And my call of the osm layer:
>
>
>
> baseURL: 'https://c.tile.openstreetmap.org',
>
> type: 'OSM',
>
> tileSize: [256, 256],
>
> extension: 'png',
>
> maxExtent: [-100.40360820312145,38.87419887989283,-85.79179179687537,44.
> 74697986282945],
>
> resolutions: [156543.0339, 78271.51695, 39135.758475, 19567.8792375,
> 9783.93961875, 4891.969809375, 2445.9849046875, 1222.99245234375,
> 611.496226171875, 305.7481130859375, 152.87405654296876, 76.43702827148438,
> 38.21851413574219, 19.109257067871095, 9.554628533935547,
> 4.777314266967774, 2.388657133483887, 1.1943285667419434,
> 0.5971642833709717]
>
>
>
> Josh Obrecht, GISP
>
> GIS Support and Research Facility
>
> Iowa State University
>
> 213 Durham Center
>
> 613 Morrill Rd
>
> Ames, IA 50011
>
> 515-294-6990 <(515)%20294-6990>
>
> jobre...@iastate.edu
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users