I’m doing tests with geoserver, preparing to publish some information. It seems that it’s not producing and storing the tiles cache under certain circumstances :
I created a new gridset and zoom levels (EPSG: 29193), created a imagemosaic resource and finally a layer associated with the mosaic. If I click on “layer preview”, after using it for some minutes, the tile cache is never created. By the other hand, if I click on “Tile Caching → Tile Layers → Preview” (on the layer I created), preview screen show what’s going on and the cached tiles are created, the cache folder is created and everything is fine.
Why it doesn’t create the cache by issuing “layer preview” from geoserver interface?
The use of cached tiles is something that must be set on client side also? If this is true, in the case of geoserver system the “layer preview” is not explicitly requesting cached tiles, thus, not being generated server side?
Hi Russ,
Yep, I’ve been getting that on and off myself today too. Seems to be intermittent.
I believe the devs are considering moving the web-hosting in the near(ish?) future to github to try and alleviate these issues.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
On 13 May 2014 14:11, Russell Hore <russ@…4690…> wrote:
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server
“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.” http://p.sf.net/sfu/SauceLabs
Hi Rodrigo,
When using Layer-Preview page, you’re most likely making a request of the GeoServer WMS.
The URL will be something like: www.example.com/geoserver/wms?service=WMS.…
The later does the caching, the former not so much. Or at least that would seem to be how it works to me.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
I’m doing tests with geoserver, preparing to publish some information. It seems that it’s not producing and storing the tiles cache under certain circumstances :
I created a new gridset and zoom levels (EPSG: 29193), created a imagemosaic resource and finally a layer associated with the mosaic. If I click on “layer preview”, after using it for some minutes, the tile cache is never created. By the other hand, if I click on “Tile Caching → Tile Layers → Preview” (on the layer I created), preview screen show what’s going on and the cached tiles are created, the cache folder is created and everything is fine.
Why it doesn’t create the cache by issuing “layer preview” from geoserver interface?
The use of cached tiles is something that must be set on client side also? If this is true, in the case of geoserver system the “layer preview” is not explicitly requesting cached tiles, thus, not being generated server side?
Thanks,
Rodrigo N Hernandez
“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.” http://p.sf.net/sfu/SauceLabs
This can be tricky with custom gridsets as OpenLayers doesn’t know how to get the grid information from a WMS-C GetCapabilities document and has to be told how the tiles are set up manually unless using a standard tiling (like the standard Web Mercator tiling) So even if you have direct integration on, and you are using it in tiled mode, the layer preview may not hit the cache because the requests wont line up with the tiles GWC is caching. The GWC previews specifically tell OpenLayers how the tiling works and so they don’t have this problem.
Hi Rodrigo,
When using Layer-Preview page, you’re most likely making a request of the GeoServer WMS.
The URL will be something like: www.example.com/geoserver/wms?service=WMS.…
The later does the caching, the former not so much. Or at least that would seem to be how it works to me.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.” http://p.sf.net/sfu/SauceLabs
I’m doing tests with geoserver, preparing to publish some information. It seems that it’s not producing and storing the tiles cache under certain circumstances :
I created a new gridset and zoom levels (EPSG: 29193), created a imagemosaic resource and finally a layer associated with the mosaic. If I click on “layer preview”, after using it for some minutes, the tile cache is never created. By the other hand, if I click on “Tile Caching → Tile Layers → Preview” (on the layer I created), preview screen show what’s going on and the cached tiles are created, the cache folder is created and everything is fine.
Why it doesn’t create the cache by issuing “layer preview” from geoserver interface?
The use of cached tiles is something that must be set on client side also? If this is true, in the case of geoserver system the “layer preview” is not explicitly requesting cached tiles, thus, not being generated server side?
Thanks,
Rodrigo N Hernandez
“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.” http://p.sf.net/sfu/SauceLabs