Issue with GeoServer COG Community Module - "Range downloading not supported" for local files

Hi everyone,

I am trying to use the COG (Cloud Optimized GeoTIFF) community module in GeoServer to serve a local 1.6 GB GeoTIFF file, but I am consistently hitting a “Range downloading not supported” error when trying to publish or access the layer via QGIS.

System Environment:

GeoServer Version: [Buraya GeoServer versiyonunu yaz, örn: 2.26.x]

Plugin: COG Community Module

OS: Linux (Ubuntu/Debian)

Problem Description:
I have uploaded my .tif file to the GeoServer www directory. When I attempt to create a new Store using the “Cloud Optimized GeoTIFF” format, I encounter the following issues:

Local File Access: I am using the URL file:www/Ekx/cog3.tif. However, in the COG Settings under “Range Reader settings”, the only available options are HTTP, S3, GS, and Azure. There is no “File” or “Local” option.

QGIS Error: When trying to add the layer in QGIS via /vsicurl/https://…, I get the error: desteklenmeyen bir raster veri kaynağı Range downloading not supported by this server!.

Permissions: I have already verified file permissions. The folder is set to 755 and the .tif file is set to 644.

What I have tried:

Converted the original TIFF to a proper COG layout using GDAL: gdal_translate input.tif output.tif -of COG -co COMPRESS=DEFLATE.

Tried both file: and https: URLs in the Store configuration.

Checked the “Cloud Optimized GeoTIFF (COG)” checkbox in the Store settings.

Question:
How can I properly configure the COG module to read local files from the disk without triggering the HTTP Range Request error? Is there a specific configuration needed for the Jetty/Tomcat server to support Range Requests for static files in the www folder, or should I be using a different Store type for local COGs?

Any help or guidance would be greatly appreciated.

Best regards,