5 Replies Latest reply on Sep 13, 2018 7:25 AM by Matt Coles

    Error instantiating alerts from list obtained from server: 'task_threads'

    obed57

      Hello,

       

      Migrating a tableau server environment and configuring vizalerts on the new one, i get error below.

       

      To add some context around that, here’s the command ran to get the error and the output. Error highlighted in yellow.

       

      Thanks

       

       

      d:\VizAlerts>vizalerts.exe

      2018-09-11 13:21:09 - [INFO] - Logging initialized, writing to .\logs\vizalerts.log_2018-09-11.log

      2018-09-11 13:21:09 - [INFO] - VizAlerts v2.1.0 is starting

      2018-09-11 13:21:09 - [DEBUG] - testing trusted ticket: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, None

      2018-09-11 13:21:09 - [DEBUG] - Generating trusted ticket. Request details: Server: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Site: , Username: xxxxxxxxx, Url: https:xxxxxxxxxxxxxxxxxxxxxxxxxxx/trusted, Postdata: username=xxxxxxxxxxxxxxx%5xxxxxxxxxxxx.

      2018-09-11 13:21:09 - [DEBUG] - using SSL and NOT verifying cert

      2018-09-11 13:21:09 - [DEBUG] - Got ticket: xxxxxxxxxxxxxxxxxxxxxxxx

      2018-09-11 13:21:09 - [DEBUG] - Generated test trusted ticket. Value is: xxxxxxxxxxxxxxxxxxxxx

      2018-09-11 13:21:09 - [DEBUG] - Pulling source viz data down

      2018-09-11 13:21:09 - [DEBUG] - Generating trusted ticket. Request details: Server: xxxxxxxxxxxxxxxxxxxxxxxxx, Site: , Username: xxxxxxxx, Url: https:xxxxxxxxxxxxxxxxxxxxxxxxxxx/trusted, Postdata: username=xxxxxxxxxxxxx.

      2018-09-11 13:21:09 - [DEBUG] - using SSL and NOT verifying cert

      2018-09-11 13:21:09 - [DEBUG] - Got ticket: xxxxxxxxxxxxxxxxxxxxxxx

      2018-09-11 13:21:09 - [DEBUG] - Getting vizdata from: https:xxxxxxxxxxxxxxxxxxxxxxxxxxx/trustes/VizAlertsConfig/ScheduledTriggerViews?&:format=csv&:refresh=y

      2018-09-11 13:21:09 - [DEBUG] - NOT Validating cert for this request

      2018-09-11 13:21:09 - [INFO] - Starting new HTTPS connection (1): https:xxxxxxxxxxxxxxxxxxxxxxxxxxx/truste

      2018-09-11 13:21:10 - [DEBUG] - "GET /trusted/N8RUi_MokEtnt03xvezTe8Lp/views/VizAlertsConfig/ScheduledTriggerViews?&:format=csv&:refresh=y HTTP/1.1" 302 0

      2018-09-11 13:21:10 - [DEBUG] - "GET /views/VizAlertsConfig/ScheduledTriggerViews?&:format=csv&:refresh=y&:embed=y HTTP/1.1" 200 7316

      2018-09-11 13:21:10 - [INFO] - Attempting to write to: .\temp\20180911132110554000_MainThread_VizAlertsConfig-ScheduledTriggerViews.csv

      2018-09-11 13:21:10 - [ERROR] - Error instantiating alerts from list obtained from server: 'task_threads'

      2018-09-11 13:21:10 - [INFO] - sending email: xxxxxxxxxxxxxxxxxxxx,None,None,ALERT: VizAlerts failed to execute properly,None

      2018-09-11 13:21:10 - [DEBUG] - email body: Error instantiating alerts from list obtained from server: 'task_threads'

      2018-09-11 13:21:10 - [DEBUG] - TO ADDRESS: xxxxxxxxxxxxxxxxxxx

      2018-09-11 13:21:10 - [DEBUG] - CC ADDRESS: None

      2018-09-11 13:21:10 - [DEBUG] - BCC ADDRESS: None

      2018-09-11 13:21:10 - [ERROR] - An unhandled exception occurred: Traceback (most recent call last):

      File "vizalerts.py", line 488, in <module>

        File "vizalerts.py", line 143, in main

        File "vizalerts.py", line 380, in get_alerts

        File "vizalerts.py", line 474, in quit_script

      SystemExit: 1

      Traceback (most recent call last):

        File "vizalerts.py", line 488, in <module>

        File "vizalerts.py", line 143, in main

        File "vizalerts.py", line 380, in get_alerts

        File "vizalerts.py", line 474, in quit_script

      SystemExit: 1

       

      d:\VizAlerts>