An error occurs when reading Zarr files from MinIO via the S3 protocol. Could you please tell me the cause? #1511
-
|
The dependencies are as follows. ` The Code are as follows. ` import ucar.nc2.Variable; public class ZarrMainTest { }` Exception info are as follows.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
The Amazon S3 SDK will make requests using TLS (https) by default. NetCDF-Java will make requests without TLS (http) automatically when certain well-known known ports are used (e.g. 80, 8080, etc (see here for a full list)). Port 9000 isn't one of those, so the SDK will try accessing minio over TLS, which results in the |
Beta Was this translation helpful? Give feedback.
String uri = "cdms3://10.xx.xxx.xx:9000/zarrtest" + "?output_zarr_Zlib_100105.zarr" + "#delimiter=/";
to
String uri = "cdms3://10.xx.xxx.xx:9000/zarrtest" + "?output_zarr_Zlib_100105.zarr/" + "#delimiter=/";
and the issue can be resolved.
Thanks