Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
We have a Task which is replicating data from a LogStream into a PostgreSQL. After a couple of Minutes or even after an hour the task fails with the following error.
We expect that the underlying Infrstructure is not 100% available, but I would expect that there would be some kind of retry mechanism.
We configured the following Error Handlers: Environmental Errors Handling Policy, Data Errors Handling Policy and Table Errors Handling Policy
Is it possible to configure a retry for this kind of error (invalid socket)
Best Regards
Christoph
Hello Christoph @chris_s ,
Thanks for reaching out to Qlik Community!
We might set the error handling to attempt given number of retry or infinite retry as below example:
However I strongly suggest to solve the "invalid socket" rather than rely on the retry as the error and retry may introduce latency issues.
There are many factors may lead the same "invalid socket" error, eg connection error, PostgreSQL server crash, firewall killed connections, server closed the connection unexpectedly, timeout occurs, or even data error etc. Please set TARGET_LOAD to Verbose, recreate the error and check the task log file to understand the root cause. Maybe you also need to decrypt the task log.
Hope this helps.
John.