Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: The support homepage carousel is not displaying. We are working toward a resolution.

Error when running GeoOperation Simplify(): Connector reply error: grpc::StatusCode::CANCELLED: 'Received RST_STREAM with error code 8'

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Vicky_Z
Support
Support

Error when running GeoOperation Simplify(): Connector reply error: grpc::StatusCode::CANCELLED: 'Received RST_STREAM with error code 8'

Last Update:

May 10, 2022 1:31:28 PM

Updated By:

Jamie_Gregory

Created date:

Nov 11, 2021 5:52:12 PM

Running GeoOperation Simplify() in the script, the following error is received: 

Error when running GeoOperation Simplify(): Connector reply error: grpc::StatusCode::CANCELLED: 'Received RST_STREAM with error code 8'

 

article.png

 

Resolution

 

Option 1:

Reduce the records to be loaded to locate the particular one failing the script.  You may choose to discard or simplify the record.

 

Option 2:

Request the simplified data, for example,  lower resolution areas, from the Geodata provider

 

Option 3:

Simplify the Geo data beforehand with some tools, such as QGIS (desktop) https://qgis.org/ or GDAL (batch) https://gdal.org/.

 Note: These tools are developed by third party and Qlik does not provide support for these tools

 

Option 4:

Simplify the data at load or load simplify one record at the time in runtime, when the user selects one record using the GeoReduceGeometry() function.

The output is not as nice as Simplify, holes may occur. 

https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/GeospatialFunc...

Map:
LOAD Name,
GeoReduceGeometry(LocationPolygon, 0.5) as [ReducedArea]
resident MapSource Group By Name;

 

Cause

The error is triggered if the data being loaded is too detailed,  causing at least one of the rows to be larger than 4MB which causes the Sense Engine to fail it. Engine limits the size of a reply from a Server Side Extension to 4MB and the smallest reply that geo-operations can send back is a single row.

 

 

Environment

  • Qlik Enterprise SaaS with Geocoding

 

Labels (1)
Version history
Last update:
‎2022-05-10 01:31 PM
Updated by: