NickAkincilar / QlikSense-Task-Failure-Email-Alerts

Automated email alerts for failed Qlikse Alerts
29 stars 5 forks source link

The operation has timed out #31

Closed armandfrigo closed 1 year ago

armandfrigo commented 2 years ago

Hi, Is there any possibilty to increase the timeout value when checking for failed tasks? We happen to have 3005 task at the moment in production. When the servers are busy I can imagine that they don't respond immediately to REST API calls. The check for failed tasks runs every 15 minutes and returns a successful value 1 time out of 4-6. Which means that we check for failed tasks every 15 minutes and we receive alerts every 60 to 90 minutes.

Error message: Time, LogLevel, Message 2022_04_05_11_30_02,Information,"Proxy: https://localhost" 2022_04_05_11_30_04,Information,"Looking for Failed Tasks..." 2022_04_05_11_31_04,Error,"System.Exception: Timeout: The operation has timed out at QVnextDemoBuilder.QRSNTLMWebClient.Get(String endpoint, Dictionary`2 queries) at QlikSenseJSONObjects.QlikSenseJSONHelper.GetDeletedUserList(QSTaskStatus status) at QlikSenseEmailAdmin.Program.Main(String[] args) " 2022_04_05_11_31_04,Information,"Returning Errorlevel 8"

armandfrigo commented 1 year ago

I have fixed this by increasing the timeout value.