3 Replies Latest reply on May 14, 2019 9:41 PM by Matt Coles

    VizAlerts on Tableau Server 10.5 Windows machine

    yiyin ma

      Hello Matt,

       

      I am having 2 errors as below highlighted, not sure if you have time to advise or not. Much appreciated and thanks in advance !!!

       

      So i am setting up VizAlerts in my tableau Dev env now, the env i have:

      1. windows box

      2. local authentication (we actually have openID enabled in Production, not sure if VizAlerts works fine with oauth too ?)

       

      And this is my VizAlerts config file:

       

      # Tableau Server settings

      server: localhost:8000              ### i used localhost here coz our ELB is on HTTPS, please correct me if I'm wrong.

      server.version: 10                          

      server.user: 'Tableau_Admin'           

      server.user.domain: null                     

       

       

      Details in .\logs\vizalerts.log_2019-05-09.log:

       

      MainThread - 2019-05-09 15:48:00 - [INFO] - LoggerQuickSetup - Logging initialized, writing to .\logs\vizalerts.log_2019-05-09.log

      MainThread - 2019-05-09 15:48:00 - [INFO] - main - VizAlerts v2.1.1 is starting

      MainThread - 2019-05-09 15:48:00 - [DEBUG] - trusted_ticket_test - testing trusted ticket: localhost:8000, Tableau_Admin, None, None

      MainThread - 2019-05-09 15:48:00 - [DEBUG] - get_trusted_ticket - Generating trusted ticket. Request details: Server: localhost:8000, Site: , Username: Tableau_Admin, Url: http://localhost:8000/trusted, Postdata: username=Tableau_Admin.

      MainThread - 2019-05-09 15:48:00 - [DEBUG] - get_trusted_ticket - NOT using SSL and NOT verifying cert

      MainThread - 2019-05-09 15:48:01 - [DEBUG] - get_trusted_ticket - Got ticket: -1

      MainThread - 2019-05-09 15:48:01 - [ERROR] - get_trusted_ticket - Error generating trusted ticket. Value of ticket is -1.  Please see http://onlinehelp.tableau.com/current/server/en-us/trusted_auth_trouble_1return.htm Request details:

      MainThread - 2019-05-09 15:48:01 - [ERROR] - get_trusted_ticket - UserWarning generating trusted ticket: Error generating trusted ticket. Value of ticket is -1.  Please see http://onlinehelp.tableau.com/current/server/en-us/trusted_auth_trouble_1return.htm Request details:  Request details: Server: localhost:8000, Site: , Username: Tableau_Admin, Url: http://localhost:8000/trusted, Postdata: username=Tableau_Admin.

      MainThread - 2019-05-09 15:48:01 - [ERROR] - trusted_ticket_test - UserWarning generating trusted ticket: Error generating trusted ticket. Value of ticket is -1.  Please see http://onlinehelp.tableau.com/current/server/en-us/trusted_auth_trouble_1return.htm Request details:  Request details: Server: localhost:8000, Site: , Username: Tableau_Admin, Url: http://localhost:8000/trusted, Postdata: username=Tableau_Admin.

      MainThread - 2019-05-09 15:48:01 - [INFO] - send_email - sending email: email-smtp.****.amazonaws.com,no-reply@****.com,yiyin.ma@****.com,None,None,Testing ! ALERT: VizAlerts failed to execute properly,None

      MainThread - 2019-05-09 15:48:01 - [DEBUG] - send_email - email body: UserWarning generating trusted ticket: Error generating trusted ticket. Value of ticket is -1.  Please see http://onlinehelp.tableau.com/current/server/en-us/trusted_auth_trouble_1return.htm Request details:  Request details: Server: localhost:8000, Site: , Username: Tableau_Admin, Url: http://localhost:8000/trusted, Postdata: username=Tableau_Admin.

      MainThread - 2019-05-09 15:48:01 - [DEBUG] - send_email - TO ADDRESS: yiyin.ma@****.com

      MainThread - 2019-05-09 15:48:01 - [DEBUG] - send_email - CC ADDRESS: None

      MainThread - 2019-05-09 15:48:01 - [DEBUG] - send_email - BCC ADDRESS: None

      MainThread - 2019-05-09 15:48:02 - [ERROR] - send_email - Email failed to send; there was an issue authenticating to SMTP server: (530, 'Must issue a STARTTLS command first')

      MainThread - 2019-05-09 15:48:02 - [ERROR] - quit_script - Unknown error-sending exception alert email:

      MainThread - 2019-05-09 15:48:02 - [ERROR] - <module> - An unhandled exception occurred: Traceback (most recent call last):

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

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

        File "vizalerts.py", line 205, in trusted_ticket_test

        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 129, in main

        File "vizalerts.py", line 205, in trusted_ticket_test

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

      SystemExit: 1