Hi,

The error in .NET code is " The connection is terminated: Unexpected reception 
error ". Not very detailed.

I've noticed that the process simply stops at some point but there are still 
plenty of images to read:

2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - DELETE FROM 
"public"."SENTINEL2" WHERE (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - 1 = 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b12b8Ab04.ecw
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - SELECT 
"fid",encode(ST_AsEWKB("the_geom"),'base64') as 
"the_geom","location","ingestion","elevation" FROM "public"."SENTINEL2" LIMIT 1
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - SELECT 
ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM 
"public"."SENTINEL2"
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,161 DEBUG [org.geotools.jdbc] - SELECT 
"fid",encode(ST_AsEWKB("the_geom"),'base64') as 
"the_geom","location","ingestion","elevation" FROM "public"."SENTINEL2" WHERE  
0 = 1
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting the_geom to POLYGON 
((446500 4685000, 446500 4820000, 609780 4820000, 609780 4685000, 446500 
4685000))
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting 0 to POLYGON 
((446500 4685000, 446500 4820000, 609780 4820000, 609780 4685000, 446500 
4685000))
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting location to 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b12b8Ab04.ecw
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting 1 to 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b12b8Ab04.ecw
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting ingestion to 
2018-07-11 02:00:00.0
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting 2 to 2018-07-11 
02:00:00.0
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting elevation to null
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Setting 3 to null
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - Inserting new feature with 
ps: INSERT INTO "public"."SENTINEL2" ( 
"the_geom","location","ingestion","elevation" ) VALUES ( ST_GeomFromWKB(?, 
32630),?,?,?)
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - 1 = POLYGON ((446500 
4685000, 446500 4820000, 609780 4820000, 609780 4685000, 446500 4685000))
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - 2 = 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b12b8Ab04.ecw
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - 3 = 2018-07-11 02:00:00.0
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - 4 = null
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - SELECT 
pg_get_serial_sequence('"public"."SENTINEL2"', 'fid')
2019-03-22 08:17:07,177 DEBUG [org.geotools.jdbc] - SELECT 
currval('public."SENTINEL2_fid_seq"')
2019-03-22 08:17:07,177 DEBUG [org.geotools.gce.imagemosaic] - Done with file 
\\192.168.250.33\Resultados\PUBLICACION_GEOSERVER\SENTINEL2\S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b12b8Ab04.ecw
2019-03-22 08:17:07,177 INFO [org.geotools.gce.imagemosaic] - Now indexing file 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,302 TRACE [org.geotools.factory] - ENTRY  
(GridCoverageFactory)
2019-03-22 08:17:07,302 TRACE [org.geotools.factory] - RETURN 
(GridCoverageFactory): found implementation GridCoverageFactory.
2019-03-22 08:17:07,411 TRACE [org.geotools.factory] - ENTRY  (CRSFactory, 
CRS_FACTORY)
2019-03-22 08:17:07,411 TRACE [org.geotools.factory] - RETURN (CRSFactory, 
CRS_FACTORY): found implementation ReferencingObjectFactory.
2019-03-22 08:17:07,442 DEBUG [org.geotools.parameter] - Axis length mismatch.
2019-03-22 08:17:07,442 DEBUG [org.geotools.referencing.operation.projection] - 
GeoTools EquidistantCylindrical is defined only on the sphere, we're going to 
use spherical equations even if the projection is using an ellipsoid
2019-03-22 08:17:07,473 DEBUG [org.geotools.coverageio.gdal] - Highest 
Resolution = [10.0,10.0
2019-03-22 08:17:07,536 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation only.
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting LogicFilter
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting SQL 
ComparisonFilter
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - SELECT count(*) FROM 
"public"."SENTINEL2" WHERE  (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - 1 = 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,536 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation only.
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting LogicFilter
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting SQL 
ComparisonFilter
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - SELECT 
ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM 
"public"."SENTINEL2" WHERE (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - 1 = 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting LogicFilter
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting SQL 
ComparisonFilter
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,536 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - DELETE FROM 
"public"."SENTINEL2" WHERE (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - 1 = 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - SELECT 
"fid",encode(ST_AsEWKB("the_geom"),'base64') as 
"the_geom","location","ingestion","elevation" FROM "public"."SENTINEL2" LIMIT 1
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - SELECT 
ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM 
"public"."SENTINEL2"
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - SELECT 
"fid",encode(ST_AsEWKB("the_geom"),'base64') as 
"the_geom","location","ingestion","elevation" FROM "public"."SENTINEL2" WHERE  
0 = 1
2019-03-22 08:17:07,536 DEBUG [org.geotools.jdbc] - Setting the_geom to POLYGON 
((446500 4685000, 446500 4820000, 609780 4820000, 609780 4685000, 446500 
4685000))
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting 0 to POLYGON 
((446500 4685000, 446500 4820000, 609780 4820000, 609780 4685000, 446500 
4685000))
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting location to 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting 1 to 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting ingestion to 
2018-07-11 02:00:00.0
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting 2 to 2018-07-11 
02:00:00.0
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting elevation to null
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Setting 3 to null
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - Inserting new feature with 
ps: INSERT INTO "public"."SENTINEL2" ( 
"the_geom","location","ingestion","elevation" ) VALUES ( ST_GeomFromWKB(?, 
32630),?,?,?)
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - 1 = POLYGON ((446500 
4685000, 446500 4820000, 609780 4820000, 609780 4685000, 446500 4685000))
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - 2 = 
S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - 3 = 2018-07-11 02:00:00.0
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - 4 = null
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - SELECT 
pg_get_serial_sequence('"public"."SENTINEL2"', 'fid')
2019-03-22 08:17:07,552 DEBUG [org.geotools.jdbc] - SELECT 
currval('public."SENTINEL2_fid_seq"')
2019-03-22 08:17:07,552 DEBUG [org.geotools.gce.imagemosaic] - Done with file 
\\192.168.250.33\Resultados\PUBLICACION_GEOSERVER\SENTINEL2\S2B_USER_MSI_L2A_DS_MPS_20180711T111139550Z_b11b08b02.ecw
2019-03-22 08:17:07,552 INFO [org.geotools.gce.imagemosaic] - Now indexing file 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,692 TRACE [org.geotools.factory] - ENTRY  
(GridCoverageFactory)
2019-03-22 08:17:07,692 TRACE [org.geotools.factory] - RETURN 
(GridCoverageFactory): found implementation GridCoverageFactory.
2019-03-22 08:17:07,802 TRACE [org.geotools.factory] - ENTRY  (CRSFactory, 
CRS_FACTORY)
2019-03-22 08:17:07,802 TRACE [org.geotools.factory] - RETURN (CRSFactory, 
CRS_FACTORY): found implementation ReferencingObjectFactory.
2019-03-22 08:17:07,833 DEBUG [org.geotools.parameter] - Axis length mismatch.
2019-03-22 08:17:07,833 DEBUG [org.geotools.referencing.operation.projection] - 
GeoTools EquidistantCylindrical is defined only on the sphere, we're going to 
use spherical equations even if the projection is using an ellipsoid
2019-03-22 08:17:07,864 DEBUG [org.geotools.coverageio.gdal] - Highest 
Resolution = [10.0,10.0
2019-03-22 08:17:07,942 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation only.
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting LogicFilter
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting SQL 
ComparisonFilter
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - SELECT count(*) FROM 
"public"."SENTINEL2" WHERE  (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - 1 = 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,942 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation only.
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting LogicFilter
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting SQL 
ComparisonFilter
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - SELECT 
ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM 
"public"."SENTINEL2" WHERE (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - 1 = 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting LogicFilter
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting SQL 
ComparisonFilter
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,942 DEBUG [org.geotools.filter] - exporting PropertyName
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - DELETE FROM 
"public"."SENTINEL2" WHERE (lower("location") = lower(?) AND "location" IS NOT 
NULL )
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - 1 = 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - SELECT 
"fid",encode(ST_AsEWKB("the_geom"),'base64') as 
"the_geom","location","ingestion","elevation" FROM "public"."SENTINEL2" LIMIT 1
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - SELECT 
ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM 
"public"."SENTINEL2"
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,942 DEBUG [org.geotools.jdbc] - SELECT 
"fid",encode(ST_AsEWKB("the_geom"),'base64') as 
"the_geom","location","ingestion","elevation" FROM "public"."SENTINEL2" WHERE  
0 = 1
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting the_geom to POLYGON 
((446500 4685000, 446500 4820000, 620000 4820000, 620000 4685000, 446500 
4685000))
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting 0 to POLYGON 
((446500 4685000, 446500 4820000, 620000 4820000, 620000 4685000, 446500 
4685000))
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting location to 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting 1 to 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting ingestion to 
2018-07-13 02:00:00.0
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting 2 to 2018-07-13 
02:00:00.0
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting elevation to null
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Setting 3 to null
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - Inserting new feature with 
ps: INSERT INTO "public"."SENTINEL2" ( 
"the_geom","location","ingestion","elevation" ) VALUES ( ST_GeomFromWKB(?, 
32630),?,?,?)
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - 1 = POLYGON ((446500 
4685000, 446500 4820000, 620000 4820000, 620000 4685000, 446500 4685000))
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - 2 = 
S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - 3 = 2018-07-13 02:00:00.0
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - 4 = null
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - SELECT 
pg_get_serial_sequence('"public"."SENTINEL2"', 'fid')
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - SELECT 
currval('public."SENTINEL2_fid_seq"')
2019-03-22 08:17:07,958 DEBUG [org.geotools.gce.imagemosaic] - Done with file 
\\192.168.250.33\Resultados\PUBLICACION_GEOSERVER\SENTINEL2\S2A_USER_MSI_L2A_DS_MPS_20180713T110521625Z_RGB.ecw
2019-03-22 08:17:07,958 DEBUG [org.geotools.gce.imagemosaic] - Nothing to 
process!!!
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - SELECT 
ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM 
"public"."SENTINEL2"
2019-03-22 08:17:07,958 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION
2019-03-22 08:17:08,020 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation  
only.
2019-03-22 08:17:08,020 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation  
only.
2019-03-22 08:17:23,130 WARN [org.springframework.web.servlet.PageNotFound] - 
No mapping found for HTTP request with URI 
[/z98a/z98aStatics/rup/basic-theme/images/rup.separatorArrow.gif] in 
DispatcherServlet with name 'dispatcher'
2019-03-22 08:17:23,130 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation  
only.
2019-03-22 08:17:23,130 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation  
only.
2019-03-22 08:17:25,770 WARN [org.springframework.web.servlet.PageNotFound] - 
No mapping found for HTTP request with URI 
[/z98a/z98aStatics/rup/basic-theme/images/rup.separatorArrow.gif] in 
DispatcherServlet with name 'dispatcher'
2019-03-22 08:17:25,770 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation  
only.
2019-03-22 08:17:25,770 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to Interpolation  
only.

I've tried to increase the coverage access keep alive time, but I'm not sure 
it's herlping with this.

Thanks.

Regards.

Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua 
dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido 
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo 
ni conservarlo.
This message is personal and confidential, unauthorised use is legally 
prohibited. If you are not the intended recipient, delete it without resending 
or backing it.

-----Mensaje original-----
De: Humphries, Graham (StateGrowth) 
[mailto:graham.humphr...@stategrowth.tas.gov.au] 
Enviado el: miércoles, 20 de marzo de 2019 22:22
Para: David Alda Fernandez de Lezea; Daniele Romagnoli
CC: geoserver-users@lists.sourceforge.net
Asunto: RE: [Geoserver-users] ImageMosaic Harvesting Error

Do you have a statement, in your .NET code, that writes to the log file when 
the timeout occurs?

I would set this at WARN or ERROR so you can see if there is an ongoing issue.

Cheers,
Graham Humphries

-----Original Message-----
From: David Alda Fernandez de Lezea [mailto:da...@hazi.eus]
Sent: Thursday, 21 March 2019 1:45 AM
To: Daniele Romagnoli <daniele.romagn...@geo-solutions.it>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] ImageMosaic Harvesting Error

Hi,

I’m using rest API to re-harvest to collect all the images stored in a folder. 
These all images are ecw files while the ones that apparently work are tiff. 
Not sure if this has something to do with the problem though..

I developed a little .NET program to publish some images and to re-harvest the 
datastores. In the code I set the WebRequest timeout to the maximum value 
admitted, but I’m not sure when can happen the time-out..

Is there any particular log level that could clarify the error?

Thanks in advance.

Regards.

Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y 
Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren 
Arloa.
da...@hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 Hazi | Granja Modelo de Arkaute 
s/n | 01192 Arkaute – Araba

*********************  LEGE OHARRA   *******************   AVISOLEGAL   
*******************   DISCLAIMER   ***************************** Mezu hau 
pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago 
legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido 
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo 
ni conservarlo.
This message is personal and confidential, unauthorised use is legally 
prohibited. If you are not the intended recipient, delete it without resending 
or backing it.

De: Daniele Romagnoli [mailto:daniele.romagn...@geo-solutions.it]
Enviado el: viernes, 15 de marzo de 2019 11:58
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net
Asunto: Re: [Geoserver-users] ImageMosaic Harvesting Error

Dear David,
could you please provide more details on your steps?
How are you re-harvesting? (curl ? Are you harvesting a whole folder, a zip?)

Did you notice any "specific" time interval after that happens once you start 
the harvest? (thinking about some timeout occurring at some level)

Please, let us know.
Regards,
Daniele

On Mon, Mar 11, 2019 at 5:39 PM David Alda Fernandez de Lezea <da...@hazi.eus> 
wrote:
Hi list,

I’m having some isues whilwe re-harvesting data for an ImageMosaic datastore. I 
have several ones and the harvesting works as expected, but in this particular 
case I’m getting an error:

2019-03-11 14:44:01,302 DEBUG [geoserver.rest] - Exception while flushing and 
closing the entity stream.
org.apache.catalina.connector.ClientAbortException: java.net.SocketException: 
Connection reset by peer: socket write error
                at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:367)
                at 
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:331)
                at 
org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:101)
                at 
org.geoserver.filters.FlushSafeResponse$FlushSafeServletOutputStream.flush(FlushSafeResponse.java:64)
                at 
org.geoserver.monitor.MonitorServletResponse$MonitorOutputStream.flush(MonitorServletResponse.java:90)
                at 
com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:314)
                at 
com.noelios.restlet.ext.servlet.ServletCall.sendResponse(ServletCall.java:306)
                at 
org.geoserver.rest.GeoServerServletConverter.commit(GeoServerServletConverter.java:54)
                at 
com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:130)
                at 
org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:87)
                at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
                at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
                at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
                at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
                at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
                at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:436)
                at 
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:177)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
                at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
                at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
                at 
org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:138)
                at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
                at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
                at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
                at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
                at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
                at 
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
                at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
                at 
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
                at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
                at 
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
                at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
                at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
                at 
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
                at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
                at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
                at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
                at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
                at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
                at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
                at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
                at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
                at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
                at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
                at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
                at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
                at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
                at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
                at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.lang.Thread.run(Unknown Source) Caused by: 
java.net.SocketException: Connection reset by peer: socket write error
                at java.net.SocketOutputStream.socketWrite0(Native Method)
                at java.net.SocketOutputStream.socketWrite(Unknown Source)
                at java.net.SocketOutputStream.write(Unknown Source)
                at 
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
                at 
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
                at 
org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:119)
                at 
org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:800)
                at org.apache.coyote.Response.action(Response.java:172)
                at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:363)

It I supposed to collect around 2000 files. May a timeout cause this error? How 
can I solve it?

I’m working on GeoServer 2.8.

Thanks in advance.

Regards,

David .
_______________________________________________
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,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
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

________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.

_______________________________________________
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