|
From: Andrea A. <and...@ge...> - 2021-02-25 07:45:21
|
The mail never reached the list, the edit was left only on Nabble. We
warmly suggest users not to use Nabble,
see the presentation linked at the bottom of every mail ("Earning your
support instead of buying it").
In general, posting through Nabble is an indication that the user wants
help, but is not interested in helping others.
That said, here is the interesting part of the exception:
Caused by: java.lang.RuntimeException: Unable to read header for
http://127.0.0.1:9000/lebucket/OB_50M.tif
at
it.geosolutions.imageioimpl.plugins.cog.HttpRangeReader.readHeader(HttpRangeReader.java:96)
at
it.geosolutions.imageioimpl.plugins.cog.DefaultCogImageInputStream.initializeHeader(DefaultCogImageInputStream.java:124)
at
it.geosolutions.imageioimpl.plugins.cog.DefaultCogImageInputStream.init(DefaultCogImageInputStream.java:84)
at
it.geosolutions.imageioimpl.plugins.cog.CogSourceSPIProvider.getStream(CogSourceSPIProvider.java:82)
at
org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:229)
at
org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:331)
at
org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:77)
at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1566)
at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1511)
at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:127)
at com.sun.proxy.$Proxy25.getGridCoverageReader(Unknown Source)
at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:86)
... 140 more
Caused by: java.io.IOException: Unable to read header for
http://127.0.0.1:9000/lebucket/OB_50M.tif. Code: 400. Reason: Bad Request
at
it.geosolutions.imageioimpl.plugins.cog.HttpRangeReader.readHeader(HttpRangeReader.java:87)
... 156 more
Odd, seems Minio refused the HTTP range request issued to read the TIFF
header. I don't know much about Minio,
but looking around, I've found this one:
https://github.com/minio/minio/issues/5748
Does this sound like something related to your setup?
For reference, as far as I know, the COG reader has been successfully
tested against AWS and a static HTTP Apache server.
Cheers
Andrea
On Wed, Feb 24, 2021 at 10:55 PM azh...@gm... <
azh...@gm...> wrote:
> @ Daniele
>
> I can access http://127.0.0.1:9000/lebucket/OB_50M.tif from the browser
> yes.
> I chose the HTTP range reader option, supplied the proper user and password
> credentials, and here was the stacktrace I got:
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geo...@li...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Regards, Andrea Aime
== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
|