GraphQL Interface reports "Unexpected end of JSON input"

GraphQL Interface reports "Unexpected end of JSON input"

Summary

The GraphQL Interface sometimes terminates data queries with an error. This has been fixed.

Description

The GraphQL Interface sometimes terminates data queries prematurely with the error message "Unexpected end of JSON input". The error seems to be related to the amount of data being queried.

Reason:

For all requests a 5 seconds timeout was set on the server side.  If the query takes longer, it results in an error message.

Solution:

The server side timeout has been removed. The GraphQL Interface service now uses the connector timeout configured in zenAnalyzer.ini for database queries. The default setting for the timeout is thus 5 minutes.

To benefit from this fix:

  • Update your zenon Software Platform to the latest build of zenon 11 or higher.



Item ID: 256966
Version: 11.00 Build: 109317