2 Replies Latest reply on Dec 15, 2019 8:41 PM by Divya Choudhary

    Tabpy connection is timeout after 30 seconds, even after changing the config file

    Divya Choudhary

      I am using tabpy to run a Machine learning model and send the results back to Tableau.

      The following message pops up in Tableau

      "

      Unable to complete action

      An error occurred while communicating with the External Service.

      User defined script timed out. Timeout is set to 30.0 s.

      "

       

      The tabpy console shows some more details like :

       

      2019-12-12,15:25:12 [ERROR] (base_handler.py:base_handler:120): User defined script timed out. Timeout is set to 30.0 s.

      None

      2019-12-12,15:25:12 [ERROR] (base_handler.py:base_handler:120): Responding with status=408, message="User defined script timed out. Timeout is set to 30.0 s.", info="None"

      2019-12-12,15:25:12 [WARNING] (web.py:web:1908): 408 POST /evaluate (::1) 30035.41ms

       

       

      I have changed the default timeout to 300 seconds in the config file using the link  TabPy/server-config.md at master · tableau/TabPy · GitHub

      But i still get the same error.

      Would be grateful to anyone who points me in the right direction to fix this.