qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.59k stars 3.01k forks source link

Cloud provider will not connect to S3 #58411

Closed geomenke closed 1 month ago

geomenke commented 2 months ago

What is the bug or the crash?

I have unnsuccessfully tried to access our data on S3 with this new Cloud provider. I have entered the url, AWS_ACCESS_KEY_ID, AWS_DEFAULT_REGION, and AWS_SECRET_ACCESS_KEY. It does not connect and does not throw any errors in the Log messages or Debugging panels. In the Browser panel the connection shows with no data and there should be several folders with fgb and .tif files.

Steps to reproduce the issue

Add AWS S3 provider Enter the bucket url, AWS_ACCESS_KEY_ID, AWS_DEFAULT_REGION, and AWS_SECRET_ACCESS_KEY.

Versions

Libraries QGIS version 3.39.0-Master QGIS code revision 29bf082ed3 Qt version 5.15.13 Python version 3.12.5 GDAL/OGR version 3.10.0dev-6339b46c60 (Compiled) 3.10.0dev-c3f78d8893 (Running) PROJ version 9.4.0 EPSG Registry database version v11.004 (2024-02-24) GEOS version 3.12.2-CAPI-1.18.2 SQLite version 3.45.1 PDAL version 2.6.3 PostgreSQL client version 16.2 SpatiaLite version 5.1.0 QWT version 6.2.0 QScintilla2 version 2.14.1 OS version Windows 11 Version 2009 This copy of QGIS writes debugging output.

Active Python plugins DataPlotly 4.1.0 quick_map_services 0.19.34 slyr 7.5.0 wbt_for_qgis 1.1.1 zoom_level 0.3.1 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99

Supported QGIS version

New profile

Additional context

I am not certain this is a bug or if there are simply some missing settings in our S3 bucket which need to be made for QGIS to access the data. Namely, I do not know what to enter for Object key. The data are available to online web applications. I have tried several versions of the url with the same null result: https://superior-bio-web.s3.eu-central-1.amazonaws.com/ s3://superior-bio-web/ & our CDN verion https://superior-web.septima.dk/.

nyalldawson commented 2 months ago

@geomenke I'd suggest trying first to access one of the datasets directly using gdalinfo -- the access credentials are passed straight to gdal, so this will help narrow down whether it's a qgis issue or something missing in your authentication configuration

geomenke commented 2 months ago

Can you tell me if the Object key is required and if so, what that is?

nyalldawson commented 2 months ago

That's the file "path"

geomenke commented 2 months ago

I can read them via ogrinfo and gdalinfo. ogrinfo --config AWS_REGION "eu-central-1" --config AWS_ACCESS_KEY_ID "xxx" --config AWS_SECRET_ACCESS_KEY "yyy" "/vsis3/superior-bio-web/common/great_lakes.fgb"

So I have figured out how to configure the settings and I can get the subfolder, but they do not open as I would expect to show the files.

image

image

github-actions[bot] commented 2 months ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

github-actions[bot] commented 1 month ago

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.