diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index b084509f5..1628cc49a 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1,3 +1,4 @@ - [cygnus-ngsi][arcgis] Log feature table error - [cygnus-ngsi][arcgis] fix log warn to debug level in arcgis feature when no object id is found (#2430) +- [cygnus-ngsi][arcgis] Add another check to connection reset when no java.net.SocketException has no cause (#2405) - [cygnus-ngsi] Upgrade Debian version from 12.6 to 12.7 in Dockerfile diff --git a/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/restutils/ArcgisFeatureTable.java b/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/restutils/ArcgisFeatureTable.java index b710b26cd..705e2e849 100644 --- a/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/restutils/ArcgisFeatureTable.java +++ b/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/restutils/ArcgisFeatureTable.java @@ -610,6 +610,8 @@ private void setError(Exception e) { connected = false; } LOGGER.error("Error Cause: " + e.getCause().getMessage()); + } else if (e != null && e.getMessage().contains("Connection reset")) { + connected = false; } LOGGER.error("Error Message: " + e.getMessage());