After going trough source code I found about environment variable
IIO_$ALIAS_AWS_ENDPOINT which is not exposed in documentation. After I set
IIO_S3_AWS_ENDPOINT={myendpoint} and granule location attribute to
s3://bucket/granule.tif it works properly

sri, 22. ožu 2023. u 19:33 Andrea Aime <andrea.a...@geosolutionsgroup.com>
napisao je:

> Hi Goran,
> I don't know what's going on there, but as a basic suggestion, try setting
> the logging level (in the "Global" settings panel)
> to VERBOSE and then try the setup again. The logs will contain a lot of
> information, and hopefully, some hint
> indicating why this set up is not working .
>
> Best regards
> Andrea
>
> On Wed, Mar 22, 2023 at 12:57 PM Goran Grcic <gorangrcic...@gmail.com>
> wrote:
>
>> Hey everyone,
>> I'm trying to create Geotiff store using cog plugin by reading files from
>> my s3 ninja emulator. Under stores cog settings I set range reader settings
>> to http and make my bucket public. That way it works properly, but when I
>> switch my bucket to private and change  store definition range reader
>> settings to s3 with proper credentials
>> I get error:
>> "No input stream for the provided source" .
>> I'm not sure if reader can only manage aws s3 instances. I also tried to
>> get more info by setting some brake points in code, it fails on line
>> ```reader = gridFormat.getReader(readObject, hints);```
>> Does anyone had similar problems, I would be very thankful for any kind
>> of information. I'm not sure if this might be a bug, and sholud i report it
>> if it is ?
>> _______________________________________________
>> 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
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> --
>
> Regards,
>
> Andrea Aime
>
> ==
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions Group
> phone: +39 0584 962313
>
> fax:     +39 0584 1660272
>
> mob:   +39  339 8844549
>
> https://www.geosolutionsgroup.com/
>
> 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
>
_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to