[Geoserver-devel] Uploading NetCDF files API REST

hello all,
I’m trying to upload a netcdf file to geoserver, without success.
I did the following steps:

The logs file contains:
[org.geoserver.rest.RestException 500 INTERNAL_SERVER_ERROR: Could not acquire reader for coverage.]
2019-12-03 15:38:02,322 INFO [rest.catalog] - Using existing coverage store: CV1
2019-12-03 15:38:02,324 WARN [io.netcdf] - unable to connect to the specified source file:/opt/tomcat/webapps/geoserver/data/data/WP1/CV1/var/tmp/testnm.zip
org.geotools.data.DataSourceException: unable to connect to the specified source file:/opt/tomcat/webapps/geoserver/data/data/WP1/CV1/var/tmp/testnm.zip

the file in tomcat dir is empty:
-rw-r----- 1 tomcat8 tomcat8 0 Dec 3 15:38 /opt/tomcat/webapps/geoserver/data/data/WP1/CV1/var/tmp/testnm.zip

I am also able to to the same process using the webgui and it works well. Only the REST API is a problem.

Anybody can help?
Thanks in advance

Natalia

···

Natalia Moraga
Géographe / 07 66 23 87 33

Please don’t ask user questions on the developers list, it is for GeoServer developers who are discussing issues related to the development of GeoServer.

Especially, don’t do it when you have also posted to the users list. There are no subscribers to this list who don’t also read the user list.

Ian

···

Ian Turton